Skip to content

Commit cc71098

Browse files
authored
Remove Hoe, 2.9.3 (#122)
1 parent 51d2475 commit cc71098

File tree

11 files changed

+58
-105
lines changed

11 files changed

+58
-105
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ tmp
33
pkg
44
doc
55
Gemfile.lock
6+
vendor

.hoeignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
source 'https://rubygems.org'
22
gem 'rake', '~> 10.5'
3-
gem 'hoe', '~> 3.14'
43

54
gem 'minitest', :group => :test
65

History.txt renamed to History.md

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,41 @@
1-
=== 2.9.2 / 2021-10-10
1+
### 2.9.3 / 2022-01-25
2+
3+
* Bug fix
4+
* All warmups and benchmarks must run at least once
5+
6+
### 2.9.2 / 2021-10-10
27

38
* Bug fix
49
* Fix a problem with certain configs of quiet mode
510

6-
=== 2.9.1 / 2021-05-24
11+
### 2.9.1 / 2021-05-24
712

813
* Bug fix
914
* Include all files in gem
1015

11-
=== 2.9.0 / 2021-05-21
16+
### 2.9.0 / 2021-05-21
1217

1318
* Features
1419
* Suite can now be set via an accessor
1520
* Default SHARE_URL is now `ips.fastruby.io`, operated by Ombu Labs.
1621

17-
=== 2.8.4 / 2020-12-03
22+
### 2.8.4 / 2020-12-03
1823

1924
* Bug fix
2025
* Fixed hold! when results file does not exist.
2126

22-
=== 2.8.3 / 2020-08-28
27+
### 2.8.3 / 2020-08-28
2328

2429
* Bug fix
2530
* Fixed inaccuracy caused by integer overflows.
2631

27-
=== 2.8.2 / 2020-05-04
32+
### 2.8.2 / 2020-05-04
2833

2934
* Bug fix
3035
* Fixed problems with Manifest.txt.
3136
* Empty interim results files are ignored.
3237

33-
=== 2.8.0 / 2020-05-01
38+
### 2.8.0 / 2020-05-01
3439

3540
* Feature
3641
* Allow running with empty ips block.
@@ -43,16 +48,16 @@
4348
* Added some RDoc docs.
4449
* Added some examples in examples/
4550

46-
=== 2.7.2 / 2016-08-18
51+
### 2.7.2 / 2016-08-18
4752

4853
* 1 bug fix:
4954
* Restore old accessors. Fixes #76
5055

51-
=== 2.7.1 / 2016-08-08
56+
### 2.7.1 / 2016-08-08
5257

5358
Add missing files
5459

55-
=== 2.7.0 / 2016-08-05
60+
### 2.7.0 / 2016-08-05
5661

5762
* 1 minor features:
5863
* Add support for confidence intervals
@@ -69,9 +74,9 @@ Add missing files
6974
* Merge pull request #67 from benoittgt/master
7075
* Merge pull request #69 from chrisseaton/kalibera-confidence-intervals
7176

72-
=== MISSING 2.6.0 and 2.6.1
77+
### MISSING 2.6.0 and 2.6.1
7378

74-
=== 2.5.0 / 2016-02-14
79+
### 2.5.0 / 2016-02-14
7580

7681
* 1 minor feature:
7782
* Add iterations option.
@@ -83,12 +88,12 @@ Add missing files
8388
* Merge pull request #58 from chrisseaton/iterations
8489
* Merge pull request #60 from chrisseaton/significance
8590

86-
=== 2.4.1 / 2016-02-12
91+
### 2.4.1 / 2016-02-12
8792

8893
* 1 bug fix:
8994
* Add missing files to gem
9095

91-
=== 2.4.0 / 2016-02-12
96+
### 2.4.0 / 2016-02-12
9297

9398
* 1 minor features
9499
* Add support for hold! and independent invocations.
@@ -123,7 +128,7 @@ Add missing files
123128
* Merge pull request #56 from chrisseaton/independence
124129
* Merge pull request #57 from chrisseaton/tighten-loop
125130

126-
=== 2.3.0 / 2015-07-20
131+
### 2.3.0 / 2015-07-20
127132

128133
* 2 minor features:
129134
* Support keyword arguments
@@ -137,7 +142,7 @@ Add missing files
137142
* Merge pull request #42 from kbrock/newer_travis
138143
* Merge pull request #43 from kbrock/non_to_s_labels
139144

140-
=== 2.2.0 / 2015-05-09
145+
### 2.2.0 / 2015-05-09
141146

142147
* 1 minor features:
143148
* Fix quiet mode
@@ -161,7 +166,7 @@ Add missing files
161166
* Merge pull request #29 from JuanitoFatas/feature/json-export
162167
* Merge pull request #26 from JuanitoFatas/feature/takes-symbol-as-report-parameter
163168

164-
=== 2.1.1 / 2015-01-12
169+
### 2.1.1 / 2015-01-12
165170

166171
* 1 minor fix:
167172
* Don't send label through printf so that % work directly
@@ -175,7 +180,7 @@ Add missing files
175180
* 1 PR merged:
176181
* Merge pull request #24 from zzak/simple-format-result-description
177182

178-
=== 2.1.0 / 2014-11-10
183+
### 2.1.0 / 2014-11-10
179184

180185
* Documentation changes:
181186
* Many documentation fixes by Juanito Fatas!
@@ -186,7 +191,7 @@ Add missing files
186191
* Formatting of large values improved (human vs raw mode)
187192
* Contributed by Charles Oliver Nutter
188193

189-
=== 2.0.0 / 2014-06-18
194+
### 2.0.0 / 2014-06-18
190195

191196
* The 'Davy Stevenson' release!
192197
* Codename: Springtime Hummingbird Dance
@@ -204,7 +209,7 @@ Add missing files
204209
* Zachary Scott
205210
* schneems (Richard Schneeman)
206211

207-
=== 1.0.0 / 2012-03-23
212+
### 1.0.0 / 2012-03-23
208213

209214
* 1 major enhancement
210215

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2015 Evan Phoenix
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
'Software'), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Manifest.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -254,27 +254,3 @@ After checking out the source, run:
254254
This task will install any missing dependencies, run the tests/specs,
255255
and generate the RDoc.
256256

257-
## LICENSE:
258-
259-
(The MIT License)
260-
261-
Copyright (c) 2015 Evan Phoenix
262-
263-
Permission is hereby granted, free of charge, to any person obtaining
264-
a copy of this software and associated documentation files (the
265-
'Software'), to deal in the Software without restriction, including
266-
without limitation the rights to use, copy, modify, merge, publish,
267-
distribute, sublicense, and/or sell copies of the Software, and to
268-
permit persons to whom the Software is furnished to do so, subject to
269-
the following conditions:
270-
271-
The above copyright notice and this permission notice shall be
272-
included in all copies or substantial portions of the Software.
273-
274-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
275-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
276-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
277-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
278-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
279-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
280-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Rakefile

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,15 @@
11
# -*- ruby -*-
22

3-
require 'rubygems'
4-
require 'hoe'
3+
require "bundler/setup"
4+
require "rake/testtask"
5+
require "rubygems/package_task"
6+
require "bundler/gem_tasks"
57

6-
Hoe.plugin :minitest
7-
Hoe.plugin :git
8-
Hoe.plugin :ignore
8+
gemspec = Gem::Specification.load("benchmark-ips.gemspec")
9+
Gem::PackageTask.new(gemspec).define
910

10-
hoe = Hoe.spec 'benchmark-ips' do
11-
developer('Evan Phoenix', '[email protected]')
12-
13-
self.readme_file = 'README.md'
14-
15-
license "MIT"
16-
end
17-
18-
file "#{hoe.spec.name}.gemspec" => ['Rakefile', "lib/benchmark/ips.rb"] do |t|
19-
puts "Generating #{t.name}"
20-
File.open(t.name, 'wb') { |f| f.write hoe.spec.to_ruby }
21-
end
22-
23-
desc "Generate or update the standalone gemspec file for the project"
24-
task :gemspec => ["#{hoe.spec.name}.gemspec"]
11+
Rake::TestTask.new(:test)
2512

13+
task default: :test
2614

2715
# vim: syntax=ruby

benchmark-ips.gemspec

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,27 @@ Gem::Specification.new do |s|
1818
s.date = "2015-01-12"
1919
s.description = "A iterations per second enhancement to Benchmark."
2020
s.email = ["[email protected]"]
21-
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.md"]
22-
s.files = [".autotest", ".gemtest", "History.txt", "Manifest.txt", "README.md", "Rakefile", "lib/benchmark/compare.rb", "lib/benchmark/ips.rb", "lib/benchmark/ips/job.rb", "lib/benchmark/ips/report.rb", "lib/benchmark/timing.rb", "test/test_benchmark_ips.rb"]
21+
s.extra_rdoc_files = ["History.md", "LICENSE", "README.md"]
22+
s.files = `git ls-files -- examples lib`.split("\n") +
23+
%w[History.md LICENSE README.md]
2324
s.homepage = "https://github.com/evanphx/benchmark-ips"
2425
s.licenses = ["MIT"]
2526
s.rdoc_options = ["--main", "README.md"]
2627
s.rubygems_version = "2.2.2"
2728
s.summary = "A iterations per second enhancement to Benchmark."
28-
s.test_files = ["test/test_benchmark_ips.rb"]
2929

3030
if s.respond_to? :specification_version then
3131
s.specification_version = 4
3232

3333
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
3434
s.add_development_dependency(%q<minitest>, ["~> 5.4"])
3535
s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
36-
s.add_development_dependency(%q<hoe>, ["~> 3.13"])
3736
else
3837
s.add_dependency(%q<minitest>, ["~> 5.4"])
3938
s.add_dependency(%q<rdoc>, ["~> 4.0"])
40-
s.add_dependency(%q<hoe>, ["~> 3.13"])
4139
end
4240
else
4341
s.add_dependency(%q<minitest>, ["~> 5.4"])
4442
s.add_dependency(%q<rdoc>, ["~> 4.0"])
45-
s.add_dependency(%q<hoe>, ["~> 3.13"])
4643
end
4744
end

lib/benchmark/ips.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module Benchmark
1818
module IPS
1919

2020
# Benchmark-ips Gem version.
21-
VERSION = "2.9.2"
21+
VERSION = "2.9.3"
2222

2323
# CODENAME of current version.
2424
CODENAME = "Sleepy Sasquatch"

test/test_benchmark_ips.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ def teardown
1313
$stdout = @old_stdout
1414
end
1515

16-
def test_all_lib_files_are_included_in_manifest
17-
project_root = File.expand_path('../..', __FILE__)
18-
manifest = File.readlines("#{project_root}/Manifest.txt").map(&:chomp)
19-
lib_files = Dir["#{project_root}/lib/**/*.rb"].map { |path| path.sub("#{project_root}/", '') }
20-
lib_files.each { |lib_file| assert_includes manifest, lib_file }
21-
end
22-
2316
def test_kwargs
2417
Benchmark.ips(:time => 0.001, :warmup => 0.001, :quiet => false) do |x|
2518
x.report("sleep 0.25") { sleep(0.25) }

0 commit comments

Comments
 (0)