Commit Graph

33 Commits

Author SHA1 Message Date
Jared Beck 94bf3e0398 Drop support for rails 3
In https://github.com/airblade/paper_trail/pull/895, Sean asked:

> .. since it looks like the next version is planned to be 6.0.0, how would
> you feel about dropping support for Rails 3 in that version? It has
> reached end of life, meaning it no longer receives security patches. We
> don't recommend that gem authors continue to support it.

To which, I responded:

> We could continue maintaining PT 5 if we had to, so I think it's
> fine to drop support for rails 3 in PT 6. If Ben agrees, I'd be
> happy to make that change. I'll just update the gemspec and drop
> testing support, for starters. We can clean up the conditionals in
> the code over time.
2016-11-30 12:36:39 -05:00
Sean Griffin 938361d7b7 Run CI against rails/master
This adds Rails master to CI as an allowed failure. While builds will
continue to pass regardless of this run, it makes it easier to keep an
eye on if changes need to be made for the upcoming version of Rails, as
well as automatically test shims to add compatibility
2016-11-30 12:20:26 -05:00
Jared Beck 43497e6150 PaperTrail is not compatible with sinatra 2.0 yet
In the meantime, this commit fixes PT's CI.
2016-08-23 01:35:47 -04:00
Jared Beck bfd5a44de9 Update CI and linter configuration
- ruby 2.3.1 (was 2.3.0)
- Update AR5 gemfile now that rails 5 is out
- Enable travis bundler cache. Hopefully this will speed up travis a bit.
  https://docs.travis-ci.com/user/caching/
- set TargetRubyVersion: 1.9
2016-08-09 01:11:27 -04:00
Jared Beck 595bb43d7b Update AR5 gemfile 2016-06-27 02:47:07 -04:00
Jared Beck da02f485d6 Test against rails 5 beta 3 (was beta 1) 2016-04-04 14:56:12 -04:00
Owen Rodda b9d9fb2e7c Update PaperTrail and test suite for ActiveRecord 5 compatibility 2016-01-24 19:57:10 -05:00
Jared Beck f812ea5f45 Manage gemfiles with appraisal 2016-01-04 22:44:19 -05:00
Jared Beck 1781521684 rake 10.4.2 (was 10.1.1) 2015-12-19 19:09:36 -05:00
Jared Beck 86f8c5dd33 ffaker 2.1 (was 1.31) 2015-12-19 19:02:31 -05:00
Jared Beck 10abe56b6f mysql2 0.4 (was 0.3)
Just a dev. dependency, no effect on library users.
2015-12-19 18:56:38 -05:00
Jared Beck 02a634f966 rspec 3.4 (was 3.1) 2015-12-19 18:47:13 -05:00
Jared Beck dce2514c58 Remove defunct: shoulda-matchers 2015-12-19 18:46:53 -05:00
Jared Beck d030ba2b02 Remove ruby 1.8 hacks
PaperTrail no longer supports ruby 1.8.
2015-12-13 01:14:59 -05:00
Jared Beck cbce4d361f Run rubocop linter before test suite
Most of the "cops" are wholly or partially disabled at this point.
As offenses are fixed, cops will move from `.rubocop_todo.yml` to
`.rubocop.yml`.

See
https://github.com/bbatsov/rubocop#automatically-generated-configuration
for details.
2015-11-27 21:25:41 -05:00
Jared Beck 69f9d3c5be Also constrain mysql2 in the rails 3.0 gemfile
See previous commit.
2015-09-09 09:49:35 -04:00
Ben Atkins b23453e39b 3f209b006d was wrong; 'activerecord-jdbc-adapter' gem needs to be limited for Ruby18 compatibility 2015-04-16 16:54:24 -04:00
Ben Atkins 3f209b006d Limit activerecord-jdbcpostgresql-adapter to Ruby18 compatible version to prevent test breakge on Travis 2015-04-16 14:58:40 -04:00
Ben Atkins f1d395bc84 Load RequestStore in Rails3 test ENV on Travis 2015-02-09 23:32:55 -05:00
Ben Atkins 4ac257048f Limit ffaker to v1.31.0 to maintain Ruby18 compatibility in test suite 2015-02-05 11:13:10 -05:00
Ben Atkins 93e885af19 ruby-pg 0.18 has dropped support for Ruby18 2015-01-07 15:14:10 -05:00
Ben Atkins 3268a7877e i18n >= 0.7 has no Ruby18 support 2014-12-24 15:16:57 -05:00
Ben Li 09c2cfdace fix for ruby 1.8.7 and a bug 2014-11-04 12:20:37 +11:00
Ben Li 622b6c8d48 update 3.0 gemfile 2014-11-03 16:51:37 +11:00
Ben Atkins 716c3e0fb5 Use RSpec 3 for testing; Update syntax in spec suite for RSpec 3 2014-10-09 15:04:17 -04:00
Ben Atkins 65eeaa279e Use DatabaseCleaner 1.2 for testing against Rails3 and lower to avoid compatibility erros between Ruby18 and DatabaseCleaner >= 1.3 2014-05-28 19:15:26 -04:00
Ben Atkins 8ae62c8b8e Fix test suite for ActiveRecord 3.x; assume primary key is INT if 'versions' table doesn't exist yet 2014-05-09 11:51:05 -04:00
Ben Atkins ffd7bc233a Use Rake v10.1 for development because v10.2 requires Ruby19 or higher 2014-03-25 15:41:25 -04:00
Russell Osborne 0e80cd8779 Adding Full Support to Test Against Multiple DB engines.
Accomplished by swapping out database.yml files for the dummy rails instance with en engine specific one.
2014-03-16 11:07:17 -04:00
Ben Atkins c0bf77991a Add 'generator_spec' gem to rails3 Gemfile for Travis; use :fast_finish option on Travis 2014-03-07 16:26:41 -05:00
Ben Atkins fdf85343a8 Removing ruby19 hash syntax from RSpec helper and specs to maintain Ruby18 compatibility. Changing the spec_helper to use the dummy app in the 'test' directory to avoid having two dummy apps. Adding 'rspec-rails' to the 3.0.gemfile so it can run the spec tests on Travis. 2013-08-27 17:35:36 -04:00
Ben Atkins 557b14d5fd Add support for Sinatra; decouple Rails. close #119 2013-08-13 17:15:31 -04:00
Ben Atkins 969f84a4ea Adjusting Travis CI config to cover ActiveRecord 3 and 4 and allow failures when appropriate, tweaked 3.0.gemfile so it can handle ruby18 and jruby 2013-08-01 14:59:58 -04:00