minitest-gcstats 1.1.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e934b4bc7ea0b03bf24a93a559b430fedded0684
4
- data.tar.gz: 10a52ed10df4f64515867a4174b5d7901af26060
2
+ SHA256:
3
+ metadata.gz: 18da434e843b23c6fc0fa45a865681afeafad449b7cc53d80bdfcfbef4545900
4
+ data.tar.gz: 4cc273bbd7bbbfd43038fd046d24bb3e6f2f8192cc5bb0bdac015eb608c7bc73
5
5
  SHA512:
6
- metadata.gz: c8bbd313972599e4c742574f6e4a8ebcdfd026f506f81c5d2cf8e2e8fa0494991f7d3a99827f391e0d32b1225f2b28e0c7d99b7f9cf2484e5d959047a894a476
7
- data.tar.gz: 46229689d74458d2e28b0a6c733dc9b7f090f890a592fde75fb1b54edb192ad1456e94df427c9bef2ca9da8a44836b74736ed3d32237ef8ce85222c825bc2cb7
6
+ metadata.gz: 961cd9d0d7e9f4b3edd4c00c81db1b78e164de572e214c8a179a324ecea451debd912efc2890fbb2176938e2135296e1aac2ad9055b62b02ab2626c969bfbc9b
7
+ data.tar.gz: 27bc5c7c452a1fe2e95216224fc672552f8ca4e5d0d800ae0e44d5773648ce1c58a9dd53bcf9f6962a524f2f675f4c7dd76a67462fd418dfc9a11434b3860dd4
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,3 +1,37 @@
1
+ === 1.3.0 / 2021-10-27
2
+
3
+ This is release 1024!?!
4
+
5
+ * 1 minor enhancement:
6
+
7
+ * Switched to prepending GCStats in and overriding run to record. Helps w/ 3.0.
8
+
9
+ * 1 bug fix:
10
+
11
+ * MOSTLY Fixed testing for ruby 3.0, which allocates inline cache in GC
12
+
13
+ === 1.2.2 / 2016-06-13
14
+
15
+ * 1 bug fix:
16
+
17
+ * Added minitest-proveit developer dependency to help with minitest/hell gauntlet.
18
+
19
+ === 1.2.1 / 2015-05-28
20
+
21
+ * 1 bug fix:
22
+
23
+ * Remove deprecation warning in ruby 2.2. (filipegiusti)
24
+
25
+ === 1.2.0 / 2015-05-06
26
+
27
+ * 1 minor enhancement:
28
+
29
+ * Added assert_allocations to verify the number of objects allocated in tests.
30
+
31
+ * 1 bug fix:
32
+
33
+ * Fixed dependencies
34
+
1
35
  === 1.1.0 / 2014-09-26
2
36
 
3
37
  * 1 minor enhancement:
data/Rakefile CHANGED
@@ -3,15 +3,21 @@
3
3
  require "rubygems"
4
4
  require "hoe"
5
5
 
6
- Hoe.plugin :isolate
7
6
  Hoe.plugin :seattlerb
8
7
  Hoe.plugin :rdoc
8
+ Hoe.plugin :isolate
9
9
 
10
10
  Hoe.add_include_dirs "../../minitest/dev/lib"
11
11
 
12
12
  Hoe.spec "minitest-gcstats" do
13
13
  developer "Ryan Davis", "ryand-ruby@zenspider.com"
14
14
  license "MIT"
15
+
16
+ dependency "minitest", "~> 5.0"
17
+ dependency "rake", "< 11", :developer
18
+ dependency "minitest-proveit", "~> 1.0", :developer
19
+
20
+ multiruby_skip << '1.8'
15
21
  end
16
22
 
17
23
  # vim: syntax=ruby
@@ -1,24 +1,35 @@
1
1
  require "minitest"
2
2
 
3
3
  module Minitest::GCStats
4
- VERSION = "1.1.0"
4
+ VERSION = "1.3.0"
5
5
 
6
6
  attr_accessor :gc_stats
7
7
 
8
8
  HASH = {}
9
9
 
10
10
  begin
11
- GC.stat :total_allocated_object
12
-
13
- def self.current
14
- GC.stat :total_allocated_object
11
+ if GC.stat[:total_allocated_objects] then # ruby 2.2
12
+ def self.current
13
+ GC.stat :total_allocated_objects
14
+ end
15
+ else # ruby 2.1
16
+ GC.stat :total_allocated_object # force raise
17
+ def self.current
18
+ GC.stat :total_allocated_object
19
+ end
15
20
  end
16
21
  rescue TypeError
17
- def self.current
22
+ def self.current # ruby 2.0
18
23
  GC.stat(HASH)[:total_allocated_object]
19
24
  end
20
25
  end
21
26
 
27
+ def run
28
+ r = super
29
+ r.gc_stats = self.gc_stats
30
+ r
31
+ end
32
+
22
33
  def before_setup
23
34
  super
24
35
  self.gc_stats = -Minitest::GCStats.current
@@ -30,6 +41,39 @@ module Minitest::GCStats
30
41
  end
31
42
  end
32
43
 
44
+ class Minitest::Result
45
+ attr_accessor :gc_stats
46
+ end
47
+
48
+ Minitest::Test.prepend Minitest::GCStats
49
+
50
+ module Minitest::Assertions
51
+ ##
52
+ # Assert that the number of object allocations during block
53
+ # execution is what you think it is. Uses +assert_operator+ so +op+
54
+ # should be something like :== or :<=. Defaults to :==.
55
+ #
56
+ # assert_allocations 3 do ... end
57
+ #
58
+ # is equivalent to:
59
+ #
60
+ # assert_allocations :==, 3 do ... end
61
+
62
+ def assert_allocations op_or_exp, exp = nil, msg = nil
63
+ m0 = Minitest::GCStats.current
64
+ yield
65
+ m1 = Minitest::GCStats.current
66
+
67
+ op = op_or_exp
68
+ op, exp, msg = :==, op, exp if Integer === op
69
+
70
+ act = m1 - m0
71
+ msg ||= "Object allocations"
72
+
73
+ assert_operator act, op, exp, msg
74
+ end
75
+ end
76
+
33
77
  class Minitest::GCStatsReporter < Minitest::AbstractReporter
34
78
  attr_accessor :stats, :max
35
79
 
@@ -13,7 +13,6 @@ module Minitest
13
13
  if @gcstats then
14
14
  require "minitest/gcstats"
15
15
  self.reporter << Minitest::GCStatsReporter.new(@gcstats)
16
- Minitest::Test.send :include, Minitest::GCStats
17
16
  end
18
17
  end
19
18
  end
@@ -1,349 +1,105 @@
1
1
  require "minitest/autorun"
2
+ require "minitest/gcstats"
3
+ require "minitest/proveit"
2
4
 
3
5
  module TestMinitest; end
4
6
 
5
7
  class TestMinitest::TestGcstats < Minitest::Test
6
- def test_empty
7
- # 0 objects
8
- end
9
-
10
- def test_full
11
- Object.new # 1 object
12
- end
13
-
14
- def test_assert
15
- assert :woot
16
- end
17
-
18
- def test_assert_bad
19
- assert nil
20
- rescue Minitest::Assertion
21
- # do nothing
22
- end
23
-
24
- def test_assert_empty
25
- assert_empty []
26
- end
27
-
28
- def test_assert_empty_bad
29
- assert_empty [42]
30
- rescue Minitest::Assertion
31
- # do nothing
32
- end
33
-
34
- def test_assert_equal
35
- assert_equal :a, :a
36
- end
37
-
38
- def test_assert_equal_bad
39
- assert_equal :a, :b
40
- rescue Minitest::Assertion
41
- # do nothing
42
- end
43
-
44
- def test_assert_in_delta
45
- assert_in_delta 1.0, 1.0001
46
- end
47
-
48
- def test_assert_in_delta_bad
49
- assert_in_delta 1.0, 1.1
50
- rescue Minitest::Assertion
51
- # do nothing
52
- end
53
-
54
- def test_assert_in_epsilon
55
- assert_in_epsilon 1.0, 1.001
56
- end
57
-
58
- def test_assert_in_epsilon_bad
59
- assert_in_epsilon 1.0, 1.1
60
- rescue Minitest::Assertion
61
- # do nothing
62
- end
8
+ self.prove_it = false
63
9
 
64
- def test_assert_includes
65
- assert_includes [:a, :woot, :c], :woot
10
+ def util_n_times_full n
11
+ n.times { test_full }
66
12
  end
67
13
 
68
- def test_assert_includes_bad
69
- assert_includes [:a, :woot, :c], :b
70
- rescue Minitest::Assertion
71
- # do nothing
14
+ def util_array
15
+ [test_full]
72
16
  end
73
17
 
74
- def test_assert_instance_of
75
- assert_instance_of Symbol, :woot
76
- end
77
-
78
- def test_assert_instance_of_bad
79
- assert_instance_of Array, :woot
80
- rescue Minitest::Assertion
81
- # do nothing
82
- end
83
-
84
- def test_assert_kind_of
85
- assert_kind_of Symbol, :woot
86
- end
87
-
88
- def test_assert_kind_of_bad
89
- assert_kind_of Array, :woot
90
- rescue Minitest::Assertion
91
- # do nothing
92
- end
18
+ def setup
19
+ util_n_times_full 1 # warm
93
20
 
94
- def test_assert_match
95
- assert_match(/woot/, "woot")
96
- end
97
-
98
- def test_assert_match_bad
99
- assert_match(/woot/, "blah")
100
- rescue Minitest::Assertion
101
- # do nothing
102
- end
103
-
104
- def test_assert_nil
105
- assert_nil nil
106
- end
107
-
108
- def test_assert_nil_bad
109
- assert_nil true
110
- rescue Minitest::Assertion
111
- # do nothing
112
- end
113
-
114
- def test_assert_operator
115
- assert_operator [:a], :include?, :a
116
- end
117
-
118
- def test_assert_operator_bad
119
- assert_operator [:b], :include?, :a
120
- rescue Minitest::Assertion
121
- # do nothing
122
- end
123
-
124
- def test_assert_output
125
- assert_output "woot\n" do
126
- puts "woot"
21
+ assert_allocations :<, 99 do
22
+ # warm it up
127
23
  end
128
24
  end
129
25
 
130
- def test_assert_output_bad
131
- assert_output "woot" do
132
- # do nothing
133
- end
134
- rescue Minitest::Assertion
135
- # do nothing
136
- end
137
-
138
- def test_assert_predicate
139
- assert_predicate "", :empty?
26
+ def test_empty
27
+ # 0 objects
140
28
  end
141
29
 
142
- def test_assert_predicate_bad
143
- assert_predicate "woot", :empty?
144
- rescue Minitest::Assertion
145
- # do nothing
30
+ def test_full
31
+ Object.new # 1 object
146
32
  end
147
33
 
148
- def test_assert_raises
149
- assert_raises RuntimeError do
150
- raise "woot"
34
+ def test_assert_allocations
35
+ assert_allocations 1 do
36
+ test_full
151
37
  end
152
38
  end
153
39
 
154
- def test_assert_raises_bad
155
- assert_raises RuntimeError do
156
- # do nothing
40
+ def test_assert_allocations_0
41
+ assert_allocations 0 do
42
+ # nothing
157
43
  end
158
- rescue Minitest::Assertion
159
- # do nothing
160
- end
161
-
162
- def test_assert_respond_to
163
- assert_respond_to :a, :empty?
164
- end
165
-
166
- def test_assert_respond_to_bad
167
- assert_respond_to :a, :full?
168
- rescue Minitest::Assertion
169
- # do nothing
170
- end
171
-
172
- def test_assert_same
173
- assert_same :a, :a
174
- end
175
-
176
- def test_assert_same_bad
177
- assert_same :a, :b
178
- rescue Minitest::Assertion
179
- # do nothing
180
44
  end
181
45
 
182
- def test_assert_silent
183
- assert_silent do
184
- # do nothing
46
+ def test_assert_allocations_multi
47
+ assert_allocations 3 do
48
+ util_n_times_full 3
185
49
  end
186
50
  end
187
51
 
188
- def test_assert_silent_bad
189
- assert_silent do
190
- puts "woot"
52
+ def test_assert_allocations_multi_eq
53
+ assert_allocations :==, 3 do
54
+ util_n_times_full 3
191
55
  end
192
- rescue Minitest::Assertion
193
- # do nothing
194
56
  end
195
57
 
196
- def test_assert_throws
197
- assert_throws :woot do
198
- throw :woot
58
+ def test_assert_allocations_neg_lt
59
+ assert_allocations :<=, 3 do
60
+ util_n_times_full 2
199
61
  end
200
62
  end
201
63
 
202
- def test_assert_throws_bad
203
- assert_throws :woot do
204
- # do nothing
64
+ def test_assert_allocations_neg_eq
65
+ assert_allocations :<=, 3 do
66
+ util_n_times_full 3
205
67
  end
206
- rescue Minitest::Assertion
207
- # do nothing
208
- end
209
-
210
- def test_refute
211
- refute false
212
- end
213
-
214
- def test_refute_bad
215
- refute true
216
- rescue Minitest::Assertion
217
- # do nothing
218
- end
219
-
220
- def test_refute_empty
221
- refute_empty [:a]
222
- end
223
-
224
- def test_refute_empty_bad
225
- refute_empty []
226
- rescue Minitest::Assertion
227
- # do nothing
228
- end
229
-
230
- def test_refute_equal
231
- refute_equal :a, :b
232
- end
233
-
234
- def test_refute_equal_bad
235
- refute_equal :a, :a
236
- rescue Minitest::Assertion
237
- # do nothing
238
- end
239
-
240
- def test_refute_in_delta
241
- refute_in_delta 1.0, 1.1
242
- end
243
-
244
- def test_refute_in_delta_bad
245
- refute_in_delta 1.0, 1.0001
246
- rescue Minitest::Assertion
247
- # do nothing
248
- end
249
-
250
- def test_refute_in_epsilon
251
- refute_in_epsilon 1.0, 1.1
252
- end
253
-
254
- def test_refute_in_epsilon_bad
255
- refute_in_epsilon 1.0, 1.001
256
- rescue Minitest::Assertion
257
- # do nothing
258
68
  end
259
69
 
260
- def test_refute_includes
261
- refute_includes [:a, :woot, :c], :b
262
- end
263
-
264
- def test_refute_includes_bad
265
- refute_includes [:a, :woot, :c], :woot
266
- rescue Minitest::Assertion
267
- # do nothing
268
- end
269
-
270
- def test_refute_instance_of
271
- refute_instance_of Array, :a
272
- end
273
-
274
- def test_refute_instance_of_bad
275
- refute_instance_of Symbol, :a
276
- rescue Minitest::Assertion
277
- # do nothing
278
- end
279
-
280
- def test_refute_kind_of
281
- refute_kind_of Array, :woot
282
- end
283
-
284
- def test_refute_kind_of_bad
285
- refute_kind_of Symbol, :woot
286
- rescue Minitest::Assertion
287
- # do nothing
288
- end
289
-
290
- def test_refute_match
291
- refute_match(/woot/, "blah")
292
- end
293
-
294
- def test_refute_match_bad
295
- refute_match(/woot/, "woot")
296
- rescue Minitest::Assertion
297
- # do nothing
298
- end
70
+ def assert_triggered expected, klass = Minitest::Assertion
71
+ e = assert_raises klass do
72
+ yield
73
+ end
299
74
 
300
- def test_refute_nil
301
- refute_nil true
302
- end
75
+ msg = e.message.sub(/(---Backtrace---).*/m, '\1')
76
+ msg.gsub!(/\(oid=[-0-9]+\)/, "(oid=N)")
77
+ msg.gsub!(/(\d\.\d{6})\d+/, '\1xxx') # normalize: ruby version, impl, platform
303
78
 
304
- def test_refute_nil_bad
305
- refute_nil nil
306
- rescue Minitest::Assertion
307
- # do nothing
79
+ assert_equal expected, msg
308
80
  end
309
81
 
310
- def test_refute_operator
311
- refute_operator [:b], :include?, :a
312
- end
82
+ def test_assert_allocations_bad
83
+ exp = "Object allocations.\nExpected 2 to be == 1."
313
84
 
314
- def test_refute_operator_bad
315
- assert_operator [:a], :include?, :a
316
- rescue Minitest::Assertion
317
- # do nothing
318
- end
319
-
320
- def test_refute_predicate
321
- refute_predicate "woot", :empty?
322
- end
85
+ util_array # warm
323
86
 
324
- def test_refute_predicate_bad
325
- refute_predicate "", :empty?
326
- rescue Minitest::Assertion
327
- # do nothing
328
- end
329
-
330
- def test_refute_respond_to
331
- refute_respond_to :a, :full?
87
+ assert_triggered exp do
88
+ assert_allocations 1 do
89
+ util_array
90
+ end
91
+ end
332
92
  end
333
93
 
334
- def test_refute_respond_to_bad
335
- refute_respond_to :a, :empty?
336
- rescue Minitest::Assertion
337
- # do nothing
338
- end
94
+ def test_assert_allocations_neg_bad
95
+ util_n_times_full 5
339
96
 
340
- def test_refute_same
341
- refute_same :a, :b
342
- end
97
+ exp = "Object allocations.\nExpected #{5} to be <= 3."
343
98
 
344
- def test_refute_same_bad
345
- refute_same :a, :a
346
- rescue Minitest::Assertion
347
- # do nothing
99
+ assert_triggered exp do
100
+ assert_allocations :<=, 3 do
101
+ util_n_times_full 5
102
+ end
103
+ end
348
104
  end
349
105
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-gcstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBBTANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTE0MDkxNzIzMDcwN1oXDTE1MDkxNzIzMDcwN1owRTETMBEGA1UE
15
+ GRYDY29tMB4XDTIwMTIyMjIwMzgzMFoXDTIxMTIyMjIwMzgzMFowRTETMBEGA1UE
16
16
  AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
17
17
  JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
18
18
  b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
@@ -21,58 +21,92 @@ cert_chain:
21
21
  GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
22
22
  qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
23
23
  gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
24
- HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
25
- AQAFoDJRokCQdxFfOrmsKX41KOFlU/zjrbDVM9hgB/Ur999M6OXGSi8FitXNtMwY
26
- FVjsiAPeU7HaWVVcZkj6IhINelTkXsxgGz/qCzjHy3iUMuZWw36cS0fiWJ5rvH+e
27
- hD7uXxJSFuyf1riDGI1aeWbQ74WMwvNstOxLUMiV5a1fzBhlxPqb537ubDjq/M/h
28
- zPUFPVYeL5KjDHLCqI2FwIk2sEMOQgjpXHzl+3NlD2LUgUhHDMevmgVua0e2GT1B
29
- xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
30
- VpzF30vNaJK6ZT7xlIsIlwmH
24
+ HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
25
+ AQAE3XRm1YZcCVjAJy5yMZvTOFrS7B2SYErc+0QwmKYbHztTTDY2m5Bii+jhpuxh
26
+ H+ETcU1z8TUKLpsBUP4kUpIRowkVN1p/jKapV8T3Rbwq+VuYFe+GMKsf8wGZSecG
27
+ oMQ8DzzauZfbvhe2kDg7G9BBPU0wLQlY25rDcCy9bLnD7R0UK3ONqpwvsI5I7x5X
28
+ ZIMXR0a9/DG+55mawwdGzCQobDKiSNLK89KK7OcNTALKU0DfgdTkktdgKchzKHqZ
29
+ d/AHw/kcnU6iuMUoJEcGiJd4gVCTn1l3cDcIvxakGslCA88Jubw0Sqatan0TnC9g
30
+ KToW560QIey7SPfHWduzFJnV
31
31
  -----END CERTIFICATE-----
32
- date: 2014-09-26 00:00:00.000000000 Z
32
+ date: 2021-10-28 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: minitest
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '5.4'
40
+ version: '5.0'
41
+ type: :runtime
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ - !ruby/object:Gem::Dependency
49
+ name: rake
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "<"
53
+ - !ruby/object:Gem::Version
54
+ version: '11'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "<"
60
+ - !ruby/object:Gem::Version
61
+ version: '11'
62
+ - !ruby/object:Gem::Dependency
63
+ name: minitest-proveit
64
+ requirement: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
41
69
  type: :development
42
70
  prerelease: false
43
71
  version_requirements: !ruby/object:Gem::Requirement
44
72
  requirements:
45
- - - ~>
73
+ - - "~>"
46
74
  - !ruby/object:Gem::Version
47
- version: '5.4'
75
+ version: '1.0'
48
76
  - !ruby/object:Gem::Dependency
49
77
  name: rdoc
50
78
  requirement: !ruby/object:Gem::Requirement
51
79
  requirements:
52
- - - ~>
80
+ - - ">="
53
81
  - !ruby/object:Gem::Version
54
82
  version: '4.0'
83
+ - - "<"
84
+ - !ruby/object:Gem::Version
85
+ version: '7'
55
86
  type: :development
56
87
  prerelease: false
57
88
  version_requirements: !ruby/object:Gem::Requirement
58
89
  requirements:
59
- - - ~>
90
+ - - ">="
60
91
  - !ruby/object:Gem::Version
61
92
  version: '4.0'
93
+ - - "<"
94
+ - !ruby/object:Gem::Version
95
+ version: '7'
62
96
  - !ruby/object:Gem::Dependency
63
97
  name: hoe
64
98
  requirement: !ruby/object:Gem::Requirement
65
99
  requirements:
66
- - - ~>
100
+ - - "~>"
67
101
  - !ruby/object:Gem::Version
68
- version: '3.12'
102
+ version: '3.22'
69
103
  type: :development
70
104
  prerelease: false
71
105
  version_requirements: !ruby/object:Gem::Requirement
72
106
  requirements:
73
- - - ~>
107
+ - - "~>"
74
108
  - !ruby/object:Gem::Version
75
- version: '3.12'
109
+ version: '3.22'
76
110
  description: |-
77
111
  A minitest plugin that adds a report of the top tests by number of
78
112
  objects allocated.
@@ -85,8 +119,7 @@ extra_rdoc_files:
85
119
  - Manifest.txt
86
120
  - README.rdoc
87
121
  files:
88
- - .autotest
89
- - .gemtest
122
+ - ".autotest"
90
123
  - History.rdoc
91
124
  - Manifest.txt
92
125
  - README.rdoc
@@ -97,29 +130,28 @@ files:
97
130
  homepage: https://github.com/seattlerb/minitest-gcstats
98
131
  licenses:
99
132
  - MIT
100
- metadata: {}
101
- post_install_message:
133
+ metadata:
134
+ homepage_uri: https://github.com/seattlerb/minitest-gcstats
135
+ post_install_message:
102
136
  rdoc_options:
103
- - --main
137
+ - "--main"
104
138
  - README.rdoc
105
139
  require_paths:
106
140
  - lib
107
141
  required_ruby_version: !ruby/object:Gem::Requirement
108
142
  requirements:
109
- - - '>='
143
+ - - ">="
110
144
  - !ruby/object:Gem::Version
111
145
  version: '0'
112
146
  required_rubygems_version: !ruby/object:Gem::Requirement
113
147
  requirements:
114
- - - '>='
148
+ - - ">="
115
149
  - !ruby/object:Gem::Version
116
150
  version: '0'
117
151
  requirements: []
118
- rubyforge_project:
119
- rubygems_version: 2.4.1
120
- signing_key:
152
+ rubygems_version: 3.2.16
153
+ signing_key:
121
154
  specification_version: 4
122
155
  summary: A minitest plugin that adds a report of the top tests by number of objects
123
156
  allocated.
124
- test_files:
125
- - test/minitest/test_gcstats.rb
157
+ test_files: []
metadata.gz.sig CHANGED
Binary file
data/.gemtest DELETED
File without changes