sane 0.11.0 → 0.11.1
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 +1 -1
- data/sane.gemspec +2 -2
- data/spec/test_sane.spec +11 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.1
|
data/sane.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sane}
|
8
|
-
s.version = "0.11.
|
8
|
+
s.version = "0.11.1"
|
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"]
|
12
|
-
s.date = %q{2009-12-
|
12
|
+
s.date = %q{2009-12-15}
|
13
13
|
s.description = %q{Helpers for ruby core to make it easier to work with--things that are missing from core but should arguably be there}
|
14
14
|
s.email = ["rogerdpack@gmail.com"]
|
15
15
|
s.extra_rdoc_files = [
|
data/spec/test_sane.spec
CHANGED
@@ -94,5 +94,16 @@ describe Sane do
|
|
94
94
|
it "should have an sputs method that outputs " do
|
95
95
|
sputs 1,2,3
|
96
96
|
end
|
97
|
+
|
98
|
+
it "should allow for map_by" do
|
99
|
+
pending 'doing it'
|
100
|
+
["1"].map_by(:to_i).should == [1]
|
101
|
+
["1"].collect_by(:to_i).should == [1]
|
102
|
+
end
|
103
|
+
|
104
|
+
it "should allow for contain? and include?" do
|
105
|
+
assert "a".include? "a"
|
106
|
+
assert "a".contain? "a"
|
107
|
+
end
|
97
108
|
|
98
109
|
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.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roger Pack
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-15 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|