Commit Graph

418 Commits

Author SHA1 Message Date
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
jgrau 4c64d521a3
Lock nokogiri to 1.6.x
From nokogiri 1.7.0 ruby <= 2.0.0 are no longer
supported. In order to support those version
we must lock ourselves to 1.6.x
2017-04-28 08:00:33 +02:00
Felix Wolfsteller ef3f9eab24 provide one-liner for counter_cache migration via rails g m 2017-04-18 15:57:48 +02:00
John McAliley f38d4cdb73 Merge pull request #228 from abartov/patch-1
Fix blob length in create_index in the generated migration
2017-03-10 12:42:34 -05:00
John McAliley 62299d195f Merge pull request #223 from dancinglightning/master
small doc fix for readme step 4
2017-03-10 12:35:33 -05:00
Asaf Bartov 1af8d57802 Fix blob length in create_index in the generated migration 2017-01-08 18:21:38 -08:00
Torsten Ruger 6f2783a945 small doc fix for readme step 4 2016-12-03 18:48:36 +02:00
John McAliley b96921d24c bump version to 1.5.2 2016-09-16 09:37:36 -04:00
John McAliley 03379bf003 Merge pull request #213 from yarikov/master
Rails 5: wrong number of arguments (given 2, expected 0..1)
2016-09-16 09:22:11 -04:00
Dmitry Yarikov a0fddc9072 Fix: wrong number of arguments (given 2, expected 0..1) 2016-07-08 11:42:33 +03:00
John McAliley 6e551927ec Merge pull request #208 from spodlecki/removing-httpclient
Remove httpclient due to deprecation warning for #timeout
2016-02-02 19:28:34 -05:00
spodlecki 14794f8e34 travis updates and gemfile test for travis 2015-12-30 16:54:57 -06:00
spodlecki b38845ac6f removing httpclient due to deprecation warning 2015-12-30 16:40:05 -06:00
John McAliley aae429286d Merge pull request #202 from tansengming/feature/updates-nokogiri
updates nokogiri
2015-12-03 09:23:03 -05:00