2013-12-31 14:54:21 -05:00
|
|
|
GEM
|
|
|
|
remote: https://rubygems.org/
|
|
|
|
specs:
|
2014-11-06 15:35:41 -05:00
|
|
|
actionmailer (4.1.7)
|
|
|
|
actionpack (= 4.1.7)
|
|
|
|
actionview (= 4.1.7)
|
|
|
|
mail (~> 2.5, >= 2.5.4)
|
|
|
|
actionpack (4.1.7)
|
|
|
|
actionview (= 4.1.7)
|
|
|
|
activesupport (= 4.1.7)
|
2013-12-31 14:54:21 -05:00
|
|
|
rack (~> 1.5.2)
|
|
|
|
rack-test (~> 0.6.2)
|
2014-11-06 15:35:41 -05:00
|
|
|
actionview (4.1.7)
|
|
|
|
activesupport (= 4.1.7)
|
2013-12-31 14:54:21 -05:00
|
|
|
builder (~> 3.1)
|
|
|
|
erubis (~> 2.7.0)
|
2014-11-06 15:35:41 -05:00
|
|
|
activemodel (4.1.7)
|
|
|
|
activesupport (= 4.1.7)
|
2013-12-31 14:54:21 -05:00
|
|
|
builder (~> 3.1)
|
2014-11-06 15:35:41 -05:00
|
|
|
activerecord (4.1.7)
|
|
|
|
activemodel (= 4.1.7)
|
|
|
|
activesupport (= 4.1.7)
|
2013-12-31 14:54:21 -05:00
|
|
|
arel (~> 5.0.0)
|
|
|
|
activeresource (4.0.0)
|
|
|
|
activemodel (~> 4.0)
|
|
|
|
activesupport (~> 4.0)
|
|
|
|
rails-observers (~> 0.1.1)
|
2014-11-06 15:35:41 -05:00
|
|
|
activesupport (4.1.7)
|
2013-12-31 14:54:21 -05:00
|
|
|
i18n (~> 0.6, >= 0.6.9)
|
|
|
|
json (~> 1.7, >= 1.7.7)
|
|
|
|
minitest (~> 5.1)
|
|
|
|
thread_safe (~> 0.1)
|
|
|
|
tzinfo (~> 1.1)
|
2014-10-22 00:35:12 -04:00
|
|
|
ansi (1.5.0)
|
2014-10-22 02:16:26 -04:00
|
|
|
appraisal (1.0.2)
|
2013-12-31 14:54:21 -05:00
|
|
|
bundler
|
|
|
|
rake
|
|
|
|
thor (>= 0.14.0)
|
2014-11-06 15:35:41 -05:00
|
|
|
arel (5.0.1.20140414130214)
|
2014-10-22 00:35:12 -04:00
|
|
|
bcrypt (3.1.10)
|
2013-12-31 14:54:21 -05:00
|
|
|
builder (3.2.2)
|
|
|
|
coderay (1.1.0)
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
coffee-rails (4.0.1)
|
|
|
|
coffee-script (>= 2.2.0)
|
|
|
|
railties (>= 4.0.0, < 5.0)
|
2014-10-22 00:35:12 -04:00
|
|
|
coffee-script (2.3.0)
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
coffee-script-source
|
|
|
|
execjs
|
2014-10-22 00:35:12 -04:00
|
|
|
coffee-script-source (1.9.0)
|
2013-12-31 14:54:21 -05:00
|
|
|
diff-lcs (1.2.5)
|
|
|
|
erubis (2.7.0)
|
2014-10-22 00:35:12 -04:00
|
|
|
execjs (2.3.0)
|
2013-12-31 14:54:21 -05:00
|
|
|
hike (1.2.3)
|
2015-02-05 14:22:05 -05:00
|
|
|
i18n (0.7.0)
|
2014-10-22 00:35:12 -04:00
|
|
|
jbuilder (2.2.6)
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
activesupport (>= 3.0.0, < 5)
|
|
|
|
multi_json (~> 1.2)
|
2014-10-22 00:35:12 -04:00
|
|
|
jquery-rails (3.1.2)
|
2013-12-31 14:54:21 -05:00
|
|
|
railties (>= 3.0, < 5.0)
|
|
|
|
thor (>= 0.14, < 2.0)
|
2015-02-05 14:22:05 -05:00
|
|
|
json (1.8.2)
|
2014-11-06 15:35:41 -05:00
|
|
|
mail (2.6.3)
|
|
|
|
mime-types (>= 1.16, < 3)
|
2013-12-31 14:54:21 -05:00
|
|
|
method_source (0.8.2)
|
2014-11-06 15:35:41 -05:00
|
|
|
mime-types (2.4.3)
|
2015-02-05 14:22:05 -05:00
|
|
|
minitest (5.5.1)
|
2014-10-22 00:35:12 -04:00
|
|
|
minitest-reporters (1.0.10)
|
2014-09-12 18:39:00 -04:00
|
|
|
ansi
|
|
|
|
builder
|
|
|
|
minitest (>= 5.0)
|
|
|
|
ruby-progressbar
|
2014-06-17 00:54:02 -04:00
|
|
|
multi_json (1.10.1)
|
2015-02-08 16:38:55 -05:00
|
|
|
pg (0.18.1)
|
2014-10-22 00:35:12 -04:00
|
|
|
posix-spawn (0.3.9)
|
|
|
|
protected_attributes (1.0.8)
|
2013-12-31 14:54:21 -05:00
|
|
|
activemodel (>= 4.0.1, < 5.0)
|
2015-01-21 17:52:32 -05:00
|
|
|
pry (0.10.1)
|
|
|
|
coderay (~> 1.1.0)
|
|
|
|
method_source (~> 0.8.1)
|
2013-12-31 14:54:21 -05:00
|
|
|
slop (~> 3.4)
|
2015-01-21 17:52:32 -05:00
|
|
|
pry-nav (0.2.4)
|
|
|
|
pry (>= 0.9.10, < 0.11.0)
|
2014-10-22 00:35:12 -04:00
|
|
|
pygments.rb (0.6.2)
|
2014-06-20 00:44:06 -04:00
|
|
|
posix-spawn (~> 0.3.6)
|
2014-10-22 00:35:12 -04:00
|
|
|
yajl-ruby (~> 1.2.0)
|
2013-12-31 14:54:21 -05:00
|
|
|
rack (1.5.2)
|
2015-02-05 14:22:05 -05:00
|
|
|
rack-test (0.6.3)
|
2013-12-31 14:54:21 -05:00
|
|
|
rack (>= 1.0)
|
2014-11-06 15:35:41 -05:00
|
|
|
rails (4.1.7)
|
|
|
|
actionmailer (= 4.1.7)
|
|
|
|
actionpack (= 4.1.7)
|
|
|
|
actionview (= 4.1.7)
|
|
|
|
activemodel (= 4.1.7)
|
|
|
|
activerecord (= 4.1.7)
|
|
|
|
activesupport (= 4.1.7)
|
2013-12-31 14:54:21 -05:00
|
|
|
bundler (>= 1.3.0, < 2.0)
|
2014-11-06 15:35:41 -05:00
|
|
|
railties (= 4.1.7)
|
2013-12-31 14:54:21 -05:00
|
|
|
sprockets-rails (~> 2.0)
|
|
|
|
rails-observers (0.1.2)
|
|
|
|
activemodel (~> 4.0)
|
2014-11-06 15:35:41 -05:00
|
|
|
railties (4.1.7)
|
|
|
|
actionpack (= 4.1.7)
|
|
|
|
activesupport (= 4.1.7)
|
2013-12-31 14:54:21 -05:00
|
|
|
rake (>= 0.8.7)
|
|
|
|
thor (>= 0.18.1, < 2.0)
|
2015-02-05 14:22:05 -05:00
|
|
|
rake (10.4.2)
|
2014-10-22 00:35:12 -04:00
|
|
|
rdoc (4.2.0)
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
json (~> 1.4)
|
2014-10-22 00:35:12 -04:00
|
|
|
redcarpet (3.2.2)
|
2015-02-05 14:22:05 -05:00
|
|
|
rspec-core (3.2.0)
|
|
|
|
rspec-support (~> 3.2.0)
|
|
|
|
rspec-expectations (3.2.0)
|
2014-06-17 00:54:02 -04:00
|
|
|
diff-lcs (>= 1.2.0, < 2.0)
|
2015-02-05 14:22:05 -05:00
|
|
|
rspec-support (~> 3.2.0)
|
|
|
|
rspec-mocks (3.2.0)
|
|
|
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
|
|
rspec-support (~> 3.2.0)
|
|
|
|
rspec-rails (3.2.0)
|
|
|
|
actionpack (>= 3.0, <= 4.2)
|
|
|
|
activesupport (>= 3.0, <= 4.2)
|
|
|
|
railties (>= 3.0, <= 4.2)
|
|
|
|
rspec-core (~> 3.2.0)
|
|
|
|
rspec-expectations (~> 3.2.0)
|
|
|
|
rspec-mocks (~> 3.2.0)
|
|
|
|
rspec-support (~> 3.2.0)
|
|
|
|
rspec-support (3.2.1)
|
2014-10-22 00:35:12 -04:00
|
|
|
ruby-progressbar (1.7.1)
|
2013-12-31 14:54:21 -05:00
|
|
|
sass (3.2.19)
|
2014-10-22 00:35:12 -04:00
|
|
|
sass-rails (4.0.5)
|
2013-12-31 14:54:21 -05:00
|
|
|
railties (>= 4.0.0, < 5.0)
|
2014-10-22 00:35:12 -04:00
|
|
|
sass (~> 3.2.2)
|
|
|
|
sprockets (~> 2.8, < 3.0)
|
2013-12-31 14:54:21 -05:00
|
|
|
sprockets-rails (~> 2.0)
|
2014-10-22 00:35:12 -04:00
|
|
|
sdoc (0.4.1)
|
|
|
|
json (~> 1.7, >= 1.7.7)
|
|
|
|
rdoc (~> 4.0)
|
|
|
|
shoulda-context (1.2.1)
|
2015-01-21 17:52:32 -05:00
|
|
|
slop (3.6.0)
|
2014-10-22 00:35:12 -04:00
|
|
|
spring (1.2.0)
|
|
|
|
spring-commands-rspec (1.0.4)
|
Use same assertion class as Rails, if loaded
Given this scenario:
* Using Rails 4.1
* Gemfile has `gem 'shoulda-matchers', require: false`
* spec_helper has `require 'shoulda/matchers'` following
`require 'rspec/rails'`
* Using Spring to run tests
matchers that delegate to assertions in Rails (e.g. `render_template`
and `route`) will fail in the wrong way if used. They fail because in
order to use these assertions, we expect that the assertions will
raise a specific exception, an exception that corresponds to whichever
test framework that Rails is using. For Rails versions that used
Test::Unit, this is Test::Unit::AssertionFailedError. For current Rails
versions, which now use Minitest, this exception is Minitest::Assertion.
The problem is that instead of asking Rails which exception class it's
using, we are trying to detect this exception class ourselves (for
cases in which Rails is not being used). This leads to the wrong class
being detected: when using a Rails version that uses Minitest, we choose
Test::Unit::AssertionFailedError as the class. This happens using the
exact scenario above because even though shoulda-matchers is loaded
after rspec-rails, rspec-rails itself defines
Test::Unit::AssertionFailedError.
Also add Cucumber tests that confirms this exact scenario works.
2014-06-21 23:24:22 -04:00
|
|
|
spring (>= 0.9.1)
|
2014-10-22 00:35:12 -04:00
|
|
|
sprockets (2.12.3)
|
2013-12-31 14:54:21 -05:00
|
|
|
hike (~> 1.2)
|
|
|
|
multi_json (~> 1.0)
|
|
|
|
rack (~> 1.0)
|
|
|
|
tilt (~> 1.1, != 1.3.0)
|
2014-10-22 00:35:12 -04:00
|
|
|
sprockets-rails (2.2.4)
|
2014-11-06 15:35:41 -05:00
|
|
|
actionpack (>= 3.0)
|
|
|
|
activesupport (>= 3.0)
|
|
|
|
sprockets (>= 2.8, < 4.0)
|
2014-10-22 00:35:12 -04:00
|
|
|
sqlite3 (1.3.10)
|
2013-12-31 14:54:21 -05:00
|
|
|
thor (0.19.1)
|
2014-06-17 00:54:02 -04:00
|
|
|
thread_safe (0.3.4)
|
2013-12-31 14:54:21 -05:00
|
|
|
tilt (1.4.1)
|
2014-10-22 00:35:12 -04:00
|
|
|
turbolinks (2.5.3)
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
coffee-rails
|
2014-06-17 00:54:02 -04:00
|
|
|
tzinfo (1.2.2)
|
2013-12-31 14:54:21 -05:00
|
|
|
thread_safe (~> 0.1)
|
2014-10-22 00:35:12 -04:00
|
|
|
uglifier (2.7.0)
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
execjs (>= 0.3.0)
|
|
|
|
json (>= 1.8.0)
|
2014-06-20 00:44:06 -04:00
|
|
|
watchr (0.7)
|
2014-10-22 00:35:12 -04:00
|
|
|
yajl-ruby (1.2.1)
|
|
|
|
yard (0.8.7.6)
|
2013-12-31 14:54:21 -05:00
|
|
|
|
|
|
|
PLATFORMS
|
|
|
|
ruby
|
|
|
|
|
|
|
|
DEPENDENCIES
|
|
|
|
activerecord-jdbc-adapter
|
|
|
|
activerecord-jdbcsqlite3-adapter
|
|
|
|
activeresource (= 4.0.0)
|
2014-10-22 02:16:26 -04:00
|
|
|
appraisal (~> 1.0)
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
bcrypt (~> 3.1.7)
|
2013-12-31 14:54:21 -05:00
|
|
|
bundler (~> 1.1)
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
coffee-rails (~> 4.0.0)
|
|
|
|
jbuilder (~> 2.0)
|
2013-12-31 14:54:21 -05:00
|
|
|
jdbc-sqlite3
|
|
|
|
jquery-rails
|
|
|
|
jruby-openssl
|
2014-09-12 18:39:00 -04:00
|
|
|
minitest-reporters
|
2015-02-08 16:38:55 -05:00
|
|
|
pg
|
2013-12-31 14:54:21 -05:00
|
|
|
protected_attributes (~> 1.0.6)
|
2015-01-21 17:52:32 -05:00
|
|
|
pry-nav
|
2014-06-20 00:44:06 -04:00
|
|
|
pygments.rb
|
2013-12-31 14:54:21 -05:00
|
|
|
rails (~> 4.1.0)
|
2015-02-05 20:01:20 -05:00
|
|
|
rake (~> 10.0)
|
2014-06-20 00:44:06 -04:00
|
|
|
redcarpet
|
2014-12-28 12:54:33 -05:00
|
|
|
rspec-core (>= 3.2.0, < 4)
|
|
|
|
rspec-expectations (>= 3.2.0, < 4)
|
|
|
|
rspec-rails (>= 3.2.0, < 4)
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
sass-rails (~> 4.0.3)
|
|
|
|
sdoc (~> 0.4.0)
|
2013-12-31 14:54:21 -05:00
|
|
|
shoulda-context (~> 1.2.0)
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
spring
|
Use same assertion class as Rails, if loaded
Given this scenario:
* Using Rails 4.1
* Gemfile has `gem 'shoulda-matchers', require: false`
* spec_helper has `require 'shoulda/matchers'` following
`require 'rspec/rails'`
* Using Spring to run tests
matchers that delegate to assertions in Rails (e.g. `render_template`
and `route`) will fail in the wrong way if used. They fail because in
order to use these assertions, we expect that the assertions will
raise a specific exception, an exception that corresponds to whichever
test framework that Rails is using. For Rails versions that used
Test::Unit, this is Test::Unit::AssertionFailedError. For current Rails
versions, which now use Minitest, this exception is Minitest::Assertion.
The problem is that instead of asking Rails which exception class it's
using, we are trying to detect this exception class ourselves (for
cases in which Rails is not being used). This leads to the wrong class
being detected: when using a Rails version that uses Minitest, we choose
Test::Unit::AssertionFailedError as the class. This happens using the
exact scenario above because even though shoulda-matchers is loaded
after rspec-rails, rspec-rails itself defines
Test::Unit::AssertionFailedError.
Also add Cucumber tests that confirms this exact scenario works.
2014-06-21 23:24:22 -04:00
|
|
|
spring-commands-rspec
|
2013-12-31 14:54:21 -05:00
|
|
|
sqlite3
|
|
|
|
therubyrhino
|
Add missing test dependences to Appraisals
Since as of commit 2748b750873faf587c78d7a71f6c725b0fd4252a, we no
longer install dependencies inside of the Rails app that is generated
and used to run all of the tests, we have to require all of the
dependencies that the app would install inside of the appropriate
Appraisals.
This was mostly straightforward except for some workarounds with the
turn gem:
* Rails 3.1 requires two versions of turn depending on which Ruby
version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
uses ~> 0.9.3. To accommodate this we have to have two versions of the
Rails 3.1 appraisal which declare the different turn versions.
* Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
turn is declared with `require: false`. This causes a problem while
running our tests because turn actually requires minitest/autorun,
which adds a hook so when Ruby exits, Minitest tests are run. Because
we're already using RSpec, Minitest will try to re-run the `rspec`
command we ran within a Minitest environment. This will fail since we
are using RSpec-specific command line options to run the tests.
Unfortunately there's no way to shut off minitest/autorun after it's
been required, so we have to monkey-patch Minitest's #run method so
it's a no-op.
2014-05-16 11:57:19 -04:00
|
|
|
turbolinks
|
|
|
|
uglifier (>= 1.3.0)
|
2014-06-20 00:44:06 -04:00
|
|
|
watchr
|
|
|
|
yard
|