riveter 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +17 -7
- data/lib/riveter/command.rb +4 -0
- data/lib/riveter/version.rb +1 -1
- data/spec/riveter/command_spec.rb +14 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 849dcddba56b040d3ecd567651c3345eb5b7c2ea
|
4
|
+
data.tar.gz: 63e21ab07b3ba2ac97ef07fb26a894c6b4f8b0b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84fdde38d402187da7d911eee517a6baba54fd0d694ac200b58d91f0ba80b966cc0fdf7ff5e990b2324c6d3721b327b6217573972dc68112a6f781af47e44313
|
7
|
+
data.tar.gz: 2880503d4a14e09fefc8138e186aac9623cd7f977554fb80b472c5a4e5d2df1038a9988eed97a430d18dcbbf1290d013b624f83191360fc9afa1b1e8e34358af
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
riveter (0.0.
|
4
|
+
riveter (0.0.14)
|
5
5
|
actionpack (>= 4.1.0)
|
6
6
|
activemodel (>= 4.1.0)
|
7
7
|
activerecord (>= 4.1.0)
|
@@ -49,7 +49,7 @@ GEM
|
|
49
49
|
debugger-linecache (~> 1.2)
|
50
50
|
slop (~> 3.6)
|
51
51
|
coderay (1.1.0)
|
52
|
-
columnize (0.
|
52
|
+
columnize (0.9.0)
|
53
53
|
coveralls (0.7.2)
|
54
54
|
multi_json (~> 1.3)
|
55
55
|
rest-client (= 1.6.7)
|
@@ -60,21 +60,28 @@ GEM
|
|
60
60
|
diff-lcs (1.2.5)
|
61
61
|
docile (1.1.5)
|
62
62
|
erubis (2.7.0)
|
63
|
-
haml (4.0.
|
63
|
+
haml (4.1.0.beta.1)
|
64
64
|
tilt
|
65
|
-
haml-rails (0.
|
65
|
+
haml-rails (0.6.0)
|
66
66
|
actionpack (>= 4.0.1)
|
67
67
|
activesupport (>= 4.0.1)
|
68
68
|
haml (>= 3.1, < 5.0)
|
69
|
+
html2haml (>= 1.0.1)
|
69
70
|
railties (>= 4.0.1)
|
70
71
|
hike (1.2.3)
|
72
|
+
hpricot (0.8.6)
|
73
|
+
html2haml (1.0.1)
|
74
|
+
erubis (~> 2.7.0)
|
75
|
+
haml (>= 4.0.0.rc.1)
|
76
|
+
hpricot (~> 0.8.6)
|
77
|
+
ruby_parser (~> 3.1.1)
|
71
78
|
i18n (0.6.11)
|
72
79
|
json (1.8.1)
|
73
80
|
mail (2.6.3)
|
74
81
|
mime-types (>= 1.16, < 3)
|
75
82
|
method_source (0.8.2)
|
76
83
|
mime-types (2.4.3)
|
77
|
-
minitest (5.
|
84
|
+
minitest (5.5.0)
|
78
85
|
multi_json (1.10.1)
|
79
86
|
pry (0.10.1)
|
80
87
|
coderay (~> 1.1.0)
|
@@ -101,7 +108,7 @@ GEM
|
|
101
108
|
activesupport (= 4.1.8)
|
102
109
|
rake (>= 0.8.7)
|
103
110
|
thor (>= 0.18.1, < 2.0)
|
104
|
-
rake (10.4.
|
111
|
+
rake (10.4.2)
|
105
112
|
rest-client (1.6.7)
|
106
113
|
mime-types (>= 1.16)
|
107
114
|
rspec-core (3.1.7)
|
@@ -120,6 +127,9 @@ GEM
|
|
120
127
|
rspec-mocks (~> 3.1.0)
|
121
128
|
rspec-support (~> 3.1.0)
|
122
129
|
rspec-support (3.1.2)
|
130
|
+
ruby_parser (3.1.3)
|
131
|
+
sexp_processor (~> 4.1)
|
132
|
+
sexp_processor (4.4.4)
|
123
133
|
shoulda-matchers (2.7.0)
|
124
134
|
activesupport (>= 3.0.0)
|
125
135
|
simplecov (0.9.1)
|
@@ -133,7 +143,7 @@ GEM
|
|
133
143
|
multi_json (~> 1.0)
|
134
144
|
rack (~> 1.0)
|
135
145
|
tilt (~> 1.1, != 1.3.0)
|
136
|
-
sprockets-rails (2.2.
|
146
|
+
sprockets-rails (2.2.2)
|
137
147
|
actionpack (>= 3.0)
|
138
148
|
activesupport (>= 3.0)
|
139
149
|
sprockets (>= 2.8, < 4.0)
|
data/lib/riveter/command.rb
CHANGED
data/lib/riveter/version.rb
CHANGED
@@ -20,6 +20,20 @@ describe Riveter::Command do
|
|
20
20
|
it { should respond_to(:success_notice) }
|
21
21
|
it { subject.success_notice.should eq('Successfully executed Test command.') }
|
22
22
|
end
|
23
|
+
|
24
|
+
describe ".submit" do
|
25
|
+
it { should respond_to(:submit) }
|
26
|
+
|
27
|
+
it "should yield false when invalid" do
|
28
|
+
allow_any_instance_of(TestCommand).to receive(:submit) { false }
|
29
|
+
subject.submit().should eq(false)
|
30
|
+
end
|
31
|
+
|
32
|
+
it "should yield true when valid" do
|
33
|
+
allow_any_instance_of(TestCommand).to receive(:submit) { true }
|
34
|
+
subject.submit().should eq(true)
|
35
|
+
end
|
36
|
+
end
|
23
37
|
end
|
24
38
|
|
25
39
|
describe "instance" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riveter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Stefano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|