Commit Graph

18 Commits

Author SHA1 Message Date
Pedro Nascimento 1f24f04da3 Using RSpec 3 for development. 2014-08-14 12:16:54 -04:00
Elliot Winkler 4d8faed1c4 Generate docs using YARD 2014-06-20 16:41:32 -06:00
Elliot Winkler ed428417a3 Move dev dependencies to Gemfile
Currently some dev dependencies are in the Gemfile, and some are in the
gemspec. The dependencies in the Gemfile are there because they are
using Bundler-specific options, so there is a legitimate reason for them
to be there, however, it's confusing to have gems in two places. So the
common denominator is to have them in the Gemfile.
2014-06-19 22:24:29 -06:00
Elliot Winkler f13e069f09 Add missing test dependences to Appraisals
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.
2014-05-21 09:50:46 -06:00
Mauro George 714cf87d78 Add support to rails 4.1.0 2014-04-08 17:41:31 -03:00
Elliot Winkler 602be16e8e Use the new appraisal executable in 1.0.0.beta1 2014-02-22 14:47:01 -07:00
Elliot Winkler 630dc2212d Bump shoulda-context to ~>1.1.2 for Rails 4 compat 2013-08-16 15:32:08 -06:00
Derek Prior 2e4e76ccfb Add Rails 4 Appraisal
Rails 4 includes strong parameters and removed attr_accessible
(protected attributes). I removed the strong_parameters development
dependency and added it to all non-4.0 appraisals. I also added the
'protected_attributes' gem to the 4.0 appraisal because the test suite
examples make heavy use of attr_accessible.
2013-08-16 15:32:06 -06:00
Dan Croak b79360441d Loosen Bourne dependency to ~> 1.3
> Use a pessimistic version in the Gemfile for gems that follow semantic
> versioning, such as rspec, factory_girl, and capybara.

https://github.com/thoughtbot/guides/tree/master/best-practices

* Upgrade dependencies so specs run on new Bourne.
* Use semantic versions in step_definitions gems.
* Rely on ActiveSupport::Dependencies.clear for reloading constants.
  http://rkh.im/code-reloading
2013-03-18 23:31:11 -07:00
Erik Michaels-Ober 181efb3ea4 Update 3.0.gemfile.lock 2012-12-03 08:30:46 -08:00
Gabe Berke-Williams 04ce17726d Update appraisals to latest Rails versions. 2012-10-01 15:36:04 -04:00
Gabe Berke-Williams 6297c73615 Add therubyrhino for jruby on 3.1.4. 2012-04-13 10:19:34 -04:00
Gabe Berke-Williams 65cb82b2eb Bump Rails versions for appraisal. 2012-04-13 09:59:10 -04:00
Gabe Berke-Williams 26fb35aae9 Use Bundler gem conventions.
Use stable version of shoulda-context. Remove rdoc-related code.
2011-11-11 20:13:03 -05:00
Vasiliy Ermolovich 16eb4aa78d render_template compatible with assert_template, closes #21 2011-10-15 14:36:30 +03:00
Prem Sichanugrist 3d9439030b Update set_the_flash_matcher to also duplicate the used set to fix a bug in Rubinius
Tests now also passed on Rubinius 2.0
2011-09-19 01:05:07 +07:00
Prem Sichanugrist 6785f596b4 Update Gem configuration for Ruby 1.9.3 and JRuby 2011-09-18 21:39:18 +07:00
Prem Sichanugrist 78b5e5f436 Update testing dependencies 2011-09-12 17:23:22 +07:00
Renamed from gemfiles/3.0.3.gemfile (Browse further)