rest-assured 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +1 -0
- data/Gemfile.lock +102 -93
- data/README.markdown +13 -9
- data/lib/rest-assured/version.rb +1 -1
- data/rest-assured.gemspec +3 -3
- data/spec/api/app_session_spec.rb +1 -1
- data/spec/api/server_spec.rb +6 -6
- data/spec/functional/response_spec.rb +3 -3
- metadata +15 -31
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5a50a1e306575f4a7c73365b64a6fc6abf0c139c
|
4
|
+
data.tar.gz: fb73213b07fda9c2e2ce7abd100c38f9230cab78
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5786d47d868597b6e57b48c0908722f7481a3c92aa5c7b031a3b67a5521cfe7c46f7c5cfa88e8c10851559cec6e45841d1c63073c7cbfe7e711c4306ade91c44
|
7
|
+
data.tar.gz: 9f22145aee938790ff0c345548e6ce9b4a13a3fd6883b7105c864bab16007e5028b8e4644b0bcffad97c3bc4e0fca96d05d346db50797bf330d1395b141482ea
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,41 +1,39 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rest-assured (1.2.
|
5
|
-
activerecord (~> 3.
|
6
|
-
activeresource (~> 3.
|
4
|
+
rest-assured (1.2.2)
|
5
|
+
activerecord (~> 3.0)
|
6
|
+
activeresource (~> 3.0)
|
7
7
|
childprocess (~> 0.3)
|
8
8
|
haml (~> 4.0)
|
9
9
|
sinatra (~> 1.4.0)
|
10
10
|
sinatra-flash
|
11
|
-
thin (~> 1.
|
11
|
+
thin (~> 1.6)
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
activemodel (3.2.
|
17
|
-
activesupport (= 3.2.
|
16
|
+
activemodel (3.2.16)
|
17
|
+
activesupport (= 3.2.16)
|
18
18
|
builder (~> 3.0.0)
|
19
|
-
activerecord (3.2.
|
20
|
-
activemodel (= 3.2.
|
21
|
-
activesupport (= 3.2.
|
19
|
+
activerecord (3.2.16)
|
20
|
+
activemodel (= 3.2.16)
|
21
|
+
activesupport (= 3.2.16)
|
22
22
|
arel (~> 3.0.2)
|
23
23
|
tzinfo (~> 0.3.29)
|
24
|
-
activeresource (3.2.
|
25
|
-
activemodel (= 3.2.
|
26
|
-
activesupport (= 3.2.
|
27
|
-
activesupport (3.2.
|
28
|
-
i18n (
|
24
|
+
activeresource (3.2.16)
|
25
|
+
activemodel (= 3.2.16)
|
26
|
+
activesupport (= 3.2.16)
|
27
|
+
activesupport (3.2.16)
|
28
|
+
i18n (~> 0.6, >= 0.6.4)
|
29
29
|
multi_json (~> 1.0)
|
30
|
-
addressable (2.3.
|
31
|
-
anticipate (0.
|
30
|
+
addressable (2.3.5)
|
31
|
+
anticipate (0.1.1)
|
32
32
|
archive-tar-minitar (0.5.2)
|
33
|
-
arel (3.0.
|
34
|
-
awesome_print (1.
|
35
|
-
binding_of_caller (0.7.
|
33
|
+
arel (3.0.3)
|
34
|
+
awesome_print (1.2.0)
|
35
|
+
binding_of_caller (0.7.2)
|
36
36
|
debug_inspector (>= 0.0.1)
|
37
|
-
bourne (1.4.0)
|
38
|
-
mocha (~> 0.13.2)
|
39
37
|
builder (3.0.4)
|
40
38
|
capybara (1.1.4)
|
41
39
|
mime-types (>= 1.16)
|
@@ -44,125 +42,136 @@ GEM
|
|
44
42
|
rack-test (>= 0.5.4)
|
45
43
|
selenium-webdriver (~> 2.0)
|
46
44
|
xpath (~> 0.1.4)
|
45
|
+
celluloid (0.15.2)
|
46
|
+
timers (~> 1.1.0)
|
47
47
|
childprocess (0.3.9)
|
48
48
|
ffi (~> 1.0, >= 1.0.11)
|
49
49
|
chromedriver-helper (0.0.5)
|
50
50
|
nokogiri
|
51
|
-
coderay (1.0
|
51
|
+
coderay (1.1.0)
|
52
52
|
columnize (0.3.6)
|
53
|
-
cucumber (1.
|
53
|
+
cucumber (1.3.10)
|
54
54
|
builder (>= 2.1.2)
|
55
55
|
diff-lcs (>= 1.1.3)
|
56
|
-
gherkin (~> 2.
|
57
|
-
multi_json (
|
56
|
+
gherkin (~> 2.12)
|
57
|
+
multi_json (>= 1.7.5, < 2.0)
|
58
|
+
multi_test (>= 0.0.2)
|
58
59
|
daemons (1.1.9)
|
59
|
-
database_cleaner (
|
60
|
+
database_cleaner (1.2.0)
|
60
61
|
debug_inspector (0.0.2)
|
61
|
-
debugger (1.
|
62
|
+
debugger (1.6.4)
|
62
63
|
columnize (>= 0.3.1)
|
63
64
|
debugger-linecache (~> 1.2.0)
|
64
|
-
debugger-ruby_core_source (~> 1.
|
65
|
+
debugger-ruby_core_source (~> 1.3.0)
|
65
66
|
debugger-linecache (1.2.0)
|
66
|
-
debugger-ruby_core_source (1.
|
67
|
-
diff-lcs (1.2.
|
67
|
+
debugger-ruby_core_source (1.3.0)
|
68
|
+
diff-lcs (1.2.5)
|
69
|
+
docile (1.1.1)
|
68
70
|
eventmachine (1.0.3)
|
69
|
-
ffi (1.
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
71
|
+
ffi (1.9.3)
|
72
|
+
formatador (0.2.4)
|
73
|
+
gherkin (2.12.2)
|
74
|
+
multi_json (~> 1.3)
|
75
|
+
guard (2.2.5)
|
76
|
+
formatador (>= 0.2.4)
|
77
|
+
listen (~> 2.1)
|
78
|
+
lumberjack (~> 1.0)
|
79
|
+
pry (>= 0.9.12)
|
80
|
+
thor (>= 0.18.1)
|
81
|
+
guard-spork (1.5.1)
|
79
82
|
childprocess (>= 0.2.3)
|
80
83
|
guard (>= 1.1)
|
81
84
|
spork (>= 0.8.4)
|
82
|
-
haml (4.0.
|
85
|
+
haml (4.0.4)
|
83
86
|
tilt
|
84
|
-
i18n (0.6.
|
85
|
-
json (1.
|
86
|
-
launchy (2.2
|
87
|
+
i18n (0.6.9)
|
88
|
+
json (1.8.1)
|
89
|
+
launchy (2.4.2)
|
87
90
|
addressable (~> 2.3)
|
88
|
-
listen (
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
91
|
+
listen (2.4.0)
|
92
|
+
celluloid (>= 0.15.2)
|
93
|
+
rb-fsevent (>= 0.9.3)
|
94
|
+
rb-inotify (>= 0.9)
|
95
|
+
lumberjack (1.0.4)
|
96
|
+
method_source (0.8.2)
|
97
|
+
mime-types (2.0)
|
98
|
+
mini_portile (0.5.2)
|
99
|
+
multi_json (1.8.2)
|
100
|
+
multi_test (0.0.2)
|
101
|
+
mysql2 (0.3.14)
|
102
|
+
nokogiri (1.6.1)
|
103
|
+
mini_portile (~> 0.5.0)
|
104
|
+
pg (0.17.1)
|
105
|
+
pry (0.9.12.4)
|
106
|
+
coderay (~> 1.0)
|
101
107
|
method_source (~> 0.8)
|
102
108
|
slop (~> 3.4)
|
103
109
|
pry-debugger (0.2.2)
|
104
110
|
debugger (~> 1.3)
|
105
111
|
pry (~> 0.9.10)
|
106
|
-
pry-doc (0.
|
107
|
-
pry (>= 0.9
|
108
|
-
yard (
|
109
|
-
pry-stack_explorer (0.4.9)
|
112
|
+
pry-doc (0.5.1)
|
113
|
+
pry (>= 0.9)
|
114
|
+
yard (>= 0.8)
|
115
|
+
pry-stack_explorer (0.4.9.1)
|
110
116
|
binding_of_caller (>= 0.7)
|
111
|
-
pry (
|
117
|
+
pry (>= 0.9.11)
|
112
118
|
rack (1.5.2)
|
113
|
-
rack-protection (1.5.
|
119
|
+
rack-protection (1.5.1)
|
114
120
|
rack
|
115
121
|
rack-test (0.6.2)
|
116
122
|
rack (>= 1.0)
|
117
|
-
rake (10.
|
118
|
-
|
123
|
+
rake (10.1.1)
|
124
|
+
rb-fsevent (0.9.3)
|
125
|
+
rb-inotify (0.9.3)
|
126
|
+
ffi (>= 0.5.0)
|
127
|
+
relish (0.7)
|
119
128
|
archive-tar-minitar (>= 0.5.2)
|
120
129
|
json (>= 1.4.6)
|
121
130
|
rest-client (>= 1.6.1)
|
122
131
|
rest-client (1.6.7)
|
123
132
|
mime-types (>= 1.16)
|
124
|
-
rspec (2.
|
125
|
-
rspec-core (~> 2.
|
126
|
-
rspec-expectations (~> 2.
|
127
|
-
rspec-mocks (~> 2.
|
128
|
-
rspec-core (2.
|
129
|
-
rspec-expectations (2.
|
133
|
+
rspec (2.14.1)
|
134
|
+
rspec-core (~> 2.14.0)
|
135
|
+
rspec-expectations (~> 2.14.0)
|
136
|
+
rspec-mocks (~> 2.14.0)
|
137
|
+
rspec-core (2.14.7)
|
138
|
+
rspec-expectations (2.14.4)
|
130
139
|
diff-lcs (>= 1.1.3, < 2.0)
|
131
|
-
rspec-mocks (2.
|
132
|
-
rubyzip (
|
133
|
-
selenium-webdriver (2.
|
140
|
+
rspec-mocks (2.14.4)
|
141
|
+
rubyzip (1.1.0)
|
142
|
+
selenium-webdriver (2.39.0)
|
134
143
|
childprocess (>= 0.2.5)
|
135
144
|
multi_json (~> 1.0)
|
136
|
-
rubyzip
|
145
|
+
rubyzip (~> 1.0)
|
137
146
|
websocket (~> 1.0.4)
|
138
|
-
shoulda-matchers (
|
147
|
+
shoulda-matchers (2.4.0)
|
139
148
|
activesupport (>= 3.0.0)
|
140
|
-
|
141
|
-
|
142
|
-
multi_json
|
143
|
-
simplecov-html (~> 0.
|
144
|
-
simplecov-html (0.
|
145
|
-
sinatra (1.4.
|
146
|
-
rack (~> 1.
|
149
|
+
simplecov (0.8.2)
|
150
|
+
docile (~> 1.1.0)
|
151
|
+
multi_json
|
152
|
+
simplecov-html (~> 0.8.0)
|
153
|
+
simplecov-html (0.8.0)
|
154
|
+
sinatra (1.4.4)
|
155
|
+
rack (~> 1.4)
|
147
156
|
rack-protection (~> 1.4)
|
148
157
|
tilt (~> 1.3, >= 1.3.4)
|
149
158
|
sinatra-flash (0.3.0)
|
150
159
|
sinatra (>= 1.0.0)
|
151
|
-
slop (3.4.
|
152
|
-
spork (1.0.
|
153
|
-
sqlite3 (1.3.
|
154
|
-
|
155
|
-
thin (1.5.1)
|
160
|
+
slop (3.4.7)
|
161
|
+
spork (1.0.0rc4)
|
162
|
+
sqlite3 (1.3.8)
|
163
|
+
thin (1.6.1)
|
156
164
|
daemons (>= 1.0.9)
|
157
|
-
eventmachine (>= 0.
|
165
|
+
eventmachine (>= 1.0.0)
|
158
166
|
rack (>= 1.0.0)
|
159
|
-
thor (0.
|
160
|
-
tilt (1.
|
161
|
-
|
167
|
+
thor (0.18.1)
|
168
|
+
tilt (1.4.1)
|
169
|
+
timers (1.1.0)
|
170
|
+
tzinfo (0.3.38)
|
162
171
|
websocket (1.0.7)
|
163
172
|
xpath (0.1.4)
|
164
173
|
nokogiri (~> 1.3)
|
165
|
-
yard (0.8.
|
174
|
+
yard (0.8.7.3)
|
166
175
|
|
167
176
|
PLATFORMS
|
168
177
|
ruby
|
data/README.markdown
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# REST assured
|
2
2
|
|
3
3
|
[![Build status](https://secure.travis-ci.org/artemave/REST-assured.png)](https://travis-ci.org/artemave/REST-assured)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/rest-assured.png)](http://badge.fury.io/rb/rest-assured)
|
5
|
+
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/artemave/rest-assured/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
4
6
|
|
5
7
|
## Overview
|
6
8
|
|
@@ -12,30 +14,32 @@ In a nutshell, you can:
|
|
12
14
|
* verify requests to external services (spying)
|
13
15
|
* simulate different behavior of external services using web UI; useful in development
|
14
16
|
|
15
|
-
Here is how it works. REST-assured starts
|
17
|
+
Here is how it works. REST-assured starts a web server whose routes can be configured at runtime (via ruby client library or REST api) to respond to any request with arbitrary content, status, headers, etc. Configure api endpoints of the application under test to point to REST-assured instead of real services. Now in tests use the REST-assured api to create routes (doubles) that match requests your application is firing. Either to stub content or to verify various aspects of how your application requests dependencies (headers, payload, etc).
|
16
18
|
|
17
|
-
|
19
|
+
<br>
|
20
|
+
[Playground](http://rest-assured.herokuapp.com) (might take few seconds to load while heroku is taking off)
|
21
|
+
|
22
|
+
[Example project](https://github.com/artemave/REST-assured-example)
|
18
23
|
|
19
24
|
|
20
25
|
## Set up
|
21
26
|
|
22
27
|
You are going to need ruby >= 1.8.7 on Linux/MacOS. Also, one of sqlite3, postgres or mysql.
|
23
28
|
|
24
|
-
###
|
29
|
+
### In ruby project
|
25
30
|
|
26
31
|
```ruby
|
27
32
|
# Gemfile
|
28
33
|
gem 'sqlite3' # or mysql2 or pg
|
29
|
-
#
|
30
|
-
|
34
|
+
# use 'jdbcsqlite3' and 'jdbcmysql' for jruby
|
31
35
|
gem 'rest-assured'
|
32
36
|
|
33
37
|
# env.rb/spec_helper.rb
|
34
38
|
require 'rest-assured'
|
35
39
|
|
36
40
|
RestAssured::Server.start(database: ':memory:', port: 7899) # or any other option available on command line
|
37
|
-
#
|
38
|
-
RestAssured::Server.address = 'http://
|
41
|
+
# Or, you can specify an instance that is already running somewhere:
|
42
|
+
RestAssured::Server.address = 'http://wacky-duckling.herokuapp.com'
|
39
43
|
```
|
40
44
|
|
41
45
|
### Standalone instance
|
@@ -44,7 +48,7 @@ Install db client gem:
|
|
44
48
|
|
45
49
|
$ gem install sqlite3 # or mysql2 or pg
|
46
50
|
|
47
|
-
If using mysql/postgres,
|
51
|
+
If using mysql/postgres, create database `rest_assured` accessible by user `root` with no password. Those are defaults and can be changed with cli options.
|
48
52
|
|
49
53
|
Then install gem and run:
|
50
54
|
|
@@ -74,7 +78,7 @@ You can also deploy it to heroku:
|
|
74
78
|
|
75
79
|
## Usage
|
76
80
|
|
77
|
-
REST-assured is all about doubles. Double is a stub/spy of HTTP request. Create one that has the same request fullpath and method as the one your app is sending to a
|
81
|
+
REST-assured is all about doubles. Double is a stub/spy of HTTP request. Create one that has the same request fullpath and method as the one your app is sending to a service it depends on (e.g. twitter) and then convience your app that REST-assured is that dependency (e.g. by swapping endpoints - twitter.com to localhost:4578 - in test environment).
|
78
82
|
|
79
83
|
### Ruby Client
|
80
84
|
|
data/lib/rest-assured/version.rb
CHANGED
data/rest-assured.gemspec
CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_dependency 'childprocess', '~> 0.3'
|
25
25
|
s.add_dependency 'sinatra-flash'
|
26
26
|
s.add_dependency 'haml', '~> 4.0'
|
27
|
-
s.add_dependency 'activerecord', '~> 3.
|
28
|
-
s.add_dependency 'activeresource', '~> 3.
|
29
|
-
s.add_dependency 'thin', '~> 1.
|
27
|
+
s.add_dependency 'activerecord', '~> 3.0'
|
28
|
+
s.add_dependency 'activeresource', '~> 3.0'
|
29
|
+
s.add_dependency 'thin', '~> 1.6'
|
30
30
|
end
|
31
31
|
|
@@ -8,7 +8,7 @@ module RestAssured
|
|
8
8
|
cmdargs = %w{-d :memory: -p 6666}
|
9
9
|
Config.stub(:to_cmdargs => cmdargs)
|
10
10
|
|
11
|
-
ChildProcess.should_receive(:build).with('rest-assured', *cmdargs).and_return(child =
|
11
|
+
ChildProcess.should_receive(:build).with('rest-assured', *cmdargs).and_return(child = double(:io => double))
|
12
12
|
|
13
13
|
state = ''
|
14
14
|
child.io.should_receive(:inherit!) do
|
data/spec/api/server_spec.rb
CHANGED
@@ -10,7 +10,7 @@ module RestAssured
|
|
10
10
|
end
|
11
11
|
|
12
12
|
it 'khows when it is up' do
|
13
|
-
AppSession.stub(:new).and_return(session =
|
13
|
+
AppSession.stub(:new).and_return(session = double(:alive? => true).as_null_object)
|
14
14
|
Utils::PortExplorer.stub(:port_free? => false)
|
15
15
|
|
16
16
|
Server.start
|
@@ -23,7 +23,7 @@ module RestAssured
|
|
23
23
|
end
|
24
24
|
|
25
25
|
it 'if it is starting at the moment' do
|
26
|
-
AppSession.stub(:new).and_return(session =
|
26
|
+
AppSession.stub(:new).and_return(session = double(:alive? => true).as_null_object)
|
27
27
|
Utils::PortExplorer.stub(:port_free? => true)
|
28
28
|
Server.start!
|
29
29
|
|
@@ -33,7 +33,7 @@ module RestAssured
|
|
33
33
|
|
34
34
|
context 'when starts' do
|
35
35
|
it 'makes sure no previous session is running' do
|
36
|
-
session =
|
36
|
+
session = double.as_null_object
|
37
37
|
session.stub(:alive?).and_return(true, false)
|
38
38
|
Utils::PortExplorer.stub(:port_free? => false)
|
39
39
|
AppSession.stub(:new).and_return(session)
|
@@ -85,7 +85,7 @@ module RestAssured
|
|
85
85
|
|
86
86
|
describe 'async/sync start' do
|
87
87
|
before do
|
88
|
-
AppSession.stub(:new).and_return(session =
|
88
|
+
AppSession.stub(:new).and_return(session = double(:alive? => false).as_null_object)
|
89
89
|
Utils::PortExplorer.stub(:port_free? => true)
|
90
90
|
|
91
91
|
@t = Thread.new do
|
@@ -113,7 +113,7 @@ module RestAssured
|
|
113
113
|
|
114
114
|
context 'when stopped' do
|
115
115
|
it 'stops application subprocess' do
|
116
|
-
AppSession.stub(:new).and_return(session =
|
116
|
+
AppSession.stub(:new).and_return(session = double(:alive? => false))
|
117
117
|
Server.start!
|
118
118
|
|
119
119
|
session.should_receive(:stop)
|
@@ -123,7 +123,7 @@ module RestAssured
|
|
123
123
|
|
124
124
|
it 'stops application subprocess when current process exits' do
|
125
125
|
res_file = Tempfile.new('res')
|
126
|
-
AppSession.stub(:new).and_return(session =
|
126
|
+
AppSession.stub(:new).and_return(session = double.as_null_object)
|
127
127
|
session.stub(:alive?).and_return(false)
|
128
128
|
session.stub(:stop) do
|
129
129
|
res_file.write "stopped"
|
@@ -11,14 +11,14 @@ module RestAssured
|
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
|
-
let(:env) {
|
14
|
+
let(:env) { double(:to_json => 'env').as_null_object }
|
15
15
|
let(:request) {
|
16
16
|
double('Request',
|
17
17
|
:request_method => 'GET',
|
18
18
|
:fullpath => '/api',
|
19
19
|
:env => env,
|
20
|
-
:body =>
|
21
|
-
:params =>
|
20
|
+
:body => double(:read => 'body').as_null_object,
|
21
|
+
:params => double(:to_json => 'params')
|
22
22
|
)
|
23
23
|
}
|
24
24
|
let(:rest_assured_app) { double('App', :request => request).as_null_object }
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest-assured
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Artem Avetisyan
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: sinatra
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: childprocess
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,23 +41,20 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: sinatra-flash
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: haml
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,51 +69,45 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: activerecord
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version: 3.
|
75
|
+
version: '3.0'
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
93
|
-
version: 3.
|
82
|
+
version: '3.0'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: activeresource
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ~>
|
100
88
|
- !ruby/object:Gem::Version
|
101
|
-
version: 3.
|
89
|
+
version: '3.0'
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ~>
|
108
95
|
- !ruby/object:Gem::Version
|
109
|
-
version: 3.
|
96
|
+
version: '3.0'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: thin
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - ~>
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: '1.
|
103
|
+
version: '1.6'
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
108
|
- - ~>
|
124
109
|
- !ruby/object:Gem::Version
|
125
|
-
version: '1.
|
110
|
+
version: '1.6'
|
126
111
|
description:
|
127
112
|
email:
|
128
113
|
- artemave@gmail.com
|
@@ -239,27 +224,26 @@ files:
|
|
239
224
|
- views/redirects/new.haml
|
240
225
|
homepage: https://github.com/artemave/rest-assured
|
241
226
|
licenses: []
|
227
|
+
metadata: {}
|
242
228
|
post_install_message:
|
243
229
|
rdoc_options: []
|
244
230
|
require_paths:
|
245
231
|
- lib
|
246
232
|
required_ruby_version: !ruby/object:Gem::Requirement
|
247
|
-
none: false
|
248
233
|
requirements:
|
249
|
-
- -
|
234
|
+
- - '>='
|
250
235
|
- !ruby/object:Gem::Version
|
251
236
|
version: 1.8.7
|
252
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
253
|
-
none: false
|
254
238
|
requirements:
|
255
|
-
- -
|
239
|
+
- - '>='
|
256
240
|
- !ruby/object:Gem::Version
|
257
241
|
version: '0'
|
258
242
|
requirements: []
|
259
243
|
rubyforge_project: rest-assured
|
260
|
-
rubygems_version: 1.
|
244
|
+
rubygems_version: 2.1.11
|
261
245
|
signing_key:
|
262
|
-
specification_version:
|
246
|
+
specification_version: 4
|
263
247
|
summary: Real stubs and spies for HTTP(S) services
|
264
248
|
test_files:
|
265
249
|
- features/command_line_options.feature
|