sane 0.14.0 → 0.15.0

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.14.0
1
+ 0.15.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sane}
8
- s.version = "0.14.0"
8
+ s.version = "0.15.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roger Pack"]
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
36
36
  "lib/sane/irb_startup_options.rb",
37
37
  "lib/sane/sane_random.rb",
38
38
  "sane.gemspec",
39
- "spec/test_sane.spec",
39
+ "spec/spec.sane.rb",
40
40
  "todo"
41
41
  ]
42
42
  s.homepage = %q{http://github.com/rogerdpack/sane_ruby}
@@ -44,6 +44,9 @@ Gem::Specification.new do |s|
44
44
  s.require_paths = ["lib"]
45
45
  s.rubygems_version = %q{1.3.5}
46
46
  s.summary = %q{Helpers for ruby core to make it easier to work with--things that are missing from core but should arguably be there}
47
+ s.test_files = [
48
+ "spec/spec.sane.rb"
49
+ ]
47
50
 
48
51
  if s.respond_to? :specification_version then
49
52
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
@@ -104,5 +104,13 @@ describe Sane do
104
104
  assert [].blank?
105
105
  assert [].empty?
106
106
  end
107
+
108
+ it "should have a select!" do
109
+ a = [1,2,3].select!{|n| n < 3}
110
+ a.length.should == 2
111
+ a = [1,2,3]
112
+ a.select!{|n| n < 3}
113
+ a.length.should == 2
114
+ end
107
115
 
108
116
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Pack
@@ -72,7 +72,7 @@ files:
72
72
  - lib/sane/irb_startup_options.rb
73
73
  - lib/sane/sane_random.rb
74
74
  - sane.gemspec
75
- - spec/test_sane.spec
75
+ - spec/spec.sane.rb
76
76
  - todo
77
77
  - TODO
78
78
  has_rdoc: true
@@ -103,5 +103,5 @@ rubygems_version: 1.3.5
103
103
  signing_key:
104
104
  specification_version: 3
105
105
  summary: Helpers for ruby core to make it easier to work with--things that are missing from core but should arguably be there
106
- test_files: []
107
-
106
+ test_files:
107
+ - spec/spec.sane.rb