sixarm_ruby_array_slice 2.1.6 → 2.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Rakefile +2 -0
- data/test/sixarm_ruby_array_slice_test/array_test.rb +8 -8
- metadata +23 -9
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4df8aa26b056f39c8dbda633c630d2750bc8d16a
|
4
|
+
data.tar.gz: 582eed01bd34821572f5d7bc88ac9ec59e518f07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ca4b05f2ec43437cfb9a0c29f301cede9d0adec2998abcf715ab8a4a5764040112219e444361408387e5494dbfd404ba76aa34c21548bb3d59ec261f6a10a77
|
7
|
+
data.tar.gz: dbcc11b51bf54822066442207db7bdb93d1d8dd8f1943da55edbf1d7d4711acf044329cca30e4ec6ccf0472c6defbf2eca78ddb9f212c1e15953b13602caa806
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Rakefile
CHANGED
@@ -31,25 +31,25 @@ describe Array do
|
|
31
31
|
end
|
32
32
|
|
33
33
|
it "with 0 count" do
|
34
|
-
|
34
|
+
assert_raises ArgumentError do
|
35
35
|
A.slice_by_size(0)
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
39
|
it "with negative count" do
|
40
|
-
|
40
|
+
assert_raises ArgumentError do
|
41
41
|
A.slice_by_size(-1)
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
45
|
it "with float count" do
|
46
|
-
|
46
|
+
assert_raises ArgumentError do
|
47
47
|
A.slice_by_size(1.234)
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
51
|
it "with non numeric count" do
|
52
|
-
|
52
|
+
assert_raises ArgumentError do
|
53
53
|
A.slice_by_size(1.234)
|
54
54
|
end
|
55
55
|
end
|
@@ -76,25 +76,25 @@ describe Array do
|
|
76
76
|
end
|
77
77
|
|
78
78
|
it "with zero count" do
|
79
|
-
|
79
|
+
assert_raises ArgumentError do
|
80
80
|
A.slice_by_share(0)
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
84
|
it "with negative count" do
|
85
|
-
|
85
|
+
assert_raises ArgumentError do
|
86
86
|
A.slice_by_share(-1)
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
90
|
it "with float count" do
|
91
|
-
|
91
|
+
assert_raises ArgumentError do
|
92
92
|
A.slice_by_share(1.234)
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
96
|
it "with non numeric count" do
|
97
|
-
|
97
|
+
assert_raises ArgumentError do
|
98
98
|
A.slice_by_share("")
|
99
99
|
end
|
100
100
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sixarm_ruby_array_slice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SixArm
|
@@ -44,7 +44,7 @@ cert_chain:
|
|
44
44
|
2AC9FOGkybW6DJEFSFFMlNk0IILsa/gNp8ufGuTVLWF9FUUdMNK+TMbghnifT8/1
|
45
45
|
n+ES/gQPOnvmVkLDGw==
|
46
46
|
-----END CERTIFICATE-----
|
47
|
-
date:
|
47
|
+
date: 2017-08-13 00:00:00.000000000 Z
|
48
48
|
dependencies:
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: minitest
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "<"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '6'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sixarm_ruby_minitest_extensions
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.0.5
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.0.5
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rake
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,11 +153,12 @@ files:
|
|
139
153
|
- test/sixarm_ruby_array_slice_test/array_test.rb
|
140
154
|
homepage: http://sixarm.com/
|
141
155
|
licenses:
|
142
|
-
-
|
143
|
-
-
|
156
|
+
- Apache-2.0
|
157
|
+
- Artistic-2.0
|
158
|
+
- BSD-3-Clause
|
159
|
+
- GPL-3.0
|
144
160
|
- MIT
|
145
|
-
-
|
146
|
-
- Various
|
161
|
+
- MPL-2.0
|
147
162
|
metadata: {}
|
148
163
|
post_install_message:
|
149
164
|
rdoc_options: []
|
@@ -161,11 +176,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
176
|
version: '0'
|
162
177
|
requirements: []
|
163
178
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.
|
179
|
+
rubygems_version: 2.6.12
|
165
180
|
signing_key:
|
166
181
|
specification_version: 4
|
167
|
-
summary: SixArm.com
|
182
|
+
summary: SixArm.com → Ruby → Array slice methods
|
168
183
|
test_files:
|
169
184
|
- test/sixarm_ruby_array_slice_test.rb
|
170
185
|
- test/sixarm_ruby_array_slice_test/array_test.rb
|
171
|
-
has_rdoc: true
|
metadata.gz.sig
CHANGED
Binary file
|