Commit Graph

431 Commits

Author SHA1 Message Date
Matt ef7bec89dc
Fix CI builds (#286)
* update test app gems and fix more deprecation errors
* replace minitest with rspec for consistency. cleanup Rakefile
2020-07-20 09:35:41 -04:00
John McAliley a8fefb0b84
Add rails version 5 or lower comment 2020-04-19 22:07:23 -04:00
John McAliley 1c935a8dcc
Update README.md 2020-04-18 02:40:10 -04:00
John McAliley 2262c07540 release version 2.0.0 2020-04-18 02:32:47 -04:00
John McAliley 00d3a457c7
Merge pull request #283 from Plaristote/master
remove deprecated use of ActionDispatch::Http::ParameterFilter
2020-04-18 02:28:24 -04:00
John McAliley 325e0830b3
Merge pull request #280 from xiaohui-zhangxh/master
compact with rack 2.0.8+
2020-04-18 02:28:05 -04:00
Michael 4dc9010fbc replace ActionDispatch::Http::ParameterFilter with ActiveSupport::ParameterFilter 2020-04-05 17:45:39 +02:00
xiaohui c5d4fce6e1
compact with rack 2.0.8+ 2019-12-20 11:14:20 +08:00
John McAliley 79c8dc0286
Update README.md 2018-12-28 09:36:35 -05:00
John McAliley 41a209bdf7
Update LICENSE.txt 2018-04-16 11:43:59 -04:00
John McAliley 3c0920174c
v1.6.1 release notes 2018-04-16 11:17:38 -04:00
John McAliley 468d260fab
bump version for next patch release 2018-04-16 11:08:18 -04:00
John McAliley 1402073ce1
Merge pull request #264 from josephMG/optional_belongs_to
Add belongs_to optional true to setup_association
2018-04-16 10:56:58 -04:00
josephMG fde9d042fb Add belongs_to optional true to setup_association 2018-02-20 23:16:10 +08:00
Jonas Grau 9da66fe1e6 Merge pull request #254 from Fibrasek/master
Add missing field for Mongoid
2017-09-01 11:23:23 +02:00
Gabriel Bellon 229951dec5 Add missing field for Mongoid 2017-08-31 21:03:20 -03:00
Jonas Grau 19bf3dadbd Merge pull request #248 from jordanhudgens/master
Implemented patch that will add the Rails major version to the migration file
2017-06-25 09:21:50 +02:00
Jordan Hudgens ec0491110f Implemented patch that will add the Rails major version to the migration file 2017-06-24 13:38:42 -07:00
Jonas Grau 513cd7d331 Merge pull request #245 from rposborne/db-upgrade
Add a DB migration to add params to schema.
2017-06-02 10:16:24 +02:00
Jonas Grau e818c21dd3 Merge pull request #246 from rposborne/params-filtering
Add params filtering on new column.
2017-06-02 10:12:38 +02:00
Russell Osborne 82db214c67 Improve test name to be better english. 2017-06-01 21:30:10 -04:00
Russell Osborne 90815302ea Add basic test to verify the positive context of filtering params 2017-06-01 20:54:17 -04:00
John McAliley ffb6528ab4 Merge pull request #244 from yskkin/patch-1
Update CHANGELOG.rdoc
2017-05-26 12:31:35 -04:00
Russell Osborne 9c89d75c60 Add upgrade migration 2017-05-26 12:19:21 -04:00
Russell Osborne b59f640b19 Use action dispatch filter to support nested filters and other rails 5 features. 2017-05-26 12:18:47 -04:00
Russell Osborne d1058a030e Remove filtered params from being stored in db 2017-05-26 12:18:47 -04:00
yskkin d4a14cfa16 Update CHANGELOG.rdoc
According to https://rubygems.org/gems/impressionist, 1.6.0 is released on May 24, 2017.
2017-05-26 13:29:20 +09:00
jgrau a344b2edad
Add upgrade guide 2017-05-25 09:08:37 +02:00
jgrau a765bd17ae
Add myself as the current maintainer
Until i'm dead or they find someone better...
2017-05-24 22:39:23 +02:00
jgrau 64b4e156d5
Update changelog 2017-05-24 22:21:44 +02:00
jgrau dc32d5ff37
Bump to version 1.6.0 2017-05-24 22:21:44 +02:00
Jonas Grau dab5ffce83 Merge pull request #243 from charlotte-ruby/fix-counter-cache-not-updating
Fix counter cache not updating when no `unique` option is set
2017-05-24 21:50:37 +02:00
Jonas Grau 72b379908f Merge pull request #242 from charlotte-ruby/performance-deletion
Performance deletion
2017-05-24 21:50:14 +02:00
Jonas Grau 529f9d494d Merge pull request #241 from msimonborg/patch-1
before_filter -> before_action
2017-05-10 22:20:28 +02:00
jgrau e94e8cf413
Use delete_all to remove impressions on a model 2017-05-10 22:17:32 +02:00
jgrau e8b4700783 Fix counter cache filter option 2017-05-10 22:10:36 +02:00
jgrau dd6779946d
Default counter_cache to count all impressions 2017-05-10 22:02:45 +02:00
M. Simon Borg c9cb792592 undo changes in test env that break travis builds 2017-05-10 15:27:44 -04:00
M. Simon Borg e5c1d3ebf1 Merge branch 'patch-1' of github.com:msimonborg/impressionist into patch-1 2017-05-10 15:20:35 -04:00
M. Simon Borg 5ed366de82 use before_action for rails 5, maintain backwards compat. 2017-05-10 15:20:11 -04:00
m. simon borg 6cd542df7a use before_action only for Rails >= 5
conditional branch on `Rails::VERSION::MAJOR` for backwards compatibility
2017-05-10 14:59:11 -04:00
m. simon borg 51c054e200 before_filter -> before_action
`before_filter` is deprecated in favor of `before_action` and removed in Rails 5.1
2017-05-10 09:52:26 -04:00
M. Simon Borg 6f22014650 splat args in SetupAssociation test 2017-05-10 08:49:15 -04:00
Jonas Grau 800c24ec64 Merge pull request #238 from charlotte-ruby/green-builds
Green builds
2017-04-28 08:20:39 +02:00
Jonas Grau efc7a54d09 Merge pull request #239 from econya/doc-COUNTER_CACHE_VIA_RAILSGMIGRATION
Readme: add `rails g migration` example for counter_cache for model
2017-04-28 08:12:10 +02:00
jgrau 987cb57aab
Specify the build command
Travis defaults to just running `rake` but on newer ruby versions on
Travis, rake v. 12 is already installed which results in
```
Gem::LoadError: You have already activated rake 12.0.0, but your Gemfile requires rake 10.5.0. Prepending `bundle exec` to your command may solve this.
```
2017-04-28 08:00:36 +02:00
jgrau 061eccf422
Add new ruby versions to travis test matrix 2017-04-28 08:00:35 +02:00
jgrau 6fd0cfcb64
Update the bundler version on Travis CI 2017-04-28 08:00:34 +02:00
jgrau 595aa46de5
Lock public_suffix to pre 1.5.0
The 1.5.0 version of public_suffix drops support
for ruby version < 2.0 which we still support.
2017-04-28 08:00:34 +02:00
jgrau 89458144be
Lock rake to a version pre 11.0
Rake version 11.0 removed the `last_comment`
method which is used by `rspec 2.14.x` which we
use in this test app.
2017-04-28 08:00:33 +02:00