Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mspa 2678 get options working #41

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ source "https://rubygems.org"

gemspec

gem 'pg'

# skipped for heroku
group :test do
gem 'cucumber'
Expand All @@ -21,6 +19,7 @@ group :test do
gem 'simplecov'
gem 'awesome_print'
gem 'puma'
gem 'phantomjs', :require => 'phantomjs/poltergeist'
end

# skipped for heroku and travis
Expand Down
271 changes: 148 additions & 123 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
rest-assured (4.0.0)
rest-assured (4.0.1)
activerecord (~> 5.0, >= 4.0)
activeresource (~> 5.0, >= 4.0)
childprocess (~> 0.3)
Expand All @@ -13,188 +13,213 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activemodel (5.2.0)
activesupport (= 5.2.0)
activemodel (5.2.8.1)
activesupport (= 5.2.8.1)
activemodel-serializers-xml (1.0.2)
activemodel (> 5.x)
activesupport (> 5.x)
builder (~> 3.1)
activerecord (5.2.0)
activemodel (= 5.2.0)
activesupport (= 5.2.0)
activerecord (5.2.8.1)
activemodel (= 5.2.8.1)
activesupport (= 5.2.8.1)
arel (>= 9.0)
activeresource (5.0.0)
activemodel (>= 5.0, < 6)
activeresource (5.1.1)
activemodel (>= 5.0, < 7)
activemodel-serializers-xml (~> 1.0)
activesupport (>= 5.0, < 6)
activesupport (5.2.0)
activesupport (>= 5.0, < 7)
activesupport (5.2.8.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
anticipate (0.1.1)
archive-tar-minitar (0.6.1)
minitar (~> 0.6)
minitar-cli (~> 0.6)
archive-zip (0.11.0)
archive-tar-minitar (0.8)
minitar (~> 0.8)
minitar-cli (~> 0.8)
archive-zip (0.12.0)
io-like (~> 0.3.0)
arel (9.0.0)
awesome_print (1.8.0)
backports (3.11.3)
builder (3.2.3)
byebug (10.0.2)
capybara (3.0.3)
awesome_print (1.9.2)
builder (3.2.4)
byebug (11.1.3)
capybara (3.38.0)
addressable
matrix
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
xpath (~> 3.0)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
chromedriver-helper (1.2.0)
chromedriver-helper (2.1.1)
archive-zip (~> 0.10)
nokogiri (~> 1.8)
cliver (0.3.2)
coderay (1.1.2)
concurrent-ruby (1.0.5)
cucumber (3.1.0)
builder (>= 2.1.2)
cucumber-core (~> 3.1.0)
cucumber-expressions (~> 5.0.4)
cucumber-wire (~> 0.0.1)
diff-lcs (~> 1.3)
gherkin (~> 5.0)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
cucumber-core (3.1.0)
backports (>= 3.8.0)
cucumber-tag_expressions (~> 1.1.0)
gherkin (>= 5.0.0)
cucumber-expressions (5.0.17)
cucumber-tag_expressions (1.1.1)
cucumber-wire (0.0.1)
daemons (1.2.6)
database_cleaner (1.7.0)
diff-lcs (1.3)
docile (1.3.0)
domain_name (0.5.20180417)
coderay (1.1.3)
concurrent-ruby (1.1.10)
cucumber (8.0.0)
builder (~> 3.2, >= 3.2.4)
cucumber-ci-environment (~> 9.0, >= 9.0.4)
cucumber-core (~> 11.0, >= 11.0.0)
cucumber-cucumber-expressions (~> 15.1, >= 15.1.1)
cucumber-gherkin (~> 23.0, >= 23.0.1)
cucumber-html-formatter (~> 19.1, >= 19.1.0)
cucumber-messages (~> 18.0, >= 18.0.0)
diff-lcs (~> 1.5, >= 1.5.0)
mime-types (~> 3.4, >= 3.4.1)
multi_test (~> 1.1, >= 1.1.0)
sys-uname (~> 1.2, >= 1.2.2)
cucumber-ci-environment (9.1.0)
cucumber-core (11.0.0)
cucumber-gherkin (~> 23.0, >= 23.0.1)
cucumber-messages (~> 18.0, >= 18.0.0)
cucumber-tag-expressions (~> 4.1, >= 4.1.0)
cucumber-cucumber-expressions (15.2.0)
cucumber-gherkin (23.0.1)
cucumber-messages (~> 18.0, >= 18.0.0)
cucumber-html-formatter (19.2.0)
cucumber-messages (~> 18.0, >= 18.0.0)
cucumber-messages (18.0.0)
cucumber-tag-expressions (4.1.0)
daemons (1.4.1)
database_cleaner (2.0.1)
database_cleaner-active_record (~> 2.0.0)
database_cleaner-active_record (2.0.1)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
diff-lcs (1.5.0)
docile (1.4.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
eventmachine (1.2.6)
ffi (1.9.23)
gherkin (5.0.0)
haml (5.0.4)
eventmachine (1.2.7)
ffi (1.15.5)
haml (5.2.2)
temple (>= 0.8.0)
tilt
hashie (3.5.7)
http-cookie (1.0.3)
hashie (5.0.0)
http-accept (1.7.0)
http-cookie (1.0.5)
domain_name (~> 0.5)
i18n (1.0.1)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
io-like (0.3.0)
json (2.1.0)
launchy (2.4.3)
addressable (~> 2.3)
method_source (0.9.0)
mime-types (3.1)
io-like (0.3.1)
json (2.6.2)
launchy (2.5.0)
addressable (~> 2.7)
matrix (0.4.2)
method_source (1.0.0)
mime-types (3.4.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_mime (1.0.0)
mini_portile2 (2.3.0)
minitar (0.6.1)
minitar-cli (0.6.1)
minitar (~> 0.6.0)
mime-types-data (3.2022.0105)
mini_mime (1.1.2)
minitar (0.8)
minitar-cli (0.8)
minitar (~> 0.8.0)
powerbar (~> 1.0)
minitest (5.11.3)
multi_json (1.13.1)
multi_test (0.1.2)
mustermann (1.0.2)
minitest (5.16.3)
multi_test (1.1.0)
mustermann (2.0.2)
ruby2_keywords (~> 0.0.1)
netrc (0.11.0)
nio4r (2.3.1)
nokogiri (1.8.2)
mini_portile2 (~> 2.3.0)
pg (1.0.0)
poltergeist (1.18.0)
nio4r (2.5.8)
nokogiri (1.13.9-x86_64-darwin)
racc (~> 1.4)
phantomjs (2.1.1.0)
poltergeist (1.18.1)
capybara (>= 2.1, < 4)
cliver (~> 0.3.1)
websocket-driver (>= 0.2.0)
powerbar (1.0.18)
hashie (>= 1.1.0)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
pry-byebug (3.6.0)
byebug (~> 10.0)
pry (~> 0.10)
public_suffix (3.0.2)
puma (4.3.1)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
public_suffix (5.0.0)
puma (6.0.0)
nio4r (~> 2.0)
rack (2.0.5)
rack-protection (2.0.1)
racc (1.6.0)
rack (2.2.4)
rack-protection (2.2.3)
rack
rack-test (1.0.0)
rack (>= 1.0, < 3)
rake (12.3.1)
rack-test (2.0.2)
rack (>= 1.3)
rake (13.0.6)
regexp_parser (2.6.1)
relish (0.7.1)
archive-tar-minitar (>= 0.5.2)
json (>= 1.4.6)
rest-client (>= 1.7.2)
rest-client (2.0.2)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.1)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
rexml (3.2.5)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.0)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-mocks (3.7.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.1)
rubyzip (1.2.1)
selenium-webdriver (3.11.0)
childprocess (~> 0.5)
rubyzip (~> 1.2)
simplecov (0.16.1)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
selenium-webdriver (4.6.1)
childprocess (>= 0.5, < 5.0)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
simplecov (0.21.2)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sinatra (2.0.1)
mustermann (~> 1.0)
rack (~> 2.0)
rack-protection (= 2.0.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sinatra (2.2.3)
mustermann (~> 2.0)
rack (~> 2.2)
rack-protection (= 2.2.3)
tilt (~> 2.0)
sinatra-flash (0.3.0)
sinatra (>= 1.0.0)
sqlite3 (1.3.13)
temple (0.8.0)
thin (1.7.2)
sqlite3 (1.5.4-x86_64-darwin)
sys-uname (1.2.2)
ffi (~> 1.1)
temple (0.9.1)
thin (1.8.1)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thread_safe (0.3.6)
tilt (2.0.8)
tzinfo (1.2.5)
tilt (2.0.11)
tzinfo (1.2.10)
thread_safe (~> 0.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
websocket-driver (0.7.0)
unf_ext (0.0.8.2)
websocket (1.2.9)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
xpath (3.0.0)
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)

PLATFORMS
ruby
x86_64-darwin-19

DEPENDENCIES
anticipate
Expand All @@ -204,7 +229,7 @@ DEPENDENCIES
cucumber
database_cleaner
launchy
pg
phantomjs
poltergeist
pry
pry-byebug
Expand All @@ -219,4 +244,4 @@ DEPENDENCIES
sqlite3

BUNDLED WITH
1.15.1
2.3.11
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ You can also [![Deploy](https://www.herokucdn.com/deploy/button.png)](https://he

## Usage

REST-assured can do two things: respond to a particular path and method (e.g. GET /stuff/v2?thing=1) and redirect requests based on a pattern (e.g. all /foo\* will redirect to http://example.com/bar). Both of these are available to create/read/delete in runtime via api.
REST-assured can do two things: respond to a particular path and method (e.g. GET /stuff/v2?thing=1) and redirect requests based on a pattern (e.g. all /foo\* will redirect to http://example.com/bar). Both of these are available to create/read/delete/head/options in runtime via api.

### Ruby API

Expand Down
2 changes: 1 addition & 1 deletion cucumber.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
default: --tags ~@long
default: --tags 'not @long'
long: --tags @long
wip: --tags @wip
Loading