Commit Graph

130 Commits

Author SHA1 Message Date
Andrew White 05c821ec84
Update build status badge to point at GitHub Actions 2021-05-11 08:08:49 +01:00
Andrew White 7307ba5e64
Fix mocha/setup deprecation warning 2021-05-11 07:53:51 +01:00
Andrew White fd350eb424
Prepare to release 1.2.2 2021-05-10 19:51:56 +01:00
Andrew White 9aeea2a9d1
Merge pull request #78 from rails/migrate-to-gha
Switch to GitHub actions given the pending travis-ci.org shutdown
2021-05-10 19:38:38 +01:00
Andrew White 7d709557b4
Switch to GitHub actions given the pending travis-ci.org shutdown 2021-05-10 19:37:04 +01:00
Matthew Draper 7bdfa66327
Merge pull request #77 from sikachu/rails-6-1-ready
Update CI matrix and make the gem Rails 6.1 compatible
2020-12-24 17:12:40 +10:30
Prem Sichanugrist 39211d2642 Use end_with? instead of ends_with? 2020-12-24 15:11:48 +09:00
Prem Sichanugrist 7127c19260 Remove another usage of URI.parser 2020-12-24 15:11:48 +09:00
Jonathan Fleckenstein 25e7e09791 Stop using deprecated URI.parser 2020-12-24 15:11:48 +09:00
Jonathan Fleckenstein ff589cc974 Extend ActiveSupport::Autoload in AC::Caching 2020-12-24 15:11:48 +09:00
Prem Sichanugrist 3df0a09e9b More update to the Travis CI build matrix
- Update Rubies to their latest patch version
- Mark project's base `Gemfile` as not working on Ruby <= 2.5.0
- Add Rails `6-1-stable` branch
2020-12-24 15:09:17 +09:00
sandip mondal 874931539c Travis update ruby 2.7.1 2020-12-24 12:50:20 +09:00
Rafael França ab65ebe663
Merge pull request #69 from orien/gem-metadata
Add project metadata to the gemspec
2019-11-13 16:47:46 -05:00
Orien Madgwick c5d1dd415a Add project metadata to the gemspec
As per https://guides.rubygems.org/specification-reference/#metadata,
add metadata to the gemspec file. This'll allow people to more easily
access the source code, raise issues and read the changelog. These
`bug_tracker_uri`, `changelog_uri`, `documentation_uri` and
`source_code_uri` links will appear on the rubygems page at
https://rubygems.org/gems/actionpack-action_caching and be available via
the rubygems API after the next release.
2019-11-14 08:42:09 +11:00
Rafael Mendonça França 6bce590e30
Fix typo 2019-11-12 20:10:15 -05:00
Rafael Mendonça França 67ee1b96ec
Fix tests with Rails 6 2019-11-12 20:08:09 -05:00
Rafael Mendonça França 1c7727777d
Prepare to 1.2.1 2019-11-12 19:51:34 -05:00
Akira Matsuda 6c48c98d0b CI against rails 6.0 2019-05-20 21:43:14 +09:00
Akira Matsuda 343c1b1534 CI against ruby 2.6 2019-05-20 21:36:45 +09:00
Akira Matsuda 775b5f4cdc CI against rails 5.2 2019-05-20 21:26:27 +09:00
Akira Matsuda c195551970 CI against rails 5.1 2019-05-20 21:23:16 +09:00
Akira Matsuda d7e513d900 rails 6 doesn't support ruby < 2.5 2019-05-20 21:21:07 +09:00
Akira Matsuda 6009197b7e Make sure bundler 2 is not installed
or the CI fails on rubies 2.4.6 and 2.5.5
2019-05-20 21:14:48 +09:00
Akira Matsuda a29c59cd46 CI against newer rubies 2019-05-20 21:06:34 +09:00
Akira Matsuda 2405c994e3 bunlder 1 doesn't support ruby < 2.3 2019-05-20 19:31:11 +09:00
Rafael França 4c3cdbe714
Merge pull request #62 from jacobbednarz/allow-rails-6
Allow `actionpack` 6
2018-11-20 14:51:56 -05:00
Rafael França ec71ca07e6
Remove upper limit for activerecord
Co-Authored-By: jacobbednarz <jacob.bednarz@gmail.com>
2018-11-21 06:42:57 +11:00
Rafael França 637eab2645
Remove upper limit for actionpack
Co-Authored-By: jacobbednarz <jacob.bednarz@gmail.com>
2018-11-21 06:42:43 +11:00
Jacob Bednarz 159d1dddb5
Update activerecord to match activesupport 2018-11-20 14:58:24 +11:00
Jacob Bednarz cafef695e7
Allow `actionpack` 6
Updates the gemspec to allow using `actionpack` with Rails 6 for
testing.
2018-11-20 14:25:54 +11:00
Rafael França 1442806012
Merge pull request #61 from lucianosousa/patch-1
[ci-skip] Remove Gemnasium badge
2018-10-23 16:59:18 -04:00
Luciano Sousa 4399887294
[ci-skip] Remove Gemnasium badge
Since Gemnasium was acquired by Gitlab it doesn't work with GitHub by default anymore.
See https://docs.gitlab.com/ee/user/project/import/gemnasium.html
2018-10-22 14:30:58 -04:00
Rafael França 18ada541be
Merge pull request #48 from antulik/fix-html-safe
Fix #43 html escaping when layout is false
2018-07-19 16:43:10 -04:00
Anton Katunin 5d16f8ef6f Refactor tests to include html content 2018-07-19 21:02:51 +10:00
Rafael França 52c0fc7120
Merge pull request #56 from nicolasleger/patch-1
[CI] Test against Ruby 2.5
2018-02-14 12:28:49 -05:00
Nicolas Leger 285904abc4
[CI] Test against Ruby 2.5 2018-02-14 14:14:14 +01:00
Anton Katunin 8c6e52c693 Fix #43 html escaping 2017-05-27 13:19:40 +10:00
Rafael França 985767a265 Merge pull request #44 from biow0lf/colorize-examples-in-readme-md
Colorize examples in README.md [ci skip]
2017-03-29 12:28:34 -04:00
Igor Zubkov 160f812fbd Colorize examples in README.md [ci skip] 2017-03-29 12:01:09 +03:00
Akira Matsuda d73dd50dca 1.2.0 gem was actually released in 2017
fixes #41
2017-01-25 07:15:41 +09:00
Andrew White 7960496478 Release v1.2.0 2017-01-23 12:51:32 +00:00
Andrew White 9044141824 Add arel as a git source to Gemfile-edge
Active Record in Rails 5.1 will depend on the currently unreleased
Arel 8.0 so we need to include it as a GitHub source entry.
2017-01-04 17:52:03 +00:00
Andrew White 53d75afab5 Lock nokogiri to less than 1.7 on old rubies 2017-01-04 17:40:09 +00:00
Andrew White 5ffb5ceff4 Break lambda arity test in to two parts
Looks like the test request object isn't being recycled properly and
is leaking information from one request to the next about formats.
2017-01-04 17:12:03 +00:00
Andrew White 07368c1447 Update exclusion matrix for new rubies 2017-01-04 15:41:14 +00:00
Andrew White 34a82b4da3 Update tested ruby versions 2017-01-04 15:31:47 +00:00
Andrew White a696169145 Support proc options with zero args
Fixes #40.
2017-01-04 15:26:28 +00:00
Andrew White a5f48da050 Unify the behavior of :layout and :cache_path options
Previously the :layout option would only work with a Proc or an
object that responded to call and wasn't executed in the context
of the controller instance whereas :cache_path would also accept
a Symbol and was executed in the context of the controller.
2016-11-18 06:04:17 +00:00
Andrew White 5d31989ec1 Use render_to_string :html when not caching layout
If a layout is using a format in it's name (e.g. layout.html.erb) then
using render_to_string :plain breaks because it's looking for the text
version of the layout (e.g. layout.text.erb).

We can fix this by using render_to_string :layout, which restores the
old behavior with render_to_string :text but there's still a bug with
non-HTML layouts.

Fixes #38.
2016-11-17 09:15:06 +00:00
Andrew White 442930ede3 Update CHANGELOG.md with latest changes 2016-11-12 17:23:07 +00:00