blackbox 1.1.2 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +25 -0
  3. data/Gemfile +1 -0
  4. data/Guardfile +3 -2
  5. data/Makefile +1 -0
  6. data/README.md +1 -1
  7. data/Rakefile +14 -16
  8. data/blackbox.gemspec +24 -18
  9. data/coverage/.last_run.json +1 -1
  10. data/coverage/.resultset.json +136 -37
  11. data/coverage/.resultset.json.lock +0 -0
  12. data/coverage/assets/0.10.0/application.css +799 -0
  13. data/coverage/assets/0.10.0/application.js +1707 -0
  14. data/coverage/assets/0.10.0/colorbox/border.png +0 -0
  15. data/coverage/assets/0.10.0/colorbox/controls.png +0 -0
  16. data/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
  17. data/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
  18. data/coverage/assets/0.10.0/favicon_green.png +0 -0
  19. data/coverage/assets/0.10.0/favicon_red.png +0 -0
  20. data/coverage/assets/0.10.0/favicon_yellow.png +0 -0
  21. data/coverage/assets/0.10.0/loading.gif +0 -0
  22. data/coverage/assets/0.10.0/magnify.png +0 -0
  23. data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  24. data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  25. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  26. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  27. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  28. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  29. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  30. data/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  31. data/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  32. data/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  33. data/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  34. data/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  35. data/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  36. data/coverage/index.html +1153 -543
  37. data/doc/BB.html +22 -11
  38. data/doc/BB/Crypto.html +30 -34
  39. data/doc/BB/Gem.html +415 -0
  40. data/doc/BB/Hash.html +16 -16
  41. data/doc/BB/Number.html +100 -68
  42. data/doc/BB/String.html +12 -12
  43. data/doc/_index.html +22 -7
  44. data/doc/class_list.html +8 -3
  45. data/doc/css/style.css +2 -1
  46. data/doc/file.README.html +7 -7
  47. data/doc/file_list.html +7 -2
  48. data/doc/frames.html +5 -7
  49. data/doc/index.html +7 -7
  50. data/doc/js/app.js +7 -2
  51. data/doc/js/full_list.js +11 -3
  52. data/doc/method_list.html +25 -38
  53. data/doc/top-level-namespace.html +6 -6
  54. data/lib/blackbox.rb +7 -5
  55. data/lib/blackbox/crypto.rb +8 -10
  56. data/lib/blackbox/gem.rb +82 -0
  57. data/lib/blackbox/hash.rb +5 -5
  58. data/lib/blackbox/number.rb +127 -110
  59. data/lib/blackbox/string.rb +5 -5
  60. data/lib/blackbox/version.rb +2 -1
  61. data/spec/blackbox_spec.rb +1 -1
  62. data/spec/crypto_spec.rb +23 -23
  63. data/spec/gem_spec.rb +48 -0
  64. data/spec/hash_spec.rb +26 -26
  65. data/spec/number_spec.rb +95 -44
  66. data/spec/spec_helper.rb +2 -1
  67. data/spec/string_spec.rb +3 -3
  68. metadata +76 -4
data/spec/gem_spec.rb ADDED
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+ require 'spec_helper'
3
+ require 'timecop'
4
+ require 'blackbox/gem'
5
+
6
+ describe BB::Gem do
7
+ describe '.version_info' do
8
+ it 'returns a well-formed Hash' do
9
+ retval = BB::Gem.version_info
10
+
11
+ expect(retval).to be_a(Hash)
12
+ expect(retval.keys).to contain_exactly(
13
+ :gem_name,
14
+ :gem_installed_version,
15
+ :gem_latest_version,
16
+ :last_checked_for_update,
17
+ :next_check_for_update,
18
+ :installed_is_latest,
19
+ :gem_update_available
20
+ )
21
+
22
+ expect(retval).to include(
23
+ gem_name: 'blackbox'
24
+ )
25
+
26
+ expect(retval[:gem_installed_version]).not_to eq(:unknown)
27
+ expect(retval[:gem_latest_version]).not_to eq(:unknown)
28
+ end
29
+
30
+ it "schedules next check according to opt['check_interval']" do
31
+ at = Time.parse('2015-10-21 07:28')
32
+ Timecop.freeze(at) do
33
+ retval = BB::Gem.version_info(check_interval: 60)
34
+ expect(retval).to include(
35
+ next_check_for_update: at + 60
36
+ )
37
+ end
38
+ end
39
+
40
+ it 'schedules no check when disabled via env var' do
41
+ ENV['BLACKBOX_DISABLE_VERSION_CHECK'] = '1'
42
+ retval = BB::Gem.version_info(check_inverval: 60)
43
+ expect(retval).to include(
44
+ next_check_for_update: :never
45
+ )
46
+ end
47
+ end
48
+ end
data/spec/hash_spec.rb CHANGED
@@ -1,51 +1,51 @@
1
+ # frozen_string_literal: true
1
2
  require 'spec_helper'
2
3
  require 'blackbox/hash'
3
4
 
4
5
  describe BB::Hash do
5
6
  describe '.symbolize_keys' do
6
- it "turns all keys into symbols" do
7
+ it 'turns all keys into symbols' do
7
8
  have = { 'foo' => 1, :bar => 2, 'batz' => 3 }
8
- want = { :foo => 1, :bar => 2, :batz => 3 }
9
+ want = { foo: 1, bar: 2, batz: 3 }
9
10
  expect(BB::Hash.symbolize_keys(have)).to eq(want)
10
11
  end
11
12
 
12
- it "raises NoMethodError when #to_sym fails for a key" do
13
- expect {
13
+ it 'raises NoMethodError when #to_sym fails for a key' do
14
+ expect do
14
15
  have = { 'foo' => 1, 2 => 2, :bar => 3 }
15
16
  BB::Hash.symbolize_keys(have)
16
- }.to raise_error NoMethodError
17
+ end.to raise_error NoMethodError
17
18
  end
18
19
  end
19
20
 
20
- describe ".flatten_prop_style" do
21
- it "returns flattened hash" do
21
+ describe '.flatten_prop_style' do
22
+ it 'returns flattened hash' do
22
23
  have = {
23
- :a=> 1,
24
+ :a => 1,
24
25
  'b' => 2,
25
26
  3 => 3,
26
- :array => [1,2,3],
27
+ :array => [1, 2, 3],
27
28
  'nested' => { 'a' => 1, :b => 2, :c => 3 },
28
- :double_nested => { :a => { :aa => 1 }, :b => { :bb => 2 }, :c => { :cc => 3 } },
29
- :nested_with_array => { :a => { :aa => [:a, 'b', 3] }, :b => { :bb => [:a, 'b', 3] }, :c => { :cc => [:a, 'b', 3] } }
29
+ :double_nested => { a: { aa: 1 }, b: { bb: 2 }, c: { cc: 3 } },
30
+ :nested_with_array => { a: { aa: [:a, 'b', 3] }, b: { bb: [:a, 'b', 3] }, c: { cc: [:a, 'b', 3] } }
30
31
  }
31
32
 
32
33
  want = {
33
- "a"=>1,
34
- "b"=>2,
35
- "3"=>3,
36
- "array"=>"1,2,3",
37
- "nested.a"=>1,
38
- "nested.b"=>2,
39
- "nested.c"=>3,
40
- "double_nested.a.aa"=>1,
41
- "double_nested.b.bb"=>2,
42
- "double_nested.c.cc"=>3,
43
- "nested_with_array.a.aa"=>"a,b,3",
44
- "nested_with_array.b.bb"=>"a,b,3",
45
- "nested_with_array.c.cc"=>"a,b,3"
34
+ 'a' => 1,
35
+ 'b' => 2,
36
+ '3' => 3,
37
+ 'array' => '1,2,3',
38
+ 'nested.a' => 1,
39
+ 'nested.b' => 2,
40
+ 'nested.c' => 3,
41
+ 'double_nested.a.aa' => 1,
42
+ 'double_nested.b.bb' => 2,
43
+ 'double_nested.c.cc' => 3,
44
+ 'nested_with_array.a.aa' => 'a,b,3',
45
+ 'nested_with_array.b.bb' => 'a,b,3',
46
+ 'nested_with_array.c.cc' => 'a,b,3'
46
47
  }
47
- expect(BB::Hash::flatten_prop_style(have)).to eq(want)
48
+ expect(BB::Hash.flatten_prop_style(have)).to eq(want)
48
49
  end
49
50
  end
50
51
  end
51
-
data/spec/number_spec.rb CHANGED
@@ -1,93 +1,144 @@
1
+ # frozen_string_literal: true
1
2
  require 'spec_helper'
2
3
  require 'blackbox/number'
3
4
 
4
5
  describe BB::Number do
5
-
6
6
  describe '.with_delimiter' do
7
- it "delimits" do
8
- have = 98765432.98
9
- want = "98A765A432B98"
10
- expect(BB::Number.with_delimiter(have, :delimiter => 'A', :separator => 'B' )).to eq(want)
7
+ it 'delimits' do
8
+ have = 98_765_432.98
9
+ want = '98A765A432B98'
10
+ expect(BB::Number.with_delimiter(have, delimiter: 'A', separator: 'B')).to eq(want)
11
+ end
12
+
13
+ it 'uses sensible defaults' do
14
+ have = 98_765_432.98
15
+ want = '98,765,432.98'
16
+ expect(BB::Number.with_delimiter(have)).to eq(want)
17
+ end
18
+
19
+ it 'turns 12345678.05 into "12,345,678.05" by default' do
20
+ have = 12_345_678.05
21
+ want = '12,345,678.05'
22
+ expect(BB::Number.with_delimiter(have)).to eq(want)
23
+ end
24
+
25
+ it 'returns nil when input could not be parsed as Float' do
26
+ have = 'not_a_number'
27
+ want = nil
28
+ expect(BB::Number.with_delimiter(have)).to eq(want)
29
+ end
30
+
31
+ it 'returns input when input could not be processed' do
32
+ have = 23
33
+ want = have
34
+ # deliberately cause exception with int separator
35
+ expect(BB::Number.with_delimiter(have, separator: -42)).to eq(want)
11
36
  end
12
37
  end
13
38
 
14
39
  describe '.with_precision' do
15
- it "precises" do
40
+ it 'precises' do
41
+ have = 1111.2345
42
+ want = '1A111B23'
43
+ expect(BB::Number.with_precision(have, precision: 2, delimiter: 'A', separator: 'B')).to eq(want)
44
+ end
45
+
46
+ it 'uses sensible defaults' do
16
47
  have = 1111.2345
17
- want = "1A111B23"
18
- expect(BB::Number.with_precision(have, :precision => 2, :delimiter => 'A', :separator => 'B' )).to eq(want)
48
+ want = '1111.235'
49
+ expect(BB::Number.with_precision(have, precision: 3)).to eq(want)
50
+ end
51
+
52
+ it 'returns nil when input could not be parsed as Float' do
53
+ have = 'not_a_number'
54
+ want = nil
55
+ expect(BB::Number.with_precision(have, precision: 2)).to eq(want)
56
+ end
57
+
58
+ it 'returns input when input could not be processed' do
59
+ have = Float::INFINITY
60
+ want = have
61
+ expect(BB::Number.with_precision(have, precision: 2)).to eq(want)
19
62
  end
20
63
  end
21
64
 
22
65
  describe '.to_human_size' do
23
-
24
- it "passes through values < base" do
66
+ it 'passes through values < base' do
25
67
  have = 1023
26
- want = "1023"
68
+ want = '1023'
27
69
  expect(BB::Number.to_human_size(have)).to eq(want)
28
70
  end
29
71
 
30
- it "humanizes a kilobyte" do
72
+ it 'humanizes a kilobyte' do
31
73
  have = 1024
32
- want = "1k"
74
+ want = '1k'
33
75
  expect(BB::Number.to_human_size(have)).to eq(want)
34
76
  end
35
77
 
36
- it "humanizes a megabyte" do
37
- have = 1048576
38
- want = "1M"
78
+ it 'humanizes a megabyte' do
79
+ have = 1_048_576
80
+ want = '1M'
39
81
  expect(BB::Number.to_human_size(have)).to eq(want)
40
82
  end
41
83
 
42
- it "humanizes a megabyte (base 1000)" do
43
- have = 1000000
44
- want = "1M"
45
- expect(BB::Number.to_human_size(have, :kilo => 1000)).to eq(want)
84
+ it 'humanizes a megabyte (base 1000)' do
85
+ have = 1_000_000
86
+ want = '1M'
87
+ expect(BB::Number.to_human_size(have, kilo: 1000)).to eq(want)
46
88
  end
47
89
 
48
- it "humanizes a gigabyte" do
49
- have = 1024*1024*1024
50
- want = "1G"
90
+ it 'humanizes a gigabyte' do
91
+ have = 1024 * 1024 * 1024
92
+ want = '1G'
51
93
  expect(BB::Number.to_human_size(have)).to eq(want)
52
94
  end
53
95
 
54
- it "humanizes a terabyte" do
55
- have = 1024*1024*1024*1024
56
- want = "1T"
96
+ it 'humanizes a terabyte' do
97
+ have = 1024 * 1024 * 1024 * 1024
98
+ want = '1T'
57
99
  expect(BB::Number.to_human_size(have)).to eq(want)
58
100
  end
59
101
 
60
- it "humanizes a petabyte" do
61
- have = 1024*1024*1024*1024*1024
62
- want = "1P"
102
+ it 'humanizes a petabyte' do
103
+ have = 1024 * 1024 * 1024 * 1024 * 1024
104
+ want = '1P'
63
105
  expect(BB::Number.to_human_size(have)).to eq(want)
64
106
  end
65
107
 
66
- it "humanizes a exabyte" do
67
- have = 1024*1024*1024*1024*1024*1024
68
- want = "1E"
108
+ it 'humanizes a exabyte' do
109
+ have = 1024 * 1024 * 1024 * 1024 * 1024 * 1024
110
+ want = '1E'
69
111
  expect(BB::Number.to_human_size(have)).to eq(want)
70
112
  end
71
113
 
72
- it "humanizes a zettabyte" do
73
- have = 1024*1024*1024*1024*1024*1024*1024
74
- want = "1Z"
114
+ it 'humanizes a zettabyte' do
115
+ have = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024
116
+ want = '1Z'
75
117
  expect(BB::Number.to_human_size(have)).to eq(want)
76
118
  end
77
119
 
78
- it "humanizes a yottabyte" do
79
- have = 1024*1024*1024*1024*1024*1024*1024*1024
80
- want = "1Y"
120
+ it 'humanizes a yottabyte' do
121
+ have = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024
122
+ want = '1Y'
81
123
  expect(BB::Number.to_human_size(have)).to eq(want)
82
124
  end
83
125
 
84
- it "humanizes 1024.42 yottabytes" do
85
- have = 1024*1024*1024*1024*1024*1024*1024*1024*1024.42
86
- want = "1024.42Y"
87
- expect(BB::Number.to_human_size(have, :precision => 2)).to eq(want)
126
+ it 'humanizes 1024.42 yottabytes' do
127
+ have = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024.42
128
+ want = '1024.42Y'
129
+ expect(BB::Number.to_human_size(have, precision: 2)).to eq(want)
88
130
  end
89
131
 
90
- end
132
+ it 'returns nil when input could not be parsed as Float' do
133
+ have = 'not_a_number'
134
+ want = nil
135
+ expect(BB::Number.to_human_size(have)).to eq(want)
136
+ end
91
137
 
138
+ it 'returns input when input could not be processed' do
139
+ have = Float::INFINITY
140
+ want = have
141
+ expect(BB::Number.to_human_size(have)).to eq(want)
142
+ end
143
+ end
92
144
  end
93
-
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,7 @@
1
+ # frozen_string_literal: true
1
2
  require 'simplecov'
2
3
  SimpleCov.start do
3
- add_filter "/spec/"
4
+ add_filter '/spec/'
4
5
  end
5
6
 
6
7
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
data/spec/string_spec.rb CHANGED
@@ -1,13 +1,13 @@
1
+ # frozen_string_literal: true
1
2
  require 'spec_helper'
2
3
  require 'blackbox/string'
3
4
 
4
5
  describe BB::String do
5
6
  describe '.strip_ansi' do
6
- it "strips a few common escape sequences" do
7
+ it 'strips a few common escape sequences' do
7
8
  have = "\e[31;1mX\e[AY\e[2JZ"
8
- want = "XYZ"
9
+ want = 'XYZ'
9
10
  expect(BB::String.strip_ansi(have)).to eq(want)
10
11
  end
11
12
  end
12
13
  end
13
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-22 00:00:00.000000000 Z
11
+ date: 2016-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -136,6 +136,48 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: timecop
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: gem_update_checker
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
139
181
  description: Various little helpers
140
182
  email:
141
183
  - moe@busyloop.net
@@ -146,6 +188,7 @@ files:
146
188
  - ".gitattributes"
147
189
  - ".gitignore"
148
190
  - ".rspec"
191
+ - ".rubocop.yml"
149
192
  - Gemfile
150
193
  - Guardfile
151
194
  - LICENSE.txt
@@ -155,6 +198,31 @@ files:
155
198
  - blackbox.gemspec
156
199
  - coverage/.last_run.json
157
200
  - coverage/.resultset.json
201
+ - coverage/.resultset.json.lock
202
+ - coverage/assets/0.10.0/application.css
203
+ - coverage/assets/0.10.0/application.js
204
+ - coverage/assets/0.10.0/colorbox/border.png
205
+ - coverage/assets/0.10.0/colorbox/controls.png
206
+ - coverage/assets/0.10.0/colorbox/loading.gif
207
+ - coverage/assets/0.10.0/colorbox/loading_background.png
208
+ - coverage/assets/0.10.0/favicon_green.png
209
+ - coverage/assets/0.10.0/favicon_red.png
210
+ - coverage/assets/0.10.0/favicon_yellow.png
211
+ - coverage/assets/0.10.0/loading.gif
212
+ - coverage/assets/0.10.0/magnify.png
213
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
214
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
215
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
216
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
217
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png
218
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
219
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
220
+ - coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
221
+ - coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png
222
+ - coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png
223
+ - coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png
224
+ - coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png
225
+ - coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png
158
226
  - coverage/assets/0.7.1/application.css
159
227
  - coverage/assets/0.7.1/application.js
160
228
  - coverage/assets/0.7.1/fancybox/blank.gif
@@ -198,6 +266,7 @@ files:
198
266
  - coverage/index.html
199
267
  - doc/BB.html
200
268
  - doc/BB/Crypto.html
269
+ - doc/BB/Gem.html
201
270
  - doc/BB/Hash.html
202
271
  - doc/BB/Number.html
203
272
  - doc/BB/String.html
@@ -217,12 +286,14 @@ files:
217
286
  - doc/top-level-namespace.html
218
287
  - lib/blackbox.rb
219
288
  - lib/blackbox/crypto.rb
289
+ - lib/blackbox/gem.rb
220
290
  - lib/blackbox/hash.rb
221
291
  - lib/blackbox/number.rb
222
292
  - lib/blackbox/string.rb
223
293
  - lib/blackbox/version.rb
224
294
  - spec/blackbox_spec.rb
225
295
  - spec/crypto_spec.rb
296
+ - spec/gem_spec.rb
226
297
  - spec/hash_spec.rb
227
298
  - spec/number_spec.rb
228
299
  - spec/spec_helper.rb
@@ -239,7 +310,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
239
310
  requirements:
240
311
  - - ">="
241
312
  - !ruby/object:Gem::Version
242
- version: '0'
313
+ version: 2.3.0
243
314
  required_rubygems_version: !ruby/object:Gem::Requirement
244
315
  requirements:
245
316
  - - ">="
@@ -247,13 +318,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
318
  version: '0'
248
319
  requirements: []
249
320
  rubyforge_project:
250
- rubygems_version: 2.4.5
321
+ rubygems_version: 2.5.1
251
322
  signing_key:
252
323
  specification_version: 4
253
324
  summary: Various little helpers
254
325
  test_files:
255
326
  - spec/blackbox_spec.rb
256
327
  - spec/crypto_spec.rb
328
+ - spec/gem_spec.rb
257
329
  - spec/hash_spec.rb
258
330
  - spec/number_spec.rb
259
331
  - spec/spec_helper.rb