Commit Graph

60 Commits

Author SHA1 Message Date
Antonio C Nalesso Moreira 46f7eb5ef5 Bump to 1.4.4 2013-07-14 23:55:13 +01:00
Antonio C Nalesso Moreira 4a009f54e9 updated impressionist initializer 2013-07-14 23:54:42 +01:00
Antonio C Nalesso Moreira 6d68a28aa1 Bump to 1.4.3 2013-07-14 23:36:36 +01:00
Antonio C Nalesso Moreira 74847f2d04 fixed #96, fixed generator for orms 2013-07-14 23:36:06 +01:00
Antonio C Nalesso Moreira 2abbd7e63f Bump to 1.4.2 2013-07-12 04:01:13 +01:00
Antonio C Nalesso Moreira d737ee37af FIX #96 2013-07-12 04:00:37 +01:00
Antonio C Nalesso Moreira b05aa79ad3 added minitest tests, added 2 entities in order to handle compability between rails versions 2013-07-12 02:48:23 +01:00
Antonio C Nalesso Moreira f2cecf3518 changed gemspec 2013-07-11 05:57:51 +01:00
Antonio C Nalesso Moreira cf57348c45 fix undefined local variable 2013-07-11 05:47:51 +01:00
Antonio C Nalesso Moreira 50cebdcb23 added a rails toggle class in order to make mongodb work 2013-07-11 05:43:04 +01:00
Antonio C Nalesso Moreira 38d01e9c69 fix failing on travis, and added first spec 2013-07-11 04:09:58 +01:00
Antonio C Nalesso Moreira 47efcd2540 Bump to 1.4.1 2013-07-06 20:22:25 +01:00
Antonio C Nalesso Moreira 512987cc7a clean up tests, added dynamic support to rb 1.8.7 to 2.x when running tests 2013-07-06 20:20:35 +01:00
Antonio C Nalesso Moreira ec5df5da55 remove trailing space 2013-07-06 18:45:31 +01:00
Antonio C Nalesso Moreira c32fbcf478 Bump to 1.4.0 2013-07-06 03:38:07 +01:00
Antonio C Nalesso Moreira 034af8d987 FIX #92, Allow options to be passed to counter_cache unique, and clean up 2013-07-06 03:14:25 +01:00
John McAliley f812ae5abf Merge pull request #78 from nbit001/new_gemspec
Impressionist proposals
2013-05-27 18:02:31 -07:00
Antonio C Nalesso Moreira e3d46024a4 fix mongoid and mongo_mapper incompabilities 2013-05-15 23:17:58 +01:00
Antonio C Nalesso Moreira 20e5753925 Impressionist has been tested 2013-05-10 22:33:37 +01:00
johnmcaliley 2782fd8365 bump to 1.3.1 2013-05-07 20:44:12 -04:00
johnmcaliley ef34cf85b8 bump version to 1.3.0 2013-05-06 09:57:13 -04:00
John McAliley 89913641bc Update create_impressions_table.rb
add length for message
2013-05-06 10:30:26 -03:00
Nalesso Moreira 1f25e16c0e Update engine.rb
I've done a bit more of refactoring.
2013-05-06 05:27:10 +02:00
nbit001 14f4097a7b Removed conditional statements and following the DRY concept. 2013-05-05 21:53:04 +01:00
nbit001 aad703c297 Removed conditional statements and following the DRY concept. 2013-05-05 21:47:41 +01:00
John McAliley 23ce2b201e fix spec and use controller_path in mongoid 2013-04-01 22:40:09 -04:00
John McAliley 4a7532f69b Merge pull request #68 from FoboCasteR/fix-issue-60
fix filter for mongoid (Fix #60)
2013-04-01 18:52:46 -07:00
Ty Rauber 39c217a976 Non-restful controllers - controllers without models / resources - would cause impressionist to throw an error on impression create, because it was unable to update the model counter cache due to lack of an impressionable_type and impressionable_id. An if statement around the counter-cache method on impressionable_type and impressionable_id solves this. 2013-03-30 13:00:46 -07:00
FoboCasteR 7431129092 fix filter for mongoid (Fix #60) 2013-03-25 12:00:16 +03:00
John McAliley a3f8dfd373 update to v1.2.0 2013-02-19 15:40:24 -05:00
Michael Elfassy 00e658b28d fix for bug undefined method 'belongs_to' for Impression:Class 2012-10-10 12:03:18 -04: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
Adam Ferguson a773a4d366 Add compound index on impressionable_type, message, impressionable_id 2012-04-03 15:23:14 -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
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
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
Tute Costa ecb95519ec Impressionist generator now accepts --orm option (defaults to active_record). 2012-03-12 18:19:29 -03:00
Tute Costa 6a15cbaf3e Dropping a table automatically drops it's indexes. 2012-03-12 17:30:12 -03:00
Tute Costa d1f1a352d4 Removing useless files/folders. 2012-03-12 17:27:26 -03:00
Erik Michaels-Ober 8ab6fadf0b Replace Jeweler with Bundler::GemHelper.install_tasks
Jeweler is an unnecessary abstraction of the Gem::Specification DSL.
2012-03-06 14:55:02 -08:00
Erik Michaels-Ober 1174647779 Cleanup trailing whitespace
Trailing whitespace isn't friendly to git or vim users.
2012-03-06 14:04:32 -08:00
John McAliley a96aebfb64 Change the require so it is not dependent on File.dirname 2011-12-18 15:10:34 -05:00