Commit Graph

239 Commits

Author SHA1 Message Date
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
Erik Michaels-Ober 29e3293d87 Ignore simplecov coverage directory 2012-03-12 11:42:26 -05:00
John McAliley 5e9a271064 travis config 2012-03-11 22:11:05 -04:00
John McAliley 58467eba69 use relative_require so specs work with root Rakefile. TODO: remove
test_app, mv spec dir under gem root and use dummy app instead
2012-03-11 21:47:31 -04:00
John McAliley bfa4da97eb add development dependencies 2012-03-11 21:46:57 -04:00