mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
f13e069f09
Since as of commit 2748b75087
, 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.
191 lines
4.2 KiB
Text
191 lines
4.2 KiB
Text
PATH
|
|
remote: .././
|
|
specs:
|
|
shoulda-matchers (2.6.1)
|
|
activesupport (>= 3.0.0)
|
|
|
|
GEM
|
|
remote: https://rubygems.org/
|
|
specs:
|
|
actionmailer (3.1.11)
|
|
actionpack (= 3.1.11)
|
|
mail (~> 2.3.3)
|
|
actionpack (3.1.11)
|
|
activemodel (= 3.1.11)
|
|
activesupport (= 3.1.11)
|
|
builder (~> 3.0.0)
|
|
erubis (~> 2.7.0)
|
|
i18n (~> 0.6)
|
|
rack (~> 1.3.6)
|
|
rack-cache (~> 1.2)
|
|
rack-mount (~> 0.8.2)
|
|
rack-test (~> 0.6.1)
|
|
sprockets (~> 2.0.4)
|
|
activemodel (3.1.11)
|
|
activesupport (= 3.1.11)
|
|
builder (~> 3.0.0)
|
|
i18n (~> 0.6)
|
|
activerecord (3.1.11)
|
|
activemodel (= 3.1.11)
|
|
activesupport (= 3.1.11)
|
|
arel (~> 2.2.3)
|
|
tzinfo (~> 0.3.29)
|
|
activeresource (3.1.11)
|
|
activemodel (= 3.1.11)
|
|
activesupport (= 3.1.11)
|
|
activesupport (3.1.11)
|
|
multi_json (~> 1.0)
|
|
ansi (1.4.3)
|
|
appraisal (1.0.0.beta2)
|
|
bundler
|
|
rake
|
|
thor (>= 0.14.0)
|
|
arel (2.2.3)
|
|
aruba (0.5.3)
|
|
childprocess (>= 0.3.6)
|
|
cucumber (>= 1.1.1)
|
|
rspec-expectations (>= 2.7.0)
|
|
bcrypt-ruby (3.0.1)
|
|
bourne (1.5.0)
|
|
mocha (>= 0.13.2, < 0.15)
|
|
builder (3.0.4)
|
|
childprocess (0.3.9)
|
|
ffi (~> 1.0, >= 1.0.11)
|
|
coderay (1.1.0)
|
|
coffee-rails (3.1.1)
|
|
coffee-script (>= 2.2.0)
|
|
railties (~> 3.1.0)
|
|
coffee-script (2.2.0)
|
|
coffee-script-source
|
|
execjs
|
|
coffee-script-source (1.7.0)
|
|
cucumber (1.3.10)
|
|
builder (>= 2.1.2)
|
|
diff-lcs (>= 1.1.3)
|
|
gherkin (~> 2.12)
|
|
multi_json (>= 1.7.5, < 2.0)
|
|
multi_test (>= 0.0.2)
|
|
diff-lcs (1.2.5)
|
|
erubis (2.7.0)
|
|
execjs (2.0.2)
|
|
ffi (1.9.3)
|
|
gherkin (2.12.2)
|
|
multi_json (~> 1.3)
|
|
hike (1.2.3)
|
|
i18n (0.6.9)
|
|
jquery-rails (2.2.1)
|
|
railties (>= 3.0, < 5.0)
|
|
thor (>= 0.14, < 2.0)
|
|
json (1.8.1)
|
|
mail (2.3.3)
|
|
i18n (>= 0.4.0)
|
|
mime-types (~> 1.16)
|
|
treetop (~> 1.4.8)
|
|
metaclass (0.0.1)
|
|
method_source (0.8.2)
|
|
mime-types (1.25.1)
|
|
mocha (0.14.0)
|
|
metaclass (~> 0.0.1)
|
|
multi_json (1.8.4)
|
|
multi_test (0.0.3)
|
|
polyglot (0.3.3)
|
|
pry (0.9.12.6)
|
|
coderay (~> 1.0)
|
|
method_source (~> 0.8)
|
|
slop (~> 3.4)
|
|
rack (1.3.10)
|
|
rack-cache (1.2)
|
|
rack (>= 0.4)
|
|
rack-mount (0.8.3)
|
|
rack (>= 1.0.0)
|
|
rack-ssl (1.3.3)
|
|
rack
|
|
rack-test (0.6.2)
|
|
rack (>= 1.0)
|
|
rails (3.1.11)
|
|
actionmailer (= 3.1.11)
|
|
actionpack (= 3.1.11)
|
|
activerecord (= 3.1.11)
|
|
activeresource (= 3.1.11)
|
|
activesupport (= 3.1.11)
|
|
bundler (~> 1.0)
|
|
railties (= 3.1.11)
|
|
railties (3.1.11)
|
|
actionpack (= 3.1.11)
|
|
activesupport (= 3.1.11)
|
|
rack-ssl (~> 1.3.2)
|
|
rake (>= 0.8.7)
|
|
rdoc (~> 3.4)
|
|
thor (~> 0.14.6)
|
|
rake (10.1.1)
|
|
rdoc (3.12.2)
|
|
json (~> 1.4)
|
|
rspec-core (2.14.7)
|
|
rspec-expectations (2.14.4)
|
|
diff-lcs (>= 1.1.3, < 2.0)
|
|
rspec-mocks (2.14.4)
|
|
rspec-rails (2.14.1)
|
|
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)
|
|
sass (3.2.12)
|
|
sass-rails (3.1.6)
|
|
actionpack (~> 3.1.0)
|
|
railties (~> 3.1.0)
|
|
sass (>= 3.1.10)
|
|
tilt (~> 1.3.2)
|
|
shoulda-context (1.2.0)
|
|
slop (3.4.7)
|
|
sprockets (2.0.4)
|
|
hike (~> 1.2)
|
|
rack (~> 1.0)
|
|
tilt (~> 1.1, != 1.3.0)
|
|
sqlite3 (1.3.8)
|
|
strong_parameters (0.2.0)
|
|
actionpack (~> 3.0)
|
|
activemodel (~> 3.0)
|
|
railties (~> 3.0)
|
|
thor (0.14.6)
|
|
tilt (1.3.6)
|
|
treetop (1.4.15)
|
|
polyglot
|
|
polyglot (>= 0.3.1)
|
|
turn (0.8.2)
|
|
ansi (>= 1.2.2)
|
|
tzinfo (0.3.38)
|
|
uglifier (2.5.0)
|
|
execjs (>= 0.3.0)
|
|
json (>= 1.8.0)
|
|
|
|
PLATFORMS
|
|
ruby
|
|
|
|
DEPENDENCIES
|
|
activerecord-jdbc-adapter
|
|
activerecord-jdbcsqlite3-adapter
|
|
appraisal (~> 1.0.0.beta2)
|
|
aruba
|
|
bcrypt-ruby (~> 3.0.0)
|
|
bourne (~> 1.3)
|
|
bundler (~> 1.1)
|
|
coffee-rails (~> 3.1.1)
|
|
cucumber (~> 1.1)
|
|
jdbc-sqlite3
|
|
jquery-rails
|
|
jruby-openssl
|
|
pry
|
|
rails (~> 3.1.8)
|
|
rake (>= 0.9.2)
|
|
rspec-rails (>= 2.13.1, < 3)
|
|
sass-rails (~> 3.1.5)
|
|
shoulda-context (~> 1.2.0)
|
|
shoulda-matchers!
|
|
sqlite3
|
|
strong_parameters
|
|
therubyrhino
|
|
turn (= 0.8.2)
|
|
uglifier (>= 1.0.3)
|