Commit Graph

308 Commits

Author SHA1 Message Date
John McAliley a3f8dfd373 update to v1.2.0 2013-02-19 15:40:24 -05:00
John McAliley 9f9ed8fb87 Merge pull request #53 from elfassy/master
Fix model inconsistency
2013-02-19 12:22:27 -08:00
John McAliley bbb142a968 Update README.md
wink
2013-01-17 16:23:50 -05:00
Michael Elfassy 00e658b28d fix for bug undefined method 'belongs_to' for Impression:Class 2012-10-10 12:03:18 -04:00
John McAliley 7a93fff255 Merge pull request #46 from jgwmaxwell/mongoid
Mongoid Support
2012-07-19 08:39:13 -07:00
JGW Maxwell 8f2c219b97 removed more files 2012-07-11 10:33:35 +01:00
JGW Maxwell 7eae7fb1d0 removed unneeded file 2012-07-11 03:45:55 +01:00
JGW Maxwell 2f8c47a46f fixed for Mongoid 2 support 2012-07-11 03:45:24 +01:00
JGW Maxwell a53363d9f6 Fixed default ActiveRecord setting preventing generator from running. 2012-07-11 02:58:59 +01:00
JGW Maxwell 7ab364c7eb Mongoid functionality working for Mongoid 3.0, haven't got to grips with the tests yet, so will push those in next commit 2012-07-11 02:42:43 +01:00
Erik Michaels-Ober bdd7a05215 Merge pull request #44 from c42engineering/master
Avoid updating updated_at when counter_cache column is updated.
2012-07-04 12:04:12 -07:00
Asif S Kalam 9104ddb7b7 Avoid updating timestamp when updating counter_cache. 2012-07-04 19:53:25 +05:30
Erik Michaels-Ober b6c67f2abe Remove executable attributes and shebang line 2012-05-07 13:44:01 -07:00
Erik Michaels-Ober d1032cb93e Test against MRI 2.0 2012-04-24 02:24:00 -07:00
Erik Michaels-Ober 90d9428687 Remove .DS_Store from .gitignore
This should be in a (Mac) user's ~/.gitignore_global
2012-04-16 18:11:25 -07:00
Adam Ferguson 92e2147f61 remove_index not remove_column 2012-04-03 15:29:21 -04:00
Adam Ferguson a773a4d366 Add compound index on impressionable_type, message, impressionable_id 2012-04-03 15:23:14 -04:00
Erik Michaels-Ober 63ea4d5663 Merge pull request #36 from challengepost/namespace_impressionable_methods
Namespace impressionable methods
2012-03-21 12:48:51 -07:00
Erik Michaels-Ober 95125f4627 Merge pull request #37 from challengepost/optimize_impressionist_count
Optimize impressionist_count query via arel count with distinct option
2012-03-21 12:47:18 -07:00
Erik Michaels-Ober 6e6016480b Remove JRuby in 1.9 mode from the test matrix
The tests depend on at least one gem with native extensions (sqlite)
that won't build on JRuby in 1.9 mode. :(
2012-03-21 11:11:07 -07:00
Erik Michaels-Ober 69b01ca270 Merge pull request #38 from challengepost/bot_method
bot? method
2012-03-21 10:58:50 -07:00
Ross Kaffenberger 3a64d4b9ab Add extract controller logic for bypassing impression to bot? method 2012-03-20 17:04:00 -04:00
Ross Kaffenberger fcfacdfdc9 Optimize impressionist_count query via arel count with distinct option 2012-03-19 18:27:41 -04:00
Ross Kaffenberger 51144d4c86 Typo in test 2012-03-19 16:04:43 -04:00
Ross Kaffenberger f59f897d25 Deprecation warning for counter_caching? 2012-03-19 15:56:42 -04:00
Ross Kaffenberger 4c2c09ca69 Rename instance method update_counter_cache => update_impressionist_counter_cache 2012-03-19 14:33:19 -04:00
Ross Kaffenberger 380f49cf62 namespace impressionable model module class methods with 'impressionist_' 2012-03-19 14:31:05 -04:00
John McAliley 594889a3db bumped patch version 2012-03-15 13:21:21 -04:00
John McAliley b01e40d7b5 use the engine root instead of relative path. the path was not found 2012-03-15 13:16:15 -04:00
John McAliley f15cf55248 Merge pull request #35 from tute/master
Requiring generic model code
2012-03-15 06:17:05 -07:00
Tute Costa 14067b0164 Requiring generic model code. 2012-03-15 09:42:32 -03:00
Erik Michaels-Ober 07024963ab Version bump to 1.1.0 2012-03-14 00:44:19 -06:00
John McAliley 15f255ff98 Merge pull request #31 from tute/master
Adds mongo_mapper ORM support
2012-03-12 20:19:41 -07:00
Erik Michaels-Ober ca12bcf7c6 Use bundler 1.1 2012-03-12 19:34:07 -05:00
Erik Michaels-Ober ccb575ba68 Specify special sqlite adapter on JRuby in top-level Gemfile 2012-03-12 19:21:32 -05:00
Erik Michaels-Ober d0e7326f2b Use special sqlite adapter on JRuby 2012-03-12 19:08:59 -05:00
Erik Michaels-Ober 474ea03281 Encoding is unnecessary and allow tests to pass in Ruby 1.8 2012-03-12 19:03:18 -05:00
Erik Michaels-Ober 35e6f80277 Add spec directory to $LOAD_PATH 2012-03-12 18:45:30 -05:00
Erik Michaels-Ober 5257c7dfd3 Require spec helper before running tests 2012-03-12 18:32:24 -05:00
Erik Michaels-Ober 174869a910 Don't start SimpleCov during CI builds 2012-03-12 18:32:24 -05:00
Erik Michaels-Ober 5640e3625a Revert "use relative_require so specs work with root Rakefile. TODO: remove"
This reverts commit 58467eba69, which was
causing specs to break on Ruby 1.8.
2012-03-12 18:32:23 -05:00
Erik Michaels-Ober 7ffe521aa0 Test in both 1.8 and 1.9 mode on JRuby and Rubinius 2012-03-12 18:32:23 -05:00
Erik Michaels-Ober 9dc4724bef Test against MRI 1.9.2 2012-03-12 18:32:23 -05:00
Tute Costa 1c3f809da8 Moves ORM specific code to lib/impressionist/:orm/models. Adds mongo_mapper models.
Adds config/initializers/impression.rb file on install.
2012-03-12 19:54:29 -03:00
Erik Michaels-Ober 6c18d5b52c Merge pull request #30 from tute/master
git ignores files deleted in pull#29
2012-03-12 15:10:41 -07:00
Tute Costa f9ad09a19a git ignoring unused Rails files. 2012-03-12 18:27:19 -03:00
Tute Costa ecb95519ec Impressionist generator now accepts --orm option (defaults to active_record). 2012-03-12 18:19:29 -03:00
Tute Costa 0e7d75d1ec Impressionable now extends ActiveSupport::Concern. Adds pg gem to test_app. 2012-03-12 18:10:25 -03:00
Erik Michaels-Ober 9321135b0b Merge pull request #29 from tute/master
White listing all Impression attributes for supporting new active_record.whitelist_attributes default
2012-03-12 13:49:01 -07:00
Tute Costa 952ce40ff9 White listing all Impression attributes according to new Rails active_record.whitelist default. 2012-03-12 17:34:01 -03:00