Commit Graph

393 Commits

Author SHA1 Message Date
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
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 c97bba4e40 Test against Rubinius 2012-03-12 14:53:38 -05:00
Erik Michaels-Ober 7143d82f06 Test against JRuby 2012-03-12 14:53:21 -05:00
Erik Michaels-Ober 62f40c496c Test against MRI 1.8.7 2012-03-12 14:53:05 -05:00
Erik Michaels-Ober 7a30d1d667 Remove explicit RAILS_ENV declaration
This should be set by default on the Travis Ruby workers.
2012-03-12 14:52:17 -05:00
Erik Michaels-Ober 93101cf51a Move cd back into before_script 2012-03-12 14:51:46 -05:00
Erik Michaels-Ober a1f7edd27a Run specs from the gem root 2012-03-12 14:46:10 -05:00
Erik Michaels-Ober b47594a7f0 Run specs from within test_app 2012-03-12 14:42:09 -05:00
Erik Michaels-Ober 1170421090 Explicitly specify RAILS_ENV 2012-03-12 14:29:52 -05:00
Erik Michaels-Ober 4f1e7b3586 Install all dependencies from test app for CI 2012-03-12 12:20:21 -05:00
John McAliley 2240c5a8e2 Add travis status 2012-03-12 14:03:45 -03:00
Erik Michaels-Ober 3d293bd0a0 Add setup steps to CI configuration 2012-03-12 11:52:51 -05:00
Erik Michaels-Ober 656254f6d1 Copy .rspec file into project root 2012-03-12 11:52:01 -05:00
Erik Michaels-Ober 1b4f2f85f4 America won the Revolutionary War, so we can spell color however we like 2012-03-12 11:50:29 -05:00