Skip to content

Commit a969c2e

Browse files
committed
Remove capybara-webkit as dependency
This commit removes capybara-webkit as a project dependency. This is because the gem doesn't appear to be used an where in the test code. This commit also add imagemagick to the README because it is a project dependency.
1 parent f29854f commit a969c2e

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ group :development, :test do
7373
end
7474

7575
group :test do
76-
gem "capybara-webkit", ">= 1.0.0"
76+
gem 'capybara', '~> 3.16', '>= 3.16.1'
7777
gem "database_cleaner"
7878
gem "launchy"
7979
gem "shoulda-matchers", "~> 2.7.0"

Gemfile.lock

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -615,15 +615,14 @@ GEM
615615
slim (>= 1.3.6, < 4.0)
616616
terminal-table (~> 1.4)
617617
builder (3.2.3)
618-
capybara (2.3.0)
619-
mime-types (>= 1.16)
620-
nokogiri (>= 1.3.3)
621-
rack (>= 1.0.0)
622-
rack-test (>= 0.5.4)
623-
xpath (~> 2.0)
624-
capybara-webkit (1.2.0)
625-
capybara (>= 2.0.2, < 2.4.0)
626-
json
618+
capybara (3.16.1)
619+
addressable
620+
mini_mime (>= 0.1.3)
621+
nokogiri (~> 1.8)
622+
rack (>= 1.6.0)
623+
rack-test (>= 0.6.3)
624+
regexp_parser (~> 1.2)
625+
xpath (~> 3.2)
627626
climate_control (0.2.0)
628627
coderay (1.1.2)
629628
coffee-rails (4.0.1)
@@ -709,7 +708,6 @@ GEM
709708
rails-dom-testing (~> 1.0)
710709
railties (>= 4.2.0)
711710
thor (>= 0.14, < 2.0)
712-
json (2.1.0)
713711
kaminari (0.16.1)
714712
actionpack (>= 3.0.0)
715713
activesupport (>= 3.0.0)
@@ -800,6 +798,7 @@ GEM
800798
recipient_interceptor (0.1.2)
801799
mail
802800
redcarpet (3.4.0)
801+
regexp_parser (1.4.0)
803802
responders (2.4.0)
804803
actionpack (>= 4.2.0, < 5.3)
805804
railties (>= 4.2.0, < 5.3)
@@ -889,8 +888,8 @@ GEM
889888
webmock (1.18.0)
890889
addressable (>= 2.3.6)
891890
crack (>= 0.3.2)
892-
xpath (2.0.0)
893-
nokogiri (~> 1.3)
891+
xpath (3.2.0)
892+
nokogiri (~> 1.8)
894893

895894
PLATFORMS
896895
ruby
@@ -906,7 +905,7 @@ DEPENDENCIES
906905
bitters
907906
bourbon
908907
brakeman
909-
capybara-webkit (>= 1.0.0)
908+
capybara (~> 3.16, >= 3.16.1)
910909
coffee-rails
911910
dalli
912911
database_cleaner
@@ -967,4 +966,4 @@ RUBY VERSION
967966
ruby 2.4.2p198
968967

969968
BUNDLED WITH
970-
1.16.1
969+
1.16.6

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ System Dependencies
4242
- PostgreSQL
4343
- qmake (`brew install qt`) or read extensive instructions [here](https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit)
4444
- memcached (`brew install memcached`, an older version ships with OSX)(optional)
45+
- imagemagick (`brew install imagemagick`)
4546

4647
Getting Started
4748
---------------

0 commit comments

Comments
 (0)