1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
Commit graph

16 commits

Author SHA1 Message Date
Jared Beck
200e0c3a08 Update rails to fix minitest bug
- http://bit.ly/2qnWnqB
- https://github.com/rails/rails/pull/29022
2017-05-15 11:43:12 -04:00
Jared Beck
7dbcad533b Add AR 5.1 to CI matrix 2017-04-27 13:01:59 -04:00
Jared Beck
e185ae989f Lint: rubocop 0.48.0 (was 0.41.2) 2017-03-31 21:45:02 -04:00
Jared Beck
3ffa0588d1 Move sinatra integration to separate gem
Sinatra has been slow to release a version compatible with AR 5,
so having a dev. dependency on sinatra has been painful. This is the
main reason for the move, but there are the other, usual reasons:

- Better organization of github issues
- Independent development. The sinatra integration can target older
  versions of PT, for example.
- Rails users don't want sinatra integration in their apps, even if
  it's basically inactive.

And, of course, there is the inevitable downside that sinatra integration
is now a second-class citizen. That's the trade-off with separate gems.
2017-03-28 12:52:58 -04:00
Jared Beck
7cbb6fe5f1 Resume testing against AR 4.0
There are obviously people still using it, unfortunately. They should
update immediately, as AR < 4.2 is EOL, and PT will drop support very
soon.
2017-03-07 13:35:57 -05:00
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
a184c37750 Update ar5 gemfile (#806) 2016-05-15 23:21:40 -04:00
Kazuhiro NISHIYAMA
59b1ef7b0f Fix quotation marks
[ci skip]
2016-05-09 23:20:56 +09:00
Owen Rodda
b9d9fb2e7c Update PaperTrail and test suite for ActiveRecord 5 compatibility 2016-01-24 19:57:10 -05:00
Jared Beck
9852527a95 Improve speed of bundler resolution
We're seeing an issue with slow dependency resolution for
the AR3 gemfile, consistently taking 10 minutes on travis.
I am hoping that stricter version constraints will make
bundler's job easier.

If this doesn't improve the situation, we may have to try
debugging with `DEBUG_RESOLVER=1` turned on.
2016-01-15 00:20:49 -05:00
Jared Beck
ef32eb5ae0 Fix bundler warning: gem specified twice
The appraisal gemfile is supposed to override the gemspec, but
that doesn't seem to be happening for gems in the `platform`
section..
2016-01-15 00:18:21 -05:00
Jared Beck
f812ea5f45 Manage gemfiles with appraisal 2016-01-04 22:44:19 -05:00