sixarm_ruby_ramp 4.2.2 → 4.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/CHANGES.md +24 -0
  5. data/LICENSE.md +28 -0
  6. data/README.md +1 -55
  7. data/Rakefile +2 -2
  8. data/lib/sixarm_ruby_ramp/array.rb +1 -1
  9. data/lib/sixarm_ruby_ramp/date.rb +1 -1
  10. data/lib/sixarm_ruby_ramp/enumerable.rb +1 -1
  11. data/lib/sixarm_ruby_ramp/enumerable/select.rb +3 -3
  12. data/lib/sixarm_ruby_ramp/hash.rb +1 -1
  13. data/lib/sixarm_ruby_ramp/kernel.rb +2 -2
  14. data/lib/sixarm_ruby_ramp/process.rb +35 -5
  15. data/lib/sixarm_ruby_ramp/yaml.rb +1 -1
  16. data/test/sixarm_ruby_ramp_test.rb +2 -2
  17. data/test/sixarm_ruby_ramp_test/array/join_test.rb +2 -2
  18. data/test/sixarm_ruby_ramp_test/array/shuffle_test.rb +2 -2
  19. data/test/sixarm_ruby_ramp_test/array_test.rb +3 -3
  20. data/test/sixarm_ruby_ramp_test/class_test.rb +2 -2
  21. data/test/sixarm_ruby_ramp_test/csv_test.rb +2 -2
  22. data/test/sixarm_ruby_ramp_test/date_test.rb +2 -2
  23. data/test/sixarm_ruby_ramp_test/enumerable/map_test.rb +3 -3
  24. data/test/sixarm_ruby_ramp_test/enumerable/nitems_test.rb +2 -2
  25. data/test/sixarm_ruby_ramp_test/enumerable/select_test.rb +2 -2
  26. data/test/sixarm_ruby_ramp_test/enumerable_test.rb +3 -3
  27. data/test/sixarm_ruby_ramp_test/file_test.rb +2 -2
  28. data/test/sixarm_ruby_ramp_test/fixnum_test.rb +2 -2
  29. data/test/sixarm_ruby_ramp_test/hash_test.rb +2 -2
  30. data/test/sixarm_ruby_ramp_test/integer/rbit_test.rb +2 -2
  31. data/test/sixarm_ruby_ramp_test/integer_test.rb +2 -2
  32. data/test/sixarm_ruby_ramp_test/io_test.rb +2 -2
  33. data/test/sixarm_ruby_ramp_test/kernel_test.rb +2 -2
  34. data/test/sixarm_ruby_ramp_test/math_test.rb +2 -2
  35. data/test/sixarm_ruby_ramp_test/nil_test.rb +2 -2
  36. data/test/sixarm_ruby_ramp_test/numeric_test.rb +2 -2
  37. data/test/sixarm_ruby_ramp_test/object_test.rb +2 -2
  38. data/test/sixarm_ruby_ramp_test/pairable_test.rb +2 -2
  39. data/test/sixarm_ruby_ramp_test/process_test.rb +2 -2
  40. data/test/sixarm_ruby_ramp_test/string_test.rb +2 -2
  41. data/test/sixarm_ruby_ramp_test/symbol_test.rb +2 -2
  42. data/test/sixarm_ruby_ramp_test/time_test.rb +2 -2
  43. data/test/sixarm_ruby_ramp_test/xml_test.rb +2 -2
  44. data/test/sixarm_ruby_ramp_test/yaml_test.rb +6 -3
  45. metadata +5 -3
  46. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a821169d3c371f60d7d48f2084ee1b6cceceecd9
4
- data.tar.gz: 96510d04fe9d8bb4d695c3e101cab563653310c6
3
+ metadata.gz: e7a09b3f5a55209f6e750428efe99e0dd27b39d6
4
+ data.tar.gz: 7ddd7f2b6fdd77aa42b18ee5cddc54789c521f36
5
5
  SHA512:
6
- metadata.gz: a5ece89814f03fd98c3c2f1d87d682828a90ba79e48d7a4122be16bc2af3ee208ab36f2de4c0ef3d247c8c65af482b46a3710a6a980cf80bf66eb037de170209
7
- data.tar.gz: 601811bc53253b62be8c3c8ef88f653f78c72c9bc6101954c7109a3bc91369141fa543de13910fc3ead9981b8145c408442c7f83b430d4e59ef6ea28e0582352
6
+ metadata.gz: d98a9cc2f187fa3ebc8e2cbe26b103746dd6b02590f907c526a044dd02c5273715654cc5f256e457abe29edc0024a49da0d758d83926c415d5ba37eb92340e4d
7
+ data.tar.gz: 77a21d90aa018a1c21b6b7c3a3d29c561bd3c427cf267a64a9c6308e9fc6c238597ced3d59692d703f3036f84a648b06178808ffc0d0a1b7c279f168fa730c51
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGES.md ADDED
@@ -0,0 +1,24 @@
1
+ # Changes
2
+
3
+ * 2015-07-07 4.2.3 Update gemspec to use file manifest
4
+ * 2015-03-14 4.2.1 Conditionally load `Array#shuffle*`
5
+ * 2015-03-14 4.2.0 Add `Integer#rbit`
6
+ * 2015-01-13 4.1.0 Fix Enumerable `to_h` and add `to_h_merge`
7
+ * 2015-01-13 4.0.1 Fix for Process.ps keys
8
+ * 2014-12-17 4.0.0 Add `Pairable` methods; change semantics of `Hash#map_pair`; change `to_h` for Ruby 2.2.0
9
+ * 2013-08-19 3.0.1 Update for Code Climate, Travis CI, gem dependencies
10
+ * 2013-08-18 3.0.0 Update to Ruby 2
11
+ * 2012-09-01 2.1.7 Add Numeric#floor_precision
12
+ * 2012-03-14 2.1.6 Update docs, tests
13
+ * 2.1.6 Refactor XML#strip* methods to new sixarm_ruby_xml_strip gem
14
+ * 2.1.5 Refactor XML#load* methods to new sixarm_ruby_xml_load gem
15
+ * 2.1.4 Refactor REXML extensions to new sixarm_ruby_rexml gem
16
+ * 2.1.3 Remove dependency on sixarm_ruby_array_slice
17
+ * 2.1.2 Refactor Array#slices and #divvy to sixarm_ruby_array_slice gem with better method names
18
+ * 2.1.0 Upgrades for Ruby 1.9.3; better README, new CHANGELOG, less YAML, etc.
19
+ * 2.0.x Upgrades for Ruby 1.9.2; add methods; lift some methods to their own gems
20
+ * 1.8.x 100% rcov coverage; add methods
21
+ * 1.7.x Enable gemcutter; add methods; remove sqlite dependency
22
+ * 1.6.x Upgrades for Ruby 1.9.1; improve structure; add methods
23
+ * 1.5.0 Combined all Ruby extension files into one gem
24
+ * 1.0.0 Original
data/LICENSE.md ADDED
@@ -0,0 +1,28 @@
1
+ # License
2
+
3
+ You may choose any of these open source licenses:
4
+
5
+ * Apache License
6
+ * BSD License
7
+ * CreativeCommons License, Non-commercial Share Alike
8
+ * GNU Affero General Public License (AGPL)
9
+ * GNU General Public License Version (GPL)
10
+ * GNU Lesser General Public License (LGPL)
11
+ * MIT License
12
+ * Perl Artistic License
13
+ * Ruby License
14
+
15
+ The software is provided "as is", without warranty of any kind,
16
+ express or implied, including but not limited to the warranties of
17
+ merchantability, fitness for a particular purpose and noninfringement.
18
+
19
+ In no event shall the authors or copyright holders be liable for any
20
+ claim, damages or other liability, whether in an action of contract,
21
+ tort or otherwise, arising from, out of or in connection with the
22
+ software or the use or other dealings in the software.
23
+
24
+ This license is for the included software that is created by SixArm.
25
+ Some of the included software may have its own licenses, copyrights,
26
+ authors, etc. and these may take precedence over the SixArm license.
27
+
28
+ Copyright (c) Joel Parker Henderson
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # SixArm.com » Ruby » <br> Ramp is a toolkit of Ruby base class extensions
1
+ # SixArm.com » Ruby » <br> Ramp is a toolkit of Ruby extensions
2
2
 
3
3
  [![Code Climate](https://codeclimate.com/github/SixArm/sixarm_ruby_ramp.png)](https://codeclimate.com/github/SixArm/sixarm_ruby_ramp)
4
4
  [![Build Status](https://travis-ci.org/SixArm/sixarm_ruby_ramp.png)](https://travis-ci.org/SixArm/sixarm_ruby_ramp)
@@ -247,57 +247,3 @@ Extensions that help debug Ruby programs.
247
247
 
248
248
  * (class) load_dir: specify directory patterns and pass each YAML file in the matching directories to a block; see [Dir#glob](http://www.ruby-doc.org/core/classes/Dir.html#M002347) for pattern details.
249
249
  * (class) load_dir_pairs: specify directory patterns and pass each YAML file in the matching directories to a block to process key/value pairs.
250
-
251
-
252
- ## Changes
253
-
254
- * 2015-03-14 4.2.1 Conditionally load `Array#shuffle*`
255
- * 2015-03-14 4.2.0 Add `Integer#rbit`
256
- * 2015-01-13 4.1.0 Fix Enumerable `to_h` and add `to_h_merge`
257
- * 2015-01-13 4.0.1 Fix for Process.ps keys
258
- * 2014-12-17 4.0.0 Add `Pairable` methods; change semantics of `Hash#map_pair`; change `to_h` for Ruby 2.2.0
259
- * 2013-08-19 3.0.1 Update for Code Climate, Travis CI, gem dependencies
260
- * 2013-08-18 3.0.0 Update to Ruby 2
261
- * 2012-09-01 2.1.7 Add Numeric#floor_precision
262
- * 2012-03-14 2.1.6 Update docs, tests
263
- * 2.1.6 Refactor XML#strip* methods to new sixarm_ruby_xml_strip gem.
264
- * 2.1.5 Refactor XML#load* methods to new sixarm_ruby_xml_load gem.
265
- * 2.1.4 Refactor REXML extensions to new sixarm_ruby_rexml gem.
266
- * 2.1.3 Remove dependency on sixarm_ruby_array_slice
267
- * 2.1.2 Refactor Array#slices and #divvy to sixarm_ruby_array_slice gem with better method names.
268
- * 2.1.0 Upgrades for Ruby 1.9.3; better README, new CHANGELOG, less YAML, etc.
269
- * 2.0.x Upgrades for Ruby 1.9.2; add methods; lift some methods to their own gems
270
- * 1.8.x 100% rcov coverage; add methods
271
- * 1.7.x Enable gemcutter; add methods; remove sqlite dependency
272
- * 1.6.x Upgrades for Ruby 1.9.1; improve structure; add methods
273
- * 1.5.0 Combined all Ruby extension files into one gem
274
- * 1.0.0 Original
275
-
276
-
277
- ## License
278
-
279
- You may choose any of these open source licenses:
280
-
281
- * Apache License
282
- * BSD License
283
- * CreativeCommons License, Non-commercial Share Alike
284
- * GNU General Public License Version 2 (GPL 2)
285
- * GNU Lesser General Public License (LGPL)
286
- * MIT License
287
- * Perl Artistic License
288
- * Ruby License
289
-
290
- The software is provided "as is", without warranty of any kind,
291
- express or implied, including but not limited to the warranties of
292
- merchantability, fitness for a particular purpose and noninfringement.
293
-
294
- In no event shall the authors or copyright holders be liable for any
295
- claim, damages or other liability, whether in an action of contract,
296
- tort or otherwise, arising from, out of or in connection with the
297
- software or the use or other dealings in the software.
298
-
299
- This license is for the included software that is created by SixArm;
300
- some of the included software may have its own licenses, copyrights,
301
- authors, etc. and these do take precedence over the SixArm license.
302
-
303
- Copyright (c) 2005-2015 Joel Parker Henderson
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'rake'
3
- require 'rake/testtask'
2
+ require "rake"
3
+ require "rake/testtask"
4
4
 
5
5
  Rake::TestTask.new(:test) do |t|
6
6
  t.libs << 'lib' << 'test'
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'csv'
2
+ require "csv"
3
3
 
4
4
  class Array
5
5
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- require 'date'
3
+ require "date"
4
4
 
5
5
  # Date extensions
6
6
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Enumerable extensions
3
3
 
4
- require 'set'
4
+ require "set"
5
5
  module Enumerable
6
6
 
7
7
  ########################################################################
@@ -5,7 +5,7 @@ module Enumerable
5
5
  # enum.select_while {|obj| block }
6
6
  # => array
7
7
  #
8
- # @return [Array<Object>] the leading elements for which block is not false or nil.
8
+ # @return [Array<Object>] the leading elements for which block is truthy.
9
9
  #
10
10
  def select_while
11
11
  arr = []
@@ -17,7 +17,7 @@ module Enumerable
17
17
  # enum.select_until {|obj| block }
18
18
  # => array
19
19
  #
20
- # @return [Array<Object>] the leading elements for which block is false or nil.
20
+ # @return [Array<Object>] the leading elements for which block is falsey.
21
21
  #
22
22
  def select_until
23
23
  arr = []
@@ -31,7 +31,7 @@ module Enumerable
31
31
  # enum.select_with_index {|obj,i| block }
32
32
  # => array
33
33
  #
34
- # @return [Array<Object> the leading elements for which block is not false or nil.
34
+ # @return [Array<Object> the leading elements for which block is truthy.
35
35
  #
36
36
  def select_with_index
37
37
  index = 0
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- require 'yaml'
3
+ require "yaml"
4
4
  require_relative 'pairable'
5
5
 
6
6
  # Hash extensions
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'pp'
3
- require 'stringio'
2
+ require "pp"
3
+ require "stringio"
4
4
 
5
5
  # Kernel extensions
6
6
 
@@ -135,8 +135,12 @@ module Process
135
135
  end
136
136
 
137
137
  # The list of process keywords.
138
-
139
- PS_KEYS_DEFAULT=%w'%cpu %mem acflag acflg args blocked comm command cpu cputime etime f flags gid group inblk inblock jobc ktrace ktracep lim login logname lstart majflt minflt msgrcv msgsnd ni nice nivcsw nsignals nsigs nswap nvcsw nwchan oublk oublock p_ru paddr pagein pcpu pending pgid pid pmem ppid pri pstime putime re rgid rgroup rss ruid ruser sess sig sigmask sl start stat state stime svgid svuid tdev time tpgid tsess tsiz tt tty ucomm uid upr user usrpri utime vsize vsz wchan wq wqb wql wqr xstat'
138
+ #
139
+ # Omit:
140
+ #
141
+ # * pstime, putime, wq, wqb, wql, wqr: not available on travis-ci.org
142
+ #
143
+ PS_KEYS_DEFAULT=%w'%cpu %mem acflag acflg args blocked comm command cpu cputime etime f flags gid group inblk inblock jobc ktrace ktracep lim login logname lstart majflt minflt msgrcv msgsnd ni nice nivcsw nsignals nsigs nswap nvcsw nwchan oublk oublock p_ru paddr pagein pcpu pending pgid pid pmem ppid pri rgid rgroup rss ruid ruser sess sig sigmask sl start stat state stime svgid svuid tdev time tpgid tsess tsiz tt tty ucomm uid upr user usrpri utime vsize vsz wchan xstat'
140
144
 
141
145
  # Get the list of process keywords.
142
146
  #
@@ -163,14 +167,40 @@ module Process
163
167
  end
164
168
 
165
169
  # The process command, i.e. what the sytem will call for the "ps" command.
166
-
167
- PS_COMMAND_DEFAULT="ps hww -o #{ps_keys.join(',')}"
170
+ #
171
+ # The goal is to use command that works on all platforms,
172
+ # that gets data without headers and with the widest output.
173
+ #
174
+ # Linux can use e.g.:
175
+ #
176
+ # ps hww -o pid,%cpu
177
+ #
178
+ # Note the "h" is less portable; we prefer "--no-headers".
179
+ #
180
+ # Note the "ww" is less portable; we prefer "-w -w".
181
+ #
182
+ # OSX doesn't have "h" or "--no-headers". Instead, OSX uses a format
183
+ # string to set each column header to blank, e.g. `ps -o 'pid=,%cpu='`.
184
+ #
185
+ # A workaroud is to delete the header row by using `sed 1d`;
186
+ # we prefer a pure `ps` solution so we don't depend on `sed`.
187
+ #
188
+ # The solution we use seems to work in practice:
189
+ # we use multiple `-o` output fields, and set each
190
+ # output field to use a blank string as a header.
191
+ # This makes the `ps` command skip the header row.
192
+ #
193
+ # Example that succeeds on all our known systems:
194
+ #
195
+ # ps -o pid='' -o %cpu='' -o %mem=''
196
+ #
197
+ PS_COMMAND_DEFAULT="ps " + ps_keys.map{|k| "-o #{k}=''"}.join(" ")
168
198
 
169
199
  # Get the process command, i.e. what the sytem will call for the "ps" command.
170
200
  #
171
201
  # @example
172
202
  # Process.ps_command
173
- # => "ps h ww -o blocked,group,pending,size"
203
+ # => "ps -o blocked='' -o group='' -o pending='' -o size=''"
174
204
  #
175
205
  # @return [String] the process command
176
206
  #
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'yaml'
2
+ require "yaml"
3
3
 
4
4
  # YAML extensions
5
5
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
2
+ require "minitest/autorun"
3
3
  Minitest::Test ||= MiniTest::Unit::TestCase
4
- require 'simplecov'
4
+ require "simplecov"
5
5
  SimpleCov.start
6
6
 
7
7
  [
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp/array/join'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp/array/join"
4
4
 
5
5
  class ArrayJoinTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp/array/shuffle'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp/array/shuffle"
4
4
 
5
5
  class ArrayTest < Minitest::Test
6
6
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'csv'
4
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "csv"
4
+ require "sixarm_ruby_ramp"
5
5
 
6
6
 
7
7
  class ArrayTest < Minitest::Test
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
 
6
6
  class ClassTest < Minitest::Test
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
 
6
6
  class CSVTest < Minitest::Test
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
 
6
6
  class DateTest < Minitest::Test
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp/enumerable/map'
4
- require 'ostruct'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp/enumerable/map"
4
+ require "ostruct"
5
5
 
6
6
  class EnumerableMapTest < Minitest::Test
7
7
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp/enumerable/nitems'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp/enumerable/nitems"
4
4
 
5
5
  class EnumerableNItemsTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp/enumerable/select'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp/enumerable/select"
4
4
 
5
5
  class EnumerableSelectTest < Minitest::Test
6
6
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
4
- require 'set'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
+ require "set"
5
5
 
6
6
 
7
7
  class EnumerableTest < Minitest::Test
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
 
6
6
  class FileTestCase < Minitest::Test
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
 
6
6
  class FixnumTest < Minitest::Test
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class HashTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp/integer/rbit'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp/integer/rbit"
4
4
 
5
5
  class IntegerTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
 
6
6
  class IntegerTest < Minitest::Test
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class IOTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class KernelTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class MathTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class NilTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class NumericTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class ObjectTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class PairableTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class ProcessTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
 
6
6
  class StringTest < Minitest::Test
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
 
6
6
  class SymbolTest < Minitest::Test
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class TimeTest < Minitest::Test
6
6
 
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ require "sixarm_ruby_ramp"
4
4
 
5
5
  class XMLTest < Minitest::Test
6
6
 
@@ -1,8 +1,11 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'sixarm_ruby_ramp'
2
+ require "minitest/autorun"
3
+ Minitest::Test ||= MiniTest::Unit::TestCase
4
+ require "simplecov"
5
+ SimpleCov.start
6
+
7
+ require "sixarm_ruby_ramp"
4
8
 
5
9
  class YAMLTest < Minitest::Test
6
10
 
7
11
  end
8
-
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.2
4
+ version: 4.2.3
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-04-04 00:00:00.000000000 Z
47
+ date: 2015-07-08 00:00:00.000000000 Z
48
48
  dependencies:
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: sixarm_ruby_rexml
@@ -114,7 +114,9 @@ extensions: []
114
114
  extra_rdoc_files: []
115
115
  files:
116
116
  - ".gemtest"
117
+ - CHANGES.md
117
118
  - CONTRIBUTING.md
119
+ - LICENSE.md
118
120
  - README.md
119
121
  - Rakefile
120
122
  - VERSION
@@ -201,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
203
  version: '0'
202
204
  requirements: []
203
205
  rubyforge_project:
204
- rubygems_version: 2.4.5
206
+ rubygems_version: 2.4.8
205
207
  signing_key:
206
208
  specification_version: 4
207
209
  summary: SixArm.com » Ruby » Ramp provides base extensions to ruby classes.
metadata.gz.sig CHANGED
Binary file