From ca20dcc25fb01344084531b623702bdeb6883151 Mon Sep 17 00:00:00 2001 From: Brian Landau Date: Tue, 21 Apr 2015 14:48:38 -0600 Subject: [PATCH] Test more including 4.1.9 on ruby 2.2.0. see #9 --- .travis.yml | 29 +++++ Appraisals | 14 ++- Gemfile.lock | 178 +++++++++++++++++------------- gemfiles/rails_31.gemfile.lock | 146 ++++++------------------ gemfiles/rails_32.gemfile | 2 +- gemfiles/rails_32.gemfile.lock | 123 +++++++++++---------- gemfiles/rails_40.gemfile | 2 +- gemfiles/rails_40.gemfile.lock | 129 +++++++++++----------- gemfiles/rails_41.gemfile | 2 +- gemfiles/rails_41.gemfile.lock | 139 +++++++++++------------ gemfiles/rails_419.gemfile | 8 ++ gemfiles/rails_419.gemfile.lock | 160 +++++++++++++++++++++++++++ gemfiles/rails_42.gemfile | 8 ++ gemfiles/rails_42.gemfile.lock | 183 +++++++++++++++++++++++++++++++ spec/features/middleware_spec.rb | 14 ++- 15 files changed, 750 insertions(+), 387 deletions(-) create mode 100644 gemfiles/rails_419.gemfile create mode 100644 gemfiles/rails_419.gemfile.lock create mode 100644 gemfiles/rails_42.gemfile create mode 100644 gemfiles/rails_42.gemfile.lock diff --git a/.travis.yml b/.travis.yml index 08620db..edad1a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,11 +6,20 @@ rvm: - "2.1.1" - "2.1.2" - "2.1.3" + - "2.1.3" + - "2.1.4" + - "2.1.5" + - "2.1.6" + - "2.2.0" + - "2.2.1" + - "2.2.2" gemfile: - gemfiles/rails_31.gemfile - gemfiles/rails_32.gemfile - gemfiles/rails_40.gemfile - gemfiles/rails_41.gemfile + - gemfiles/rails_419.gemfile + - gemfiles/rails_42.gemfile env: - DB=mysql - DB=postgresql @@ -20,3 +29,23 @@ before_script: - psql -c 'create database redirector_dummy_development' -U postgres - cp spec/dummy/config/database.travis.yml spec/dummy/config/database.yml - bundle exec rake db:migrate +matrix: + exclude: + - rvm: 2.2.0 + gemfile: gemfiles/rails_31.gemfile + - rvm: 2.2.1 + gemfile: gemfiles/rails_31.gemfile + - rvm: 2.2.2 + gemfile: gemfiles/rails_31.gemfile + - rvm: 2.2.0 + gemfile: gemfiles/rails_32.gemfile + - rvm: 2.2.1 + gemfile: gemfiles/rails_32.gemfile + - rvm: 2.2.2 + gemfile: gemfiles/rails_32.gemfile + - rvm: 2.2.0 + gemfile: gemfiles/rails_40.gemfile + - rvm: 2.2.1 + gemfile: gemfiles/rails_40.gemfile + - rvm: 2.2.2 + gemfile: gemfiles/rails_40.gemfile diff --git a/Appraisals b/Appraisals index 2e5838f..17f1b02 100644 --- a/Appraisals +++ b/Appraisals @@ -3,13 +3,21 @@ appraise "rails-31" do end appraise "rails-32" do - gem "rails", "~> 3.2.19" + gem "rails", "~> 3.2.21" end appraise "rails-40" do - gem "rails", "~> 4.0.10" + gem "rails", "~> 4.0.13" +end + +appraise "rails-419" do + gem "rails", "4.1.9" end appraise "rails-41" do - gem "rails", "~> 4.1.6" + gem "rails", "~> 4.1.10" +end + +appraise "rails-42" do + gem "rails", "~> 4.2.1" end diff --git a/Gemfile.lock b/Gemfile.lock index c6fd850..7e3e0ce 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,96 +7,123 @@ PATH GEM remote: http://rubygems.org/ specs: - actionmailer (4.1.6) - actionpack (= 4.1.6) - actionview (= 4.1.6) + actionmailer (4.2.1) + actionpack (= 4.2.1) + actionview (= 4.2.1) + activejob (= 4.2.1) mail (~> 2.5, >= 2.5.4) - actionpack (4.1.6) - actionview (= 4.1.6) - activesupport (= 4.1.6) - rack (~> 1.5.2) + rails-dom-testing (~> 1.0, >= 1.0.5) + actionpack (4.2.1) + actionview (= 4.2.1) + activesupport (= 4.2.1) + rack (~> 1.6) rack-test (~> 0.6.2) - actionview (4.1.6) - activesupport (= 4.1.6) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.1) + actionview (4.2.1) + activesupport (= 4.2.1) builder (~> 3.1) erubis (~> 2.7.0) - activemodel (4.1.6) - activesupport (= 4.1.6) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.1) + activejob (4.2.1) + activesupport (= 4.2.1) + globalid (>= 0.3.0) + activemodel (4.2.1) + activesupport (= 4.2.1) builder (~> 3.1) - activerecord (4.1.6) - activemodel (= 4.1.6) - activesupport (= 4.1.6) - arel (~> 5.0.0) - activesupport (4.1.6) - i18n (~> 0.6, >= 0.6.9) + activerecord (4.2.1) + activemodel (= 4.2.1) + activesupport (= 4.2.1) + arel (~> 6.0) + activesupport (4.2.1) + i18n (~> 0.7) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) - thread_safe (~> 0.1) + thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - appraisal (1.0.2) + appraisal (2.0.1) + activesupport (>= 3.2.21) bundler rake thor (>= 0.14.0) - arel (5.0.1.20140414130214) + arel (6.0.0) builder (3.2.2) - capybara (2.4.3) + capybara (2.4.4) mime-types (>= 1.16) nokogiri (>= 1.3.3) rack (>= 1.0.0) rack-test (>= 0.5.4) xpath (~> 2.0) - coveralls (0.7.1) - multi_json (~> 1.3) - rest-client - simplecov (>= 0.7) - term-ansicolor - thor - database_cleaner (1.3.0) + coveralls (0.8.1) + json (~> 1.8) + rest-client (>= 1.6.8, < 2) + simplecov (~> 0.10.0) + term-ansicolor (~> 1.3) + thor (~> 0.19.1) + database_cleaner (1.4.1) diff-lcs (1.2.5) docile (1.1.5) + domain_name (0.5.24) + unf (>= 0.0.5, < 1.0.0) erubis (2.7.0) - factory_girl (4.4.0) + factory_girl (4.5.0) activesupport (>= 3.0.0) - factory_girl_rails (4.4.1) - factory_girl (~> 4.4.0) + factory_girl_rails (4.5.0) + factory_girl (~> 4.5.0) railties (>= 3.0.0) - hike (1.2.3) - i18n (0.6.11) - jquery-rails (3.1.2) - railties (>= 3.0, < 5.0) + globalid (0.3.5) + activesupport (>= 4.1.0) + http-cookie (1.0.2) + domain_name (~> 0.5) + i18n (0.7.0) + jquery-rails (4.0.3) + rails-dom-testing (~> 1.0) + railties (>= 4.2.0) thor (>= 0.14, < 2.0) - json (1.8.1) - mail (2.6.1) + json (1.8.2) + loofah (2.0.1) + nokogiri (>= 1.5.9) + mail (2.6.3) mime-types (>= 1.16, < 3) - mime-types (2.3) - mini_portile (0.6.0) - minitest (5.4.1) - multi_json (1.10.1) - mysql2 (0.3.16) - netrc (0.7.7) - nokogiri (1.6.3.1) - mini_portile (= 0.6.0) - pg (0.17.1) - rack (1.5.2) - rack-test (0.6.2) + mime-types (2.4.3) + mini_portile (0.6.2) + minitest (5.6.0) + mysql2 (0.3.18) + netrc (0.10.3) + nokogiri (1.6.6.2) + mini_portile (~> 0.6.0) + pg (0.18.1) + rack (1.6.0) + rack-test (0.6.3) rack (>= 1.0) - rails (4.1.6) - actionmailer (= 4.1.6) - actionpack (= 4.1.6) - actionview (= 4.1.6) - activemodel (= 4.1.6) - activerecord (= 4.1.6) - activesupport (= 4.1.6) + rails (4.2.1) + actionmailer (= 4.2.1) + actionpack (= 4.2.1) + actionview (= 4.2.1) + activejob (= 4.2.1) + activemodel (= 4.2.1) + activerecord (= 4.2.1) + activesupport (= 4.2.1) bundler (>= 1.3.0, < 2.0) - railties (= 4.1.6) - sprockets-rails (~> 2.0) - railties (4.1.6) - actionpack (= 4.1.6) - activesupport (= 4.1.6) + railties (= 4.2.1) + sprockets-rails + rails-deprecated_sanitizer (1.0.3) + activesupport (>= 4.2.0.alpha) + rails-dom-testing (1.0.6) + activesupport (>= 4.2.0.beta, < 5.0) + nokogiri (~> 1.6.0) + rails-deprecated_sanitizer (>= 1.0.1) + rails-html-sanitizer (1.0.2) + loofah (~> 2.0) + railties (4.2.1) + actionpack (= 4.2.1) + activesupport (= 4.2.1) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) - rake (10.3.2) - rest-client (1.7.2) + rake (10.4.2) + rest-client (1.8.0) + http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 3.0) netrc (~> 0.7) rspec-core (2.14.8) @@ -111,30 +138,29 @@ GEM rspec-core (~> 2.14.0) rspec-expectations (~> 2.14.0) rspec-mocks (~> 2.14.0) - shoulda-matchers (2.7.0) + shoulda-matchers (2.8.0) activesupport (>= 3.0.0) - simplecov (0.9.1) + simplecov (0.10.0) docile (~> 1.1.0) - multi_json (~> 1.0) - simplecov-html (~> 0.8.0) - simplecov-html (0.8.0) - sprockets (2.12.2) - hike (~> 1.2) - multi_json (~> 1.0) + json (~> 1.8) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) + sprockets (3.0.1) rack (~> 1.0) - tilt (~> 1.1, != 1.3.0) - sprockets-rails (2.1.4) + sprockets-rails (2.2.4) actionpack (>= 3.0) activesupport (>= 3.0) - sprockets (~> 2.8) + sprockets (>= 2.8, < 4.0) term-ansicolor (1.3.0) tins (~> 1.0) thor (0.19.1) - thread_safe (0.3.4) - tilt (1.4.1) - tins (1.3.3) + thread_safe (0.3.5) + tins (1.3.5) tzinfo (1.2.2) thread_safe (~> 0.1) + unf (0.1.4) + unf_ext + unf_ext (0.0.7.1) xpath (2.0.0) nokogiri (~> 1.3) diff --git a/gemfiles/rails_31.gemfile.lock b/gemfiles/rails_31.gemfile.lock index 4d72c6c..d178480 100644 --- a/gemfiles/rails_31.gemfile.lock +++ b/gemfiles/rails_31.gemfile.lock @@ -35,13 +35,13 @@ GEM activesupport (= 3.1.12) activesupport (3.1.12) multi_json (~> 1.0) - appraisal (1.0.2) + appraisal (1.0.3) bundler rake thor (>= 0.14.0) arel (2.2.3) builder (3.0.4) - capybara (2.4.3) + capybara (2.4.4) mime-types (>= 1.16) nokogiri (>= 1.3.3) rack (>= 1.0.0) @@ -53,33 +53,37 @@ GEM simplecov (>= 0.7) term-ansicolor thor - database_cleaner (1.3.0) + database_cleaner (1.4.1) diff-lcs (1.2.5) docile (1.1.5) + domain_name (0.5.24) + unf (>= 0.0.5, < 1.0.0) erubis (2.7.0) - factory_girl (4.4.0) + factory_girl (4.5.0) activesupport (>= 3.0.0) - factory_girl_rails (4.4.1) - factory_girl (~> 4.4.0) + factory_girl_rails (4.5.0) + factory_girl (~> 4.5.0) railties (>= 3.0.0) hike (1.2.3) - i18n (0.6.11) + http-cookie (1.0.2) + domain_name (~> 0.5) + i18n (0.7.0) jquery-rails (3.1.2) railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) - json (1.8.1) + json (1.8.2) mail (2.4.4) i18n (>= 0.4.0) mime-types (~> 1.16) treetop (~> 1.4.8) mime-types (1.25.1) - mini_portile (0.6.0) - multi_json (1.10.1) - mysql2 (0.3.16) - netrc (0.7.7) - nokogiri (1.6.3.1) - mini_portile (= 0.6.0) - pg (0.17.1) + mini_portile (0.6.2) + multi_json (1.11.0) + mysql2 (0.3.18) + netrc (0.10.3) + nokogiri (1.6.6.2) + mini_portile (~> 0.6.0) + pg (0.18.1) polyglot (0.3.5) rack (1.3.10) rack-cache (1.2) @@ -88,7 +92,7 @@ GEM rack (>= 1.0.0) rack-ssl (1.3.4) rack - rack-test (0.6.2) + rack-test (0.6.3) rack (>= 1.0) rails (3.1.12) actionmailer (= 3.1.12) @@ -105,10 +109,11 @@ GEM rake (>= 0.8.7) rdoc (~> 3.4) thor (~> 0.14.6) - rake (10.3.2) + rake (10.4.2) rdoc (3.12.2) json (~> 1.4) - rest-client (1.7.2) + rest-client (1.8.0) + http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 3.0) netrc (~> 0.7) rspec-core (2.14.8) @@ -123,14 +128,14 @@ GEM rspec-core (~> 2.14.0) rspec-expectations (~> 2.14.0) rspec-mocks (~> 2.14.0) - shoulda-matchers (2.7.0) + shoulda-matchers (2.8.0) activesupport (>= 3.0.0) - simplecov (0.9.1) + simplecov (0.10.0) docile (~> 1.1.0) - multi_json (~> 1.0) - simplecov-html (~> 0.8.0) - simplecov-html (0.8.0) - sprockets (2.0.4) + json (~> 1.8) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) + sprockets (2.0.5) hike (~> 1.2) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) @@ -138,97 +143,14 @@ GEM tins (~> 1.0) thor (0.14.6) tilt (1.4.1) - tins (1.3.3) + tins (1.3.5) treetop (1.4.15) polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) - polyglot (>= 0.3.1) polyglot (>= 0.3.1) - tzinfo (0.3.41) + tzinfo (0.3.43) + unf (0.1.4) + unf_ext + unf_ext (0.0.7.1) xpath (2.0.0) nokogiri (~> 1.3) diff --git a/gemfiles/rails_32.gemfile b/gemfiles/rails_32.gemfile index 87fe738..fe1ac26 100644 --- a/gemfiles/rails_32.gemfile +++ b/gemfiles/rails_32.gemfile @@ -3,6 +3,6 @@ source "http://rubygems.org" gem "jquery-rails" -gem "rails", "~> 3.2.19" +gem "rails", "~> 3.2.21" gemspec :path => "../" diff --git a/gemfiles/rails_32.gemfile.lock b/gemfiles/rails_32.gemfile.lock index 9809bea..954418d 100644 --- a/gemfiles/rails_32.gemfile.lock +++ b/gemfiles/rails_32.gemfile.lock @@ -7,12 +7,12 @@ PATH GEM remote: http://rubygems.org/ specs: - actionmailer (3.2.19) - actionpack (= 3.2.19) + actionmailer (3.2.21) + actionpack (= 3.2.21) mail (~> 2.5.4) - actionpack (3.2.19) - activemodel (= 3.2.19) - activesupport (= 3.2.19) + actionpack (3.2.21) + activemodel (= 3.2.21) + activesupport (= 3.2.21) builder (~> 3.0.0) erubis (~> 2.7.0) journey (~> 1.0.4) @@ -20,92 +20,98 @@ GEM rack-cache (~> 1.2) rack-test (~> 0.6.1) sprockets (~> 2.2.1) - activemodel (3.2.19) - activesupport (= 3.2.19) + activemodel (3.2.21) + activesupport (= 3.2.21) builder (~> 3.0.0) - activerecord (3.2.19) - activemodel (= 3.2.19) - activesupport (= 3.2.19) + activerecord (3.2.21) + activemodel (= 3.2.21) + activesupport (= 3.2.21) arel (~> 3.0.2) tzinfo (~> 0.3.29) - activeresource (3.2.19) - activemodel (= 3.2.19) - activesupport (= 3.2.19) - activesupport (3.2.19) + activeresource (3.2.21) + activemodel (= 3.2.21) + activesupport (= 3.2.21) + activesupport (3.2.21) i18n (~> 0.6, >= 0.6.4) multi_json (~> 1.0) - appraisal (1.0.2) + appraisal (2.0.1) + activesupport (>= 3.2.21) bundler rake thor (>= 0.14.0) arel (3.0.3) builder (3.0.4) - capybara (2.4.3) + capybara (2.4.4) mime-types (>= 1.16) nokogiri (>= 1.3.3) rack (>= 1.0.0) rack-test (>= 0.5.4) xpath (~> 2.0) - coveralls (0.7.1) - multi_json (~> 1.3) - rest-client - simplecov (>= 0.7) - term-ansicolor - thor - database_cleaner (1.3.0) + coveralls (0.8.1) + json (~> 1.8) + rest-client (>= 1.6.8, < 2) + simplecov (~> 0.10.0) + term-ansicolor (~> 1.3) + thor (~> 0.19.1) + database_cleaner (1.4.1) diff-lcs (1.2.5) docile (1.1.5) + domain_name (0.5.24) + unf (>= 0.0.5, < 1.0.0) erubis (2.7.0) - factory_girl (4.4.0) + factory_girl (4.5.0) activesupport (>= 3.0.0) - factory_girl_rails (4.4.1) - factory_girl (~> 4.4.0) + factory_girl_rails (4.5.0) + factory_girl (~> 4.5.0) railties (>= 3.0.0) hike (1.2.3) - i18n (0.6.11) + http-cookie (1.0.2) + domain_name (~> 0.5) + i18n (0.7.0) journey (1.0.4) jquery-rails (3.1.2) railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) - json (1.8.1) + json (1.8.2) mail (2.5.4) mime-types (~> 1.16) treetop (~> 1.4.8) mime-types (1.25.1) - mini_portile (0.6.0) - multi_json (1.10.1) - mysql2 (0.3.16) - netrc (0.7.7) - nokogiri (1.6.3.1) - mini_portile (= 0.6.0) - pg (0.17.1) + mini_portile (0.6.2) + multi_json (1.11.0) + mysql2 (0.3.18) + netrc (0.10.3) + nokogiri (1.6.6.2) + mini_portile (~> 0.6.0) + pg (0.18.1) polyglot (0.3.5) rack (1.4.5) rack-cache (1.2) rack (>= 0.4) rack-ssl (1.3.4) rack - rack-test (0.6.2) + rack-test (0.6.3) rack (>= 1.0) - rails (3.2.19) - actionmailer (= 3.2.19) - actionpack (= 3.2.19) - activerecord (= 3.2.19) - activeresource (= 3.2.19) - activesupport (= 3.2.19) + rails (3.2.21) + actionmailer (= 3.2.21) + actionpack (= 3.2.21) + activerecord (= 3.2.21) + activeresource (= 3.2.21) + activesupport (= 3.2.21) bundler (~> 1.0) - railties (= 3.2.19) - railties (3.2.19) - actionpack (= 3.2.19) - activesupport (= 3.2.19) + railties (= 3.2.21) + railties (3.2.21) + actionpack (= 3.2.21) + activesupport (= 3.2.21) rack-ssl (~> 1.3.2) rake (>= 0.8.7) rdoc (~> 3.4) thor (>= 0.14.6, < 2.0) - rake (10.3.2) + rake (10.4.2) rdoc (3.12.2) json (~> 1.4) - rest-client (1.7.2) + rest-client (1.8.0) + http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 3.0) netrc (~> 0.7) rspec-core (2.14.8) @@ -120,14 +126,14 @@ GEM rspec-core (~> 2.14.0) rspec-expectations (~> 2.14.0) rspec-mocks (~> 2.14.0) - shoulda-matchers (2.7.0) + shoulda-matchers (2.8.0) activesupport (>= 3.0.0) - simplecov (0.9.1) + simplecov (0.10.0) docile (~> 1.1.0) - multi_json (~> 1.0) - simplecov-html (~> 0.8.0) - simplecov-html (0.8.0) - sprockets (2.2.2) + json (~> 1.8) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) + sprockets (2.2.3) hike (~> 1.2) multi_json (~> 1.0) rack (~> 1.0) @@ -136,11 +142,14 @@ GEM tins (~> 1.0) thor (0.19.1) tilt (1.4.1) - tins (1.3.3) + tins (1.3.5) treetop (1.4.15) polyglot polyglot (>= 0.3.1) - tzinfo (0.3.41) + tzinfo (0.3.43) + unf (0.1.4) + unf_ext + unf_ext (0.0.7.1) xpath (2.0.0) nokogiri (~> 1.3) @@ -156,7 +165,7 @@ DEPENDENCIES jquery-rails mysql2 pg - rails (~> 3.2.19) + rails (~> 3.2.21) rake redirector! rspec-rails (~> 2.14.2) diff --git a/gemfiles/rails_40.gemfile b/gemfiles/rails_40.gemfile index b7cc3cd..76558c5 100644 --- a/gemfiles/rails_40.gemfile +++ b/gemfiles/rails_40.gemfile @@ -3,6 +3,6 @@ source "http://rubygems.org" gem "jquery-rails" -gem "rails", "~> 4.0.10" +gem "rails", "~> 4.0.13" gemspec :path => "../" diff --git a/gemfiles/rails_40.gemfile.lock b/gemfiles/rails_40.gemfile.lock index a5cc17f..0a416d0 100644 --- a/gemfiles/rails_40.gemfile.lock +++ b/gemfiles/rails_40.gemfile.lock @@ -7,91 +7,97 @@ PATH GEM remote: http://rubygems.org/ specs: - actionmailer (4.0.10) - actionpack (= 4.0.10) + actionmailer (4.0.13) + actionpack (= 4.0.13) mail (~> 2.5, >= 2.5.4) - actionpack (4.0.10) - activesupport (= 4.0.10) + actionpack (4.0.13) + activesupport (= 4.0.13) builder (~> 3.1.0) erubis (~> 2.7.0) rack (~> 1.5.2) rack-test (~> 0.6.2) - activemodel (4.0.10) - activesupport (= 4.0.10) + activemodel (4.0.13) + activesupport (= 4.0.13) builder (~> 3.1.0) - activerecord (4.0.10) - activemodel (= 4.0.10) + activerecord (4.0.13) + activemodel (= 4.0.13) activerecord-deprecated_finders (~> 1.0.2) - activesupport (= 4.0.10) + activesupport (= 4.0.13) arel (~> 4.0.0) - activerecord-deprecated_finders (1.0.3) - activesupport (4.0.10) + activerecord-deprecated_finders (1.0.4) + activesupport (4.0.13) i18n (~> 0.6, >= 0.6.9) minitest (~> 4.2) multi_json (~> 1.3) thread_safe (~> 0.1) tzinfo (~> 0.3.37) - appraisal (1.0.2) + appraisal (2.0.1) + activesupport (>= 3.2.21) bundler rake thor (>= 0.14.0) arel (4.0.2) builder (3.1.4) - capybara (2.4.3) + capybara (2.4.4) mime-types (>= 1.16) nokogiri (>= 1.3.3) rack (>= 1.0.0) rack-test (>= 0.5.4) xpath (~> 2.0) - coveralls (0.7.1) - multi_json (~> 1.3) - rest-client - simplecov (>= 0.7) - term-ansicolor - thor - database_cleaner (1.3.0) + coveralls (0.8.1) + json (~> 1.8) + rest-client (>= 1.6.8, < 2) + simplecov (~> 0.10.0) + term-ansicolor (~> 1.3) + thor (~> 0.19.1) + database_cleaner (1.4.1) diff-lcs (1.2.5) docile (1.1.5) + domain_name (0.5.24) + unf (>= 0.0.5, < 1.0.0) erubis (2.7.0) - factory_girl (4.4.0) + factory_girl (4.5.0) activesupport (>= 3.0.0) - factory_girl_rails (4.4.1) - factory_girl (~> 4.4.0) + factory_girl_rails (4.5.0) + factory_girl (~> 4.5.0) railties (>= 3.0.0) - hike (1.2.3) - i18n (0.6.11) + http-cookie (1.0.2) + domain_name (~> 0.5) + i18n (0.7.0) jquery-rails (3.1.2) railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) - mail (2.6.1) + json (1.8.2) + mail (2.6.3) mime-types (>= 1.16, < 3) - mime-types (2.3) - mini_portile (0.6.0) + mime-types (2.4.3) + mini_portile (0.6.2) minitest (4.7.5) - multi_json (1.10.1) - mysql2 (0.3.16) - netrc (0.7.7) - nokogiri (1.6.3.1) - mini_portile (= 0.6.0) - pg (0.17.1) + multi_json (1.11.0) + mysql2 (0.3.18) + netrc (0.10.3) + nokogiri (1.6.6.2) + mini_portile (~> 0.6.0) + pg (0.18.1) rack (1.5.2) - rack-test (0.6.2) + rack-test (0.6.3) rack (>= 1.0) - rails (4.0.10) - actionmailer (= 4.0.10) - actionpack (= 4.0.10) - activerecord (= 4.0.10) - activesupport (= 4.0.10) + rails (4.0.13) + actionmailer (= 4.0.13) + actionpack (= 4.0.13) + activerecord (= 4.0.13) + activesupport (= 4.0.13) bundler (>= 1.3.0, < 2.0) - railties (= 4.0.10) + railties (= 4.0.13) sprockets-rails (~> 2.0) - railties (4.0.10) - actionpack (= 4.0.10) - activesupport (= 4.0.10) + railties (4.0.13) + actionpack (= 4.0.13) + activesupport (= 4.0.13) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) - rake (10.3.2) - rest-client (1.7.2) + rake (10.4.2) + rest-client (1.8.0) + http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 3.0) netrc (~> 0.7) rspec-core (2.14.8) @@ -106,29 +112,28 @@ GEM rspec-core (~> 2.14.0) rspec-expectations (~> 2.14.0) rspec-mocks (~> 2.14.0) - shoulda-matchers (2.7.0) + shoulda-matchers (2.8.0) activesupport (>= 3.0.0) - simplecov (0.9.1) + simplecov (0.10.0) docile (~> 1.1.0) - multi_json (~> 1.0) - simplecov-html (~> 0.8.0) - simplecov-html (0.8.0) - sprockets (2.12.2) - hike (~> 1.2) - multi_json (~> 1.0) + json (~> 1.8) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) + sprockets (3.0.1) rack (~> 1.0) - tilt (~> 1.1, != 1.3.0) - sprockets-rails (2.1.4) + sprockets-rails (2.2.4) actionpack (>= 3.0) activesupport (>= 3.0) - sprockets (~> 2.8) + sprockets (>= 2.8, < 4.0) term-ansicolor (1.3.0) tins (~> 1.0) thor (0.19.1) - thread_safe (0.3.4) - tilt (1.4.1) - tins (1.3.3) - tzinfo (0.3.41) + thread_safe (0.3.5) + tins (1.3.5) + tzinfo (0.3.43) + unf (0.1.4) + unf_ext + unf_ext (0.0.7.1) xpath (2.0.0) nokogiri (~> 1.3) @@ -144,7 +149,7 @@ DEPENDENCIES jquery-rails mysql2 pg - rails (~> 4.0.10) + rails (~> 4.0.13) rake redirector! rspec-rails (~> 2.14.2) diff --git a/gemfiles/rails_41.gemfile b/gemfiles/rails_41.gemfile index 07715d2..642f6a5 100644 --- a/gemfiles/rails_41.gemfile +++ b/gemfiles/rails_41.gemfile @@ -3,6 +3,6 @@ source "http://rubygems.org" gem "jquery-rails" -gem "rails", "~> 4.1.6" +gem "rails", "~> 4.1.10" gemspec :path => "../" diff --git a/gemfiles/rails_41.gemfile.lock b/gemfiles/rails_41.gemfile.lock index 3071e1d..95618f6 100644 --- a/gemfiles/rails_41.gemfile.lock +++ b/gemfiles/rails_41.gemfile.lock @@ -7,96 +7,100 @@ PATH GEM remote: http://rubygems.org/ specs: - actionmailer (4.1.6) - actionpack (= 4.1.6) - actionview (= 4.1.6) + actionmailer (4.1.10) + actionpack (= 4.1.10) + actionview (= 4.1.10) mail (~> 2.5, >= 2.5.4) - actionpack (4.1.6) - actionview (= 4.1.6) - activesupport (= 4.1.6) + actionpack (4.1.10) + actionview (= 4.1.10) + activesupport (= 4.1.10) rack (~> 1.5.2) rack-test (~> 0.6.2) - actionview (4.1.6) - activesupport (= 4.1.6) + actionview (4.1.10) + activesupport (= 4.1.10) builder (~> 3.1) erubis (~> 2.7.0) - activemodel (4.1.6) - activesupport (= 4.1.6) + activemodel (4.1.10) + activesupport (= 4.1.10) builder (~> 3.1) - activerecord (4.1.6) - activemodel (= 4.1.6) - activesupport (= 4.1.6) + activerecord (4.1.10) + activemodel (= 4.1.10) + activesupport (= 4.1.10) arel (~> 5.0.0) - activesupport (4.1.6) + activesupport (4.1.10) i18n (~> 0.6, >= 0.6.9) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.1) tzinfo (~> 1.1) - appraisal (1.0.2) + appraisal (2.0.1) + activesupport (>= 3.2.21) bundler rake thor (>= 0.14.0) arel (5.0.1.20140414130214) builder (3.2.2) - capybara (2.4.3) + capybara (2.4.4) mime-types (>= 1.16) nokogiri (>= 1.3.3) rack (>= 1.0.0) rack-test (>= 0.5.4) xpath (~> 2.0) - coveralls (0.7.1) - multi_json (~> 1.3) - rest-client - simplecov (>= 0.7) - term-ansicolor - thor - database_cleaner (1.3.0) + coveralls (0.8.1) + json (~> 1.8) + rest-client (>= 1.6.8, < 2) + simplecov (~> 0.10.0) + term-ansicolor (~> 1.3) + thor (~> 0.19.1) + database_cleaner (1.4.1) diff-lcs (1.2.5) docile (1.1.5) + domain_name (0.5.24) + unf (>= 0.0.5, < 1.0.0) erubis (2.7.0) - factory_girl (4.4.0) + factory_girl (4.5.0) activesupport (>= 3.0.0) - factory_girl_rails (4.4.1) - factory_girl (~> 4.4.0) + factory_girl_rails (4.5.0) + factory_girl (~> 4.5.0) railties (>= 3.0.0) - hike (1.2.3) - i18n (0.6.11) + http-cookie (1.0.2) + domain_name (~> 0.5) + i18n (0.7.0) jquery-rails (3.1.2) railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) - json (1.8.1) - mail (2.6.1) + json (1.8.2) + mail (2.6.3) mime-types (>= 1.16, < 3) - mime-types (2.3) - mini_portile (0.6.0) - minitest (5.4.1) - multi_json (1.10.1) - mysql2 (0.3.16) - netrc (0.7.7) - nokogiri (1.6.3.1) - mini_portile (= 0.6.0) - pg (0.17.1) + mime-types (2.4.3) + mini_portile (0.6.2) + minitest (5.6.0) + mysql2 (0.3.18) + netrc (0.10.3) + nokogiri (1.6.6.2) + mini_portile (~> 0.6.0) + pg (0.18.1) rack (1.5.2) - rack-test (0.6.2) + rack-test (0.6.3) rack (>= 1.0) - rails (4.1.6) - actionmailer (= 4.1.6) - actionpack (= 4.1.6) - actionview (= 4.1.6) - activemodel (= 4.1.6) - activerecord (= 4.1.6) - activesupport (= 4.1.6) + rails (4.1.10) + actionmailer (= 4.1.10) + actionpack (= 4.1.10) + actionview (= 4.1.10) + activemodel (= 4.1.10) + activerecord (= 4.1.10) + activesupport (= 4.1.10) bundler (>= 1.3.0, < 2.0) - railties (= 4.1.6) + railties (= 4.1.10) sprockets-rails (~> 2.0) - railties (4.1.6) - actionpack (= 4.1.6) - activesupport (= 4.1.6) + railties (4.1.10) + actionpack (= 4.1.10) + activesupport (= 4.1.10) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) - rake (10.3.2) - rest-client (1.7.2) + rake (10.4.2) + rest-client (1.8.0) + http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 3.0) netrc (~> 0.7) rspec-core (2.14.8) @@ -111,30 +115,29 @@ GEM rspec-core (~> 2.14.0) rspec-expectations (~> 2.14.0) rspec-mocks (~> 2.14.0) - shoulda-matchers (2.7.0) + shoulda-matchers (2.8.0) activesupport (>= 3.0.0) - simplecov (0.9.1) + simplecov (0.10.0) docile (~> 1.1.0) - multi_json (~> 1.0) - simplecov-html (~> 0.8.0) - simplecov-html (0.8.0) - sprockets (2.12.2) - hike (~> 1.2) - multi_json (~> 1.0) + json (~> 1.8) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) + sprockets (3.0.1) rack (~> 1.0) - tilt (~> 1.1, != 1.3.0) - sprockets-rails (2.1.4) + sprockets-rails (2.2.4) actionpack (>= 3.0) activesupport (>= 3.0) - sprockets (~> 2.8) + sprockets (>= 2.8, < 4.0) term-ansicolor (1.3.0) tins (~> 1.0) thor (0.19.1) - thread_safe (0.3.4) - tilt (1.4.1) - tins (1.3.3) + thread_safe (0.3.5) + tins (1.3.5) tzinfo (1.2.2) thread_safe (~> 0.1) + unf (0.1.4) + unf_ext + unf_ext (0.0.7.1) xpath (2.0.0) nokogiri (~> 1.3) @@ -150,7 +153,7 @@ DEPENDENCIES jquery-rails mysql2 pg - rails (~> 4.1.6) + rails (~> 4.1.10) rake redirector! rspec-rails (~> 2.14.2) diff --git a/gemfiles/rails_419.gemfile b/gemfiles/rails_419.gemfile new file mode 100644 index 0000000..be991d1 --- /dev/null +++ b/gemfiles/rails_419.gemfile @@ -0,0 +1,8 @@ +# This file was generated by Appraisal + +source "http://rubygems.org" + +gem "jquery-rails" +gem "rails", "4.1.9" + +gemspec :path => "../" diff --git a/gemfiles/rails_419.gemfile.lock b/gemfiles/rails_419.gemfile.lock new file mode 100644 index 0000000..45372f1 --- /dev/null +++ b/gemfiles/rails_419.gemfile.lock @@ -0,0 +1,160 @@ +PATH + remote: ../ + specs: + redirector (1.0.1) + rails (>= 3.1) + +GEM + remote: http://rubygems.org/ + specs: + actionmailer (4.1.9) + actionpack (= 4.1.9) + actionview (= 4.1.9) + mail (~> 2.5, >= 2.5.4) + actionpack (4.1.9) + actionview (= 4.1.9) + activesupport (= 4.1.9) + rack (~> 1.5.2) + rack-test (~> 0.6.2) + actionview (4.1.9) + activesupport (= 4.1.9) + builder (~> 3.1) + erubis (~> 2.7.0) + activemodel (4.1.9) + activesupport (= 4.1.9) + builder (~> 3.1) + activerecord (4.1.9) + activemodel (= 4.1.9) + activesupport (= 4.1.9) + arel (~> 5.0.0) + activesupport (4.1.9) + i18n (~> 0.6, >= 0.6.9) + json (~> 1.7, >= 1.7.7) + minitest (~> 5.1) + thread_safe (~> 0.1) + tzinfo (~> 1.1) + appraisal (2.0.1) + activesupport (>= 3.2.21) + bundler + rake + thor (>= 0.14.0) + arel (5.0.1.20140414130214) + builder (3.2.2) + capybara (2.4.4) + mime-types (>= 1.16) + nokogiri (>= 1.3.3) + rack (>= 1.0.0) + rack-test (>= 0.5.4) + xpath (~> 2.0) + coveralls (0.8.1) + json (~> 1.8) + rest-client (>= 1.6.8, < 2) + simplecov (~> 0.10.0) + term-ansicolor (~> 1.3) + thor (~> 0.19.1) + database_cleaner (1.4.1) + diff-lcs (1.2.5) + docile (1.1.5) + domain_name (0.5.24) + unf (>= 0.0.5, < 1.0.0) + erubis (2.7.0) + factory_girl (4.5.0) + activesupport (>= 3.0.0) + factory_girl_rails (4.5.0) + factory_girl (~> 4.5.0) + railties (>= 3.0.0) + http-cookie (1.0.2) + domain_name (~> 0.5) + i18n (0.7.0) + jquery-rails (3.1.2) + railties (>= 3.0, < 5.0) + thor (>= 0.14, < 2.0) + json (1.8.2) + mail (2.6.3) + mime-types (>= 1.16, < 3) + mime-types (2.4.3) + mini_portile (0.6.2) + minitest (5.6.0) + mysql2 (0.3.18) + netrc (0.10.3) + nokogiri (1.6.6.2) + mini_portile (~> 0.6.0) + pg (0.18.1) + rack (1.5.2) + rack-test (0.6.3) + rack (>= 1.0) + rails (4.1.9) + actionmailer (= 4.1.9) + actionpack (= 4.1.9) + actionview (= 4.1.9) + activemodel (= 4.1.9) + activerecord (= 4.1.9) + activesupport (= 4.1.9) + bundler (>= 1.3.0, < 2.0) + railties (= 4.1.9) + sprockets-rails (~> 2.0) + railties (4.1.9) + actionpack (= 4.1.9) + activesupport (= 4.1.9) + rake (>= 0.8.7) + thor (>= 0.18.1, < 2.0) + rake (10.4.2) + rest-client (1.8.0) + http-cookie (>= 1.0.2, < 2.0) + mime-types (>= 1.16, < 3.0) + netrc (~> 0.7) + rspec-core (2.14.8) + rspec-expectations (2.14.5) + diff-lcs (>= 1.1.3, < 2.0) + rspec-mocks (2.14.6) + rspec-rails (2.14.2) + actionpack (>= 3.0) + activemodel (>= 3.0) + activesupport (>= 3.0) + railties (>= 3.0) + rspec-core (~> 2.14.0) + rspec-expectations (~> 2.14.0) + rspec-mocks (~> 2.14.0) + shoulda-matchers (2.8.0) + activesupport (>= 3.0.0) + simplecov (0.10.0) + docile (~> 1.1.0) + json (~> 1.8) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) + sprockets (3.0.1) + rack (~> 1.0) + sprockets-rails (2.2.4) + actionpack (>= 3.0) + activesupport (>= 3.0) + sprockets (>= 2.8, < 4.0) + term-ansicolor (1.3.0) + tins (~> 1.0) + thor (0.19.1) + thread_safe (0.3.5) + tins (1.3.5) + tzinfo (1.2.2) + thread_safe (~> 0.1) + unf (0.1.4) + unf_ext + unf_ext (0.0.7.1) + xpath (2.0.0) + nokogiri (~> 1.3) + +PLATFORMS + ruby + +DEPENDENCIES + appraisal + capybara (~> 2.2) + coveralls + database_cleaner + factory_girl_rails (~> 4.4) + jquery-rails + mysql2 + pg + rails (= 4.1.9) + rake + redirector! + rspec-rails (~> 2.14.2) + shoulda-matchers diff --git a/gemfiles/rails_42.gemfile b/gemfiles/rails_42.gemfile new file mode 100644 index 0000000..8a7189a --- /dev/null +++ b/gemfiles/rails_42.gemfile @@ -0,0 +1,8 @@ +# This file was generated by Appraisal + +source "http://rubygems.org" + +gem "jquery-rails" +gem "rails", "~> 4.2.1" + +gemspec :path => "../" diff --git a/gemfiles/rails_42.gemfile.lock b/gemfiles/rails_42.gemfile.lock new file mode 100644 index 0000000..9d7b2eb --- /dev/null +++ b/gemfiles/rails_42.gemfile.lock @@ -0,0 +1,183 @@ +PATH + remote: ../ + specs: + redirector (1.0.1) + rails (>= 3.1) + +GEM + remote: http://rubygems.org/ + specs: + actionmailer (4.2.1) + actionpack (= 4.2.1) + actionview (= 4.2.1) + activejob (= 4.2.1) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 1.0, >= 1.0.5) + actionpack (4.2.1) + actionview (= 4.2.1) + activesupport (= 4.2.1) + rack (~> 1.6) + rack-test (~> 0.6.2) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.1) + actionview (4.2.1) + activesupport (= 4.2.1) + builder (~> 3.1) + erubis (~> 2.7.0) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.1) + activejob (4.2.1) + activesupport (= 4.2.1) + globalid (>= 0.3.0) + activemodel (4.2.1) + activesupport (= 4.2.1) + builder (~> 3.1) + activerecord (4.2.1) + activemodel (= 4.2.1) + activesupport (= 4.2.1) + arel (~> 6.0) + activesupport (4.2.1) + i18n (~> 0.7) + json (~> 1.7, >= 1.7.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + appraisal (2.0.1) + activesupport (>= 3.2.21) + bundler + rake + thor (>= 0.14.0) + arel (6.0.0) + builder (3.2.2) + capybara (2.4.4) + mime-types (>= 1.16) + nokogiri (>= 1.3.3) + rack (>= 1.0.0) + rack-test (>= 0.5.4) + xpath (~> 2.0) + coveralls (0.8.1) + json (~> 1.8) + rest-client (>= 1.6.8, < 2) + simplecov (~> 0.10.0) + term-ansicolor (~> 1.3) + thor (~> 0.19.1) + database_cleaner (1.4.1) + diff-lcs (1.2.5) + docile (1.1.5) + domain_name (0.5.24) + unf (>= 0.0.5, < 1.0.0) + erubis (2.7.0) + factory_girl (4.5.0) + activesupport (>= 3.0.0) + factory_girl_rails (4.5.0) + factory_girl (~> 4.5.0) + railties (>= 3.0.0) + globalid (0.3.5) + activesupport (>= 4.1.0) + http-cookie (1.0.2) + domain_name (~> 0.5) + i18n (0.7.0) + jquery-rails (4.0.3) + rails-dom-testing (~> 1.0) + railties (>= 4.2.0) + thor (>= 0.14, < 2.0) + json (1.8.2) + loofah (2.0.1) + nokogiri (>= 1.5.9) + mail (2.6.3) + mime-types (>= 1.16, < 3) + mime-types (2.4.3) + mini_portile (0.6.2) + minitest (5.6.0) + mysql2 (0.3.18) + netrc (0.10.3) + nokogiri (1.6.6.2) + mini_portile (~> 0.6.0) + pg (0.18.1) + rack (1.6.0) + rack-test (0.6.3) + rack (>= 1.0) + rails (4.2.1) + actionmailer (= 4.2.1) + actionpack (= 4.2.1) + actionview (= 4.2.1) + activejob (= 4.2.1) + activemodel (= 4.2.1) + activerecord (= 4.2.1) + activesupport (= 4.2.1) + bundler (>= 1.3.0, < 2.0) + railties (= 4.2.1) + sprockets-rails + rails-deprecated_sanitizer (1.0.3) + activesupport (>= 4.2.0.alpha) + rails-dom-testing (1.0.6) + activesupport (>= 4.2.0.beta, < 5.0) + nokogiri (~> 1.6.0) + rails-deprecated_sanitizer (>= 1.0.1) + rails-html-sanitizer (1.0.2) + loofah (~> 2.0) + railties (4.2.1) + actionpack (= 4.2.1) + activesupport (= 4.2.1) + rake (>= 0.8.7) + thor (>= 0.18.1, < 2.0) + rake (10.4.2) + rest-client (1.8.0) + http-cookie (>= 1.0.2, < 2.0) + mime-types (>= 1.16, < 3.0) + netrc (~> 0.7) + rspec-core (2.14.8) + rspec-expectations (2.14.5) + diff-lcs (>= 1.1.3, < 2.0) + rspec-mocks (2.14.6) + rspec-rails (2.14.2) + actionpack (>= 3.0) + activemodel (>= 3.0) + activesupport (>= 3.0) + railties (>= 3.0) + rspec-core (~> 2.14.0) + rspec-expectations (~> 2.14.0) + rspec-mocks (~> 2.14.0) + shoulda-matchers (2.8.0) + activesupport (>= 3.0.0) + simplecov (0.10.0) + docile (~> 1.1.0) + json (~> 1.8) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) + sprockets (3.0.1) + rack (~> 1.0) + sprockets-rails (2.2.4) + actionpack (>= 3.0) + activesupport (>= 3.0) + sprockets (>= 2.8, < 4.0) + term-ansicolor (1.3.0) + tins (~> 1.0) + thor (0.19.1) + thread_safe (0.3.5) + tins (1.3.5) + tzinfo (1.2.2) + thread_safe (~> 0.1) + unf (0.1.4) + unf_ext + unf_ext (0.0.7.1) + xpath (2.0.0) + nokogiri (~> 1.3) + +PLATFORMS + ruby + +DEPENDENCIES + appraisal + capybara (~> 2.2) + coveralls + database_cleaner + factory_girl_rails (~> 4.4) + jquery-rails + mysql2 + pg + rails (~> 4.2.1) + rake + redirector! + rspec-rails (~> 2.14.2) + shoulda-matchers diff --git a/spec/features/middleware_spec.rb b/spec/features/middleware_spec.rb index 298c32a..def5279 100644 --- a/spec/features/middleware_spec.rb +++ b/spec/features/middleware_spec.rb @@ -60,13 +60,15 @@ current_url.should == 'http://example.com:3000/news/5' end - it 'handles invalid URIs properly' do - bad_rule = create(:redirect_rule_regex, :destination => 'http://www.example.com$1', :source => '^/custom(.*)$') + unless Rails.gem_version >= Gem::Version.new("4.2.0") + it 'handles invalid URIs properly' do + bad_rule = create(:redirect_rule_regex, :destination => 'http://www.example.com$1', :source => '^/custom(.*)$') - begin - visit '/custom)e2' - rescue Redirector::RuleError => e - e.message.should == "RedirectRule #{bad_rule.id} generated the bad destination: http://www.example.com)e2" + begin + visit '/custom)e2' + rescue Redirector::RuleError => e + e.message.should == "RedirectRule #{bad_rule.id} generated the bad destination: http://www.example.com)e2" + end end end end