rack-restful_submit 1.1.1 → 1.1.2
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/README.markdown +1 -0
- data/lib/rack/rack-restful_submit.rb +2 -2
- data/rack-restful_submit.gemspec +1 -1
- data/spec/rack-restful_submit_spec.rb +2 -0
- metadata +4 -4
data/README.markdown
CHANGED
data/rack-restful_submit.gemspec
CHANGED
@@ -74,6 +74,7 @@ describe Rack::RestfulSubmit do
|
|
74
74
|
end
|
75
75
|
|
76
76
|
it { out_env['REQUEST_METHOD'].should == method }
|
77
|
+
it { app.should_receive(:call).once.with(in_env); out_env }
|
77
78
|
end
|
78
79
|
|
79
80
|
describe "with #{method} and valid __rewrite args" do
|
@@ -103,6 +104,7 @@ describe Rack::RestfulSubmit do
|
|
103
104
|
end
|
104
105
|
|
105
106
|
it { out_env['REQUEST_METHOD'].should == method }
|
107
|
+
it { app.should_receive(:call).once.with(in_env); out_env }
|
106
108
|
end
|
107
109
|
end
|
108
110
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-restful_submit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 2
|
10
|
+
version: 1.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ladislav Martincik
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-15 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|