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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/Rakefile +2 -0
  5. data/lib/sixarm_ruby_ramp.rb +1 -1
  6. data/lib/sixarm_ruby_ramp/fixnum.rb +4 -0
  7. data/test/sixarm_ruby_ramp_test.rb +5 -4
  8. data/test/sixarm_ruby_ramp_test/array/join_test.rb +0 -1
  9. data/test/sixarm_ruby_ramp_test/array/shuffle_test.rb +0 -1
  10. data/test/sixarm_ruby_ramp_test/array_test.rb +3 -4
  11. data/test/sixarm_ruby_ramp_test/class_test.rb +0 -1
  12. data/test/sixarm_ruby_ramp_test/csv_test.rb +0 -1
  13. data/test/sixarm_ruby_ramp_test/date_test.rb +0 -1
  14. data/test/sixarm_ruby_ramp_test/enumerable/each_test.rb +0 -1
  15. data/test/sixarm_ruby_ramp_test/enumerable/map_test.rb +0 -1
  16. data/test/sixarm_ruby_ramp_test/enumerable/nitems_test.rb +0 -1
  17. data/test/sixarm_ruby_ramp_test/enumerable/select_test.rb +0 -1
  18. data/test/sixarm_ruby_ramp_test/enumerable_test.rb +0 -1
  19. data/test/sixarm_ruby_ramp_test/file_test.rb +0 -1
  20. data/test/sixarm_ruby_ramp_test/fixnum_test.rb +4 -1
  21. data/test/sixarm_ruby_ramp_test/hash_test.rb +0 -1
  22. data/test/sixarm_ruby_ramp_test/integer/rbit_test.rb +0 -1
  23. data/test/sixarm_ruby_ramp_test/io_test.rb +0 -1
  24. data/test/sixarm_ruby_ramp_test/kernel_test.rb +0 -1
  25. data/test/sixarm_ruby_ramp_test/math_test.rb +0 -1
  26. data/test/sixarm_ruby_ramp_test/nil_test.rb +0 -1
  27. data/test/sixarm_ruby_ramp_test/numeric_test.rb +0 -1
  28. data/test/sixarm_ruby_ramp_test/object_test.rb +0 -1
  29. data/test/sixarm_ruby_ramp_test/pairable_test.rb +0 -1
  30. data/test/sixarm_ruby_ramp_test/process_test.rb +0 -1
  31. data/test/sixarm_ruby_ramp_test/string_test.rb +0 -1
  32. data/test/sixarm_ruby_ramp_test/symbol_test.rb +0 -1
  33. data/test/sixarm_ruby_ramp_test/time_test.rb +0 -1
  34. data/test/sixarm_ruby_ramp_test/yaml_test.rb +0 -1
  35. metadata +23 -9
  36. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd28e48ca54cace863d1df36f8db7bfdd6c617af
4
- data.tar.gz: 5c2a913207a9b83f7da75c8910c5f44b876017a0
3
+ metadata.gz: 5ba1d72c8f2decf5385d0d88796f5bc8fefb7839
4
+ data.tar.gz: 84803f467e1647734665592b853e826ef9c4cffe
5
5
  SHA512:
6
- metadata.gz: 21a8671ccf5d9fe673d8f9da26a2370ec2f4d1c8d1720efaea5b167213b65088bf2b353d2566ea5dc387a3432b9262d90907f32c547183856fb0400e57548633
7
- data.tar.gz: cdb4647686ddb9417adcffc32c96481033650b5d30a2668ae8609221ad9fbddbf2f27c7949e6e2b09517f91a75305e0c3fe3412c80d613b263a0a42849ad72f1
6
+ metadata.gz: 5bbfa14e3d49d7dc16b61a910f890d65955648376477b43b89cc1ea93345e7e4656534a8756efcefbf2efc54c3bfd05ef5a23ccd72b4bd65f9da9c73c6276683
7
+ data.tar.gz: 75aa6a7dc5293673bc312218b40973e5cc80adbcd34df8684f5c8b9302d7e18861f7b5b26d85ac3ec12ca725e219337d86c7625f1961935ba8541abcc015606b
Binary file
data.tar.gz.sig CHANGED
Binary file
data/Rakefile CHANGED
@@ -9,3 +9,5 @@ end
9
9
 
10
10
  task :default => [:test]
11
11
  task :default => [:test]
12
+ task :default => [:test]
13
+ task :default => [:test]
@@ -33,5 +33,5 @@ Please see README
33
33
  'time',
34
34
  'yaml'
35
35
  ].map{|x|
36
- require File.dirname(__FILE__) + "/sixarm_ruby_ramp/#{x}.rb"
36
+ require_relative "sixarm_ruby_ramp/#{x}"
37
37
  }
@@ -1,5 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
+ if RUBY_VERSION < "2.4.0"
4
+
3
5
  # Fixnum extensions
4
6
 
5
7
  class Fixnum
@@ -32,3 +34,5 @@ class Fixnum
32
34
 
33
35
 
34
36
  end
37
+
38
+ end
@@ -1,10 +1,11 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "minitest/autorun"
3
- require "simplecov"
4
3
  require "coveralls"
5
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
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/join"
4
3
 
5
4
  class ArrayJoinTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/array/shuffle"
4
3
 
5
4
  class ArrayTest < Minitest::Test
6
5
 
@@ -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
- assert_equal(nil ,a.shifted(4))
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
- assert_equal(nil ,a.cdr(4))
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
- assert_equal(nil ,a.rest(4))
152
+ assert_nil( a.rest(4))
154
153
  end
155
154
 
156
155
  # alias: test_rest must be idential to test_shifted
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/class"
4
3
 
5
4
  class ClassTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/csv"
4
3
 
5
4
  class CSVTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/date"
4
3
 
5
4
  class DateTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/enumerable/each"
4
3
 
5
4
  class EnumerableEachTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/enumerable/map"
4
3
  require "ostruct"
5
4
 
6
5
  class EnumerableMapTest < Minitest::Test
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/enumerable/nitems"
4
3
 
5
4
  class EnumerableNItemsTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/enumerable/select"
4
3
 
5
4
  class EnumerableSelectTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/enumerable"
4
3
 
5
4
  class EnumerableTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/file"
4
3
 
5
4
  class FileTestClass < Minitest::Test
6
5
 
@@ -1,6 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/fixnum"
3
+
4
+ if RUBY_VERSION < "2.4.0"
4
5
 
5
6
  class FixnumTest < Minitest::Test
6
7
 
@@ -21,3 +22,5 @@ class FixnumTest < Minitest::Test
21
22
  end
22
23
 
23
24
  end
25
+
26
+ end
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/hash"
4
3
 
5
4
  class HashTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/integer/rbit"
4
3
 
5
4
  class IntegerTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/io"
4
3
 
5
4
  class IOTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/kernel"
4
3
 
5
4
  class KernelTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/math"
4
3
 
5
4
  class MathTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/nil"
4
3
 
5
4
  class NilTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/numeric"
4
3
 
5
4
  class NumericTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/object"
4
3
 
5
4
  class ObjectTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/pairable"
4
3
 
5
4
  class PairableTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/process"
4
3
 
5
4
  class ProcessTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/string"
4
3
 
5
4
  class StringTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/symbol"
4
3
 
5
4
  class SymbolTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/time"
4
3
 
5
4
  class TimeTest < Minitest::Test
6
5
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require "sixarm_ruby_ramp_test"
3
- require "sixarm_ruby_ramp/yaml"
4
3
 
5
4
  class YAMLTest < Minitest::Test
6
5
 
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
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: 2015-07-19 00:00:00.000000000 Z
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
- - BSD
259
- - GPL
272
+ - Apache-2.0
273
+ - Artistic-2.0
274
+ - BSD-3-Clause
275
+ - GPL-3.0
260
276
  - MIT
261
- - PAL
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.4.8
295
+ rubygems_version: 2.6.12
281
296
  signing_key:
282
297
  specification_version: 4
283
- summary: SixArm.com » Ruby » Ramp provides base extensions to ruby classes.
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