glowing-archer 0.0.6.3 → 0.0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/lib/glowing-archer/rails/array.rb +2 -2
- data/lib/glowing-archer/version.rb +1 -1
- data/spec/glowing_archer_spec.rb +23 -0
- data/spec/spec_helper.rb +8 -0
- metadata +8 -4
data/Gemfile
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Glowing::Archer do
|
4
|
+
|
5
|
+
context "Array" do
|
6
|
+
it "should drop_nils from arrays" do
|
7
|
+
["", "a"].drop_nil.should eq ["a"]
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
context "Boolean" do
|
12
|
+
end
|
13
|
+
|
14
|
+
context "Numeric" do
|
15
|
+
end
|
16
|
+
|
17
|
+
context "String" do
|
18
|
+
end
|
19
|
+
|
20
|
+
context "Time" do
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glowing-archer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.6.
|
4
|
+
version: 0.0.6.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -48,6 +48,8 @@ files:
|
|
48
48
|
- lib/glowing-archer/rails/string.rb
|
49
49
|
- lib/glowing-archer/rails/time.rb
|
50
50
|
- lib/glowing-archer/version.rb
|
51
|
+
- spec/glowing_archer_spec.rb
|
52
|
+
- spec/spec_helper.rb
|
51
53
|
homepage: https://github.com/johnantoni/glowing-archer
|
52
54
|
licenses: []
|
53
55
|
post_install_message:
|
@@ -62,7 +64,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
64
|
version: '0'
|
63
65
|
segments:
|
64
66
|
- 0
|
65
|
-
hash:
|
67
|
+
hash: 1656255534451648988
|
66
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
69
|
none: false
|
68
70
|
requirements:
|
@@ -71,11 +73,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
73
|
version: '0'
|
72
74
|
segments:
|
73
75
|
- 0
|
74
|
-
hash:
|
76
|
+
hash: 1656255534451648988
|
75
77
|
requirements: []
|
76
78
|
rubyforge_project:
|
77
79
|
rubygems_version: 1.8.23
|
78
80
|
signing_key:
|
79
81
|
specification_version: 3
|
80
82
|
summary: addons to help arrays, strings, etc. i keep on using
|
81
|
-
test_files:
|
83
|
+
test_files:
|
84
|
+
- spec/glowing_archer_spec.rb
|
85
|
+
- spec/spec_helper.rb
|