sixarm_ruby_ramp 4.2.4 → 4.2.5
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/lib/sixarm_ruby_ramp.rb +1 -1
- data/lib/sixarm_ruby_ramp/fixnum.rb +4 -0
- data/test/sixarm_ruby_ramp_test.rb +5 -4
- data/test/sixarm_ruby_ramp_test/array/join_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/array/shuffle_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/array_test.rb +3 -4
- data/test/sixarm_ruby_ramp_test/class_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/csv_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/date_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/enumerable/each_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/enumerable/map_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/enumerable/nitems_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/enumerable/select_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/enumerable_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/file_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/fixnum_test.rb +4 -1
- data/test/sixarm_ruby_ramp_test/hash_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/integer/rbit_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/io_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/kernel_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/math_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/nil_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/numeric_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/object_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/pairable_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/process_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/string_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/symbol_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/time_test.rb +0 -1
- data/test/sixarm_ruby_ramp_test/yaml_test.rb +0 -1
- 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: 5ba1d72c8f2decf5385d0d88796f5bc8fefb7839
|
4
|
+
data.tar.gz: 84803f467e1647734665592b853e826ef9c4cffe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bbfa14e3d49d7dc16b61a910f890d65955648376477b43b89cc1ea93345e7e4656534a8756efcefbf2efc54c3bfd05ef5a23ccd72b4bd65f9da9c73c6276683
|
7
|
+
data.tar.gz: 75aa6a7dc5293673bc312218b40973e5cc80adbcd34df8684f5c8b9302d7e18861f7b5b26d85ac3ec12ca725e219337d86c7625f1961935ba8541abcc015606b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Rakefile
CHANGED
data/lib/sixarm_ruby_ramp.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
require "minitest/autorun"
|
3
|
-
require "simplecov"
|
4
3
|
require "coveralls"
|
5
|
-
|
4
|
+
require "simplecov"
|
5
|
+
Coveralls.wear!
|
6
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
|
6
7
|
SimpleCov::Formatter::HTMLFormatter,
|
7
8
|
Coveralls::SimpleCov::Formatter
|
8
|
-
]
|
9
|
+
])
|
9
10
|
SimpleCov.start
|
10
|
-
|
11
|
+
require "sixarm_ruby_ramp"
|
@@ -1,6 +1,5 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
require "sixarm_ruby_ramp_test"
|
3
|
-
require "sixarm_ruby_ramp/array"
|
4
3
|
require "csv"
|
5
4
|
|
6
5
|
class ArrayTest < Minitest::Test
|
@@ -101,7 +100,7 @@ class ArrayTest < Minitest::Test
|
|
101
100
|
assert_equal([ 'b','c'],a.shifted(1))
|
102
101
|
assert_equal([ 'c'],a.shifted(2))
|
103
102
|
assert_equal([ ],a.shifted(3))
|
104
|
-
|
103
|
+
assert_nil( a.shifted(4))
|
105
104
|
end
|
106
105
|
|
107
106
|
def test_shifted_with_negative_count
|
@@ -124,7 +123,7 @@ class ArrayTest < Minitest::Test
|
|
124
123
|
assert_equal([ 'b','c'],a.cdr(1))
|
125
124
|
assert_equal([ 'c'],a.cdr(2))
|
126
125
|
assert_equal([ ],a.cdr(3))
|
127
|
-
|
126
|
+
assert_nil( a.cdr(4))
|
128
127
|
end
|
129
128
|
|
130
129
|
# alias: test_cdr must be idential to test_shifted
|
@@ -150,7 +149,7 @@ class ArrayTest < Minitest::Test
|
|
150
149
|
assert_equal([ 'b','c'],a.rest(1))
|
151
150
|
assert_equal([ 'c'],a.rest(2))
|
152
151
|
assert_equal([ ],a.rest(3))
|
153
|
-
|
152
|
+
assert_nil( a.rest(4))
|
154
153
|
end
|
155
154
|
|
156
155
|
# alias: test_rest must be idential to test_shifted
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sixarm_ruby_ramp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.5
|
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: sixarm_ruby_rexml
|
@@ -126,6 +126,20 @@ dependencies:
|
|
126
126
|
- - "<"
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '6'
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: sixarm_ruby_minitest_extensions
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - '='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: 1.0.5
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - '='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 1.0.5
|
129
143
|
- !ruby/object:Gem::Dependency
|
130
144
|
name: rake
|
131
145
|
requirement: !ruby/object:Gem::Requirement
|
@@ -255,11 +269,12 @@ files:
|
|
255
269
|
- test/sixarm_ruby_ramp_test/yaml_test.rb
|
256
270
|
homepage: http://sixarm.com/
|
257
271
|
licenses:
|
258
|
-
-
|
259
|
-
-
|
272
|
+
- Apache-2.0
|
273
|
+
- Artistic-2.0
|
274
|
+
- BSD-3-Clause
|
275
|
+
- GPL-3.0
|
260
276
|
- MIT
|
261
|
-
-
|
262
|
-
- Various
|
277
|
+
- MPL-2.0
|
263
278
|
metadata: {}
|
264
279
|
post_install_message:
|
265
280
|
rdoc_options: []
|
@@ -277,10 +292,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
292
|
version: '0'
|
278
293
|
requirements: []
|
279
294
|
rubyforge_project:
|
280
|
-
rubygems_version: 2.
|
295
|
+
rubygems_version: 2.6.12
|
281
296
|
signing_key:
|
282
297
|
specification_version: 4
|
283
|
-
summary: SixArm.com
|
298
|
+
summary: SixArm.com → Ruby → Ramp provides base extensions to ruby classes.
|
284
299
|
test_files:
|
285
300
|
- test/sixarm_ruby_ramp_test.rb
|
286
301
|
- test/sixarm_ruby_ramp_test/array_test.rb
|
@@ -312,4 +327,3 @@ test_files:
|
|
312
327
|
- test/sixarm_ruby_ramp_test/time_test.rb
|
313
328
|
- test/sixarm_ruby_ramp_test/yaml_test.rb
|
314
329
|
- test/sixarm_ruby_ramp_test/io_test.txt
|
315
|
-
has_rdoc: true
|
metadata.gz.sig
CHANGED
Binary file
|