This website requires JavaScript.
c5d7d811b7
Merge pull request #77 from nbit001/travis_allow_failure
Nalesso Moreira
2013-05-08 17:37:12 -07:00
e8e7e76528
Update .travis.yml
Nalesso Moreira
2013-05-09 02:34:54 +02:00
95f58deb79
allow travis to fail
Antonio C Nalesso Moreira
2013-05-09 01:31:07 +01:00
c8127c43a6
fix stub. reverted back to controller_name
johnmcaliley
2013-05-07 20:49:45 -04:00
2782fd8365
bump to 1.3.1
johnmcaliley
2013-05-07 20:44:12 -04:00
ce935aaa38
change controller_path back to controller_name
John McAliley
2013-05-07 21:40:59 -03:00
ef34cf85b8
bump version to 1.3.0
johnmcaliley
2013-05-06 09:57:13 -04:00
89913641bc
Update create_impressions_table.rb
John McAliley
2013-05-06 10:30:26 -03:00
3821a7f0ba
Merge pull request #75 from nbit001/cleaner_engine
John McAliley
2013-05-06 06:22:12 -07:00
1f25e16c0e
Update engine.rb
Nalesso Moreira
2013-05-06 05:27:10 +02:00
14f4097a7b
Removed conditional statements and following the DRY concept.
nbit001
2013-05-05 21:53:04 +01:00
aad703c297
Removed conditional statements and following the DRY concept.
nbit001
2013-05-05 21:47:41 +01:00
23ce2b201e
fix spec and use controller_path in mongoid
John McAliley
2013-04-01 22:40:09 -04:00
a6e8ac2418
remove jruby from travis
John McAliley
2013-04-01 22:05:47 -04:00
26835a237b
Merge pull request #71 from yous/fix_unique_impressionable_type
John McAliley
2013-04-01 18:59:31 -07:00
4a7532f69b
Merge pull request #68 from FoboCasteR/fix-issue-60
John McAliley
2013-04-01 18:52:46 -07:00
48b3819764
Update README.md
John McAliley
2013-04-01 22:39:56 -03:00
d3a52b18cf
Merge pull request #70 from tyrauber/non-restful-controller-support
John McAliley
2013-04-01 12:56:14 -07:00
df8489163e
Change generating impressionable_type by from controller_name to controller_path
ChaYoung You
2013-04-01 04:19:24 +09:00
495e0a4273
Test coverage around impressions for non-restful controller actions. Added dummy route, index method, view and dummy controller spec.
Ty Rauber
2013-03-30 13:30:56 -07:00
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.
Ty Rauber
2013-03-30 13:00:46 -07:00
7431129092
fix filter for mongoid (Fix #60 )
FoboCasteR
2013-03-25 11:52:21 +03:00
27c9352a5e
Merge pull request #66 from AdamFerguson/master
John McAliley
2013-03-23 18:42:18 -07:00
abe0b8790a
remove migration to index impressionable_type, message, and impressionable_id
Adam Ferguson
2013-03-04 14:46:29 -05:00
d5f29fe825
Merge pull request #64 from hyperrjas/master
John McAliley
2013-02-28 20:05:49 -08:00
56c442bee0
Update README.md
hyperrjas
2013-02-28 13:17:54 +01:00
fd5b4ee6f2
how add mongoid on README.MD
hyperrjas
2013-02-28 13:16:43 +01:00
0894f6a550
travis jruby19
John McAliley
2013-02-19 16:19:13 -05:00
686d12f2d3
force rails generator file overwrite
John McAliley
2013-02-19 15:58:30 -05:00
a3f8dfd373
update to v1.2.0
John McAliley
2013-02-19 15:40:24 -05:00
9f9ed8fb87
Merge pull request #53 from elfassy/master
John McAliley
2013-02-19 12:22:27 -08:00
bbb142a968
Update README.md
John McAliley
2013-01-17 16:23:50 -05:00
00e658b28d
fix for bug undefined method 'belongs_to' for Impression:Class
Michael Elfassy
2012-10-10 12:03:18 -04:00
7a93fff255
Merge pull request #46 from jgwmaxwell/mongoid
John McAliley
2012-07-19 08:39:13 -07:00
8f2c219b97
removed more files
JGW Maxwell
2012-07-11 10:33:35 +01:00
7eae7fb1d0
removed unneeded file
JGW Maxwell
2012-07-11 03:45:55 +01:00
2f8c47a46f
fixed for Mongoid 2 support
JGW Maxwell
2012-07-11 03:45:24 +01:00
a53363d9f6
Fixed default ActiveRecord setting preventing generator from running.
JGW Maxwell
2012-07-11 02:58:59 +01:00
7ab364c7eb
Mongoid functionality working for Mongoid 3.0, haven't got to grips with the tests yet, so will push those in next commit
JGW Maxwell
2012-07-11 02:42:43 +01:00
bdd7a05215
Merge pull request #44 from c42engineering/master
Erik Michaels-Ober
2012-07-04 12:04:12 -07:00
9104ddb7b7
Avoid updating timestamp when updating counter_cache.
Asif S Kalam
2012-07-04 19:53:25 +05:30
b6c67f2abe
Remove executable attributes and shebang line
Erik Michaels-Ober
2012-05-07 13:44:01 -07:00
d1032cb93e
Test against MRI 2.0
Erik Michaels-Ober
2012-04-24 02:24:00 -07:00
90d9428687
Remove .DS_Store from .gitignore
Erik Michaels-Ober
2012-04-16 18:11:25 -07:00
92e2147f61
remove_index not remove_column
Adam Ferguson
2012-04-03 15:29:21 -04:00
a773a4d366
Add compound index on impressionable_type, message, impressionable_id
Adam Ferguson
2012-04-03 15:23:14 -04:00
63ea4d5663
Merge pull request #36 from challengepost/namespace_impressionable_methods
Erik Michaels-Ober
2012-03-21 12:48:51 -07:00
95125f4627
Merge pull request #37 from challengepost/optimize_impressionist_count
Erik Michaels-Ober
2012-03-21 12:47:18 -07:00
6e6016480b
Remove JRuby in 1.9 mode from the test matrix
Erik Michaels-Ober
2012-03-21 11:11:06 -07:00
69b01ca270
Merge pull request #38 from challengepost/bot_method
Erik Michaels-Ober
2012-03-21 10:58:50 -07:00
3a64d4b9ab
Add extract controller logic for bypassing impression to bot? method
Ross Kaffenberger
2012-03-20 16:57:20 -04:00
fcfacdfdc9
Optimize impressionist_count query via arel count with distinct option
Ross Kaffenberger
2012-03-19 18:24:40 -04:00
51144d4c86
Typo in test
Ross Kaffenberger
2012-03-19 16:04:43 -04:00
f59f897d25
Deprecation warning for counter_caching?
Ross Kaffenberger
2012-03-19 15:56:42 -04:00
4c2c09ca69
Rename instance method update_counter_cache => update_impressionist_counter_cache
Ross Kaffenberger
2012-03-19 14:33:19 -04:00
380f49cf62
namespace impressionable model module class methods with 'impressionist_'
Ross Kaffenberger
2012-03-19 14:31:05 -04:00
594889a3db
bumped patch version
John McAliley
2012-03-15 13:21:21 -04:00
b01e40d7b5
use the engine root instead of relative path. the path was not found
John McAliley
2012-03-15 13:16:15 -04:00
f15cf55248
Merge pull request #35 from tute/master
John McAliley
2012-03-15 06:17:05 -07:00
14067b0164
Requiring generic model code.
Tute Costa
2012-03-15 09:42:32 -03:00
07024963ab
Version bump to 1.1.0
Erik Michaels-Ober
2012-03-14 00:44:19 -06:00
15f255ff98
Merge pull request #31 from tute/master
John McAliley
2012-03-12 20:19:41 -07:00
ca12bcf7c6
Use bundler 1.1
Erik Michaels-Ober
2012-03-12 19:34:07 -05:00
ccb575ba68
Specify special sqlite adapter on JRuby in top-level Gemfile
Erik Michaels-Ober
2012-03-12 19:15:49 -05:00
d0e7326f2b
Use special sqlite adapter on JRuby
Erik Michaels-Ober
2012-03-12 19:08:59 -05:00
474ea03281
Encoding is unnecessary and allow tests to pass in Ruby 1.8
Erik Michaels-Ober
2012-03-12 19:02:43 -05:00
35e6f80277
Add spec directory to $LOAD_PATH
Erik Michaels-Ober
2012-03-12 18:45:30 -05:00
5257c7dfd3
Require spec helper before running tests
Erik Michaels-Ober
2012-03-12 18:31:54 -05:00
174869a910
Don't start SimpleCov during CI builds
Erik Michaels-Ober
2012-03-12 18:20:07 -05:00
5640e3625a
Revert "use relative_require so specs work with root Rakefile. TODO: remove"
Erik Michaels-Ober
2012-03-12 18:09:21 -05:00
7ffe521aa0
Test in both 1.8 and 1.9 mode on JRuby and Rubinius
Erik Michaels-Ober
2012-03-12 18:08:41 -05:00
9dc4724bef
Test against MRI 1.9.2
Erik Michaels-Ober
2012-03-12 15:10:00 -05:00
1c3f809da8
Moves ORM specific code to lib/impressionist/:orm/models. Adds mongo_mapper models. Adds config/initializers/impression.rb file on install.
Tute Costa
2012-03-12 19:06:16 -03:00
6c18d5b52c
Merge pull request #30 from tute/master
Erik Michaels-Ober
2012-03-12 15:10:41 -07:00
f9ad09a19a
git ignoring unused Rails files.
Tute Costa
2012-03-12 18:27:19 -03:00
ecb95519ec
Impressionist generator now accepts --orm option (defaults to active_record).
Tute Costa
2012-03-12 18:19:29 -03:00
0e7d75d1ec
Impressionable now extends ActiveSupport::Concern. Adds pg gem to test_app.
Tute Costa
2012-03-12 18:10:25 -03:00
9321135b0b
Merge pull request #29 from tute/master
Erik Michaels-Ober
2012-03-12 13:49:01 -07:00
952ce40ff9
White listing all Impression attributes according to new Rails active_record.whitelist default.
Tute Costa
2012-03-12 17:34:01 -03:00
6a15cbaf3e
Dropping a table automatically drops it's indexes.
Tute Costa
2012-03-12 17:30:12 -03:00
d1f1a352d4
Removing useless files/folders.
Tute Costa
2012-03-12 17:25:22 -03:00
c97bba4e40
Test against Rubinius
Erik Michaels-Ober
2012-03-12 14:53:38 -05:00
7143d82f06
Test against JRuby
Erik Michaels-Ober
2012-03-12 14:53:21 -05:00
62f40c496c
Test against MRI 1.8.7
Erik Michaels-Ober
2012-03-12 14:53:05 -05:00
7a30d1d667
Remove explicit RAILS_ENV declaration
Erik Michaels-Ober
2012-03-12 14:52:15 -05:00
93101cf51a
Move cd back into before_script
Erik Michaels-Ober
2012-03-12 14:51:46 -05:00
a1f7edd27a
Run specs from the gem root
Erik Michaels-Ober
2012-03-12 14:46:10 -05:00
b47594a7f0
Run specs from within test_app
Erik Michaels-Ober
2012-03-12 14:42:09 -05:00
1170421090
Explicitly specify RAILS_ENV
Erik Michaels-Ober
2012-03-12 14:29:52 -05:00
4f1e7b3586
Install all dependencies from test app for CI
Erik Michaels-Ober
2012-03-12 12:20:21 -05:00
2240c5a8e2
Add travis status
John McAliley
2012-03-12 14:03:45 -03:00
3d293bd0a0
Add setup steps to CI configuration
Erik Michaels-Ober
2012-03-12 11:52:45 -05:00
656254f6d1
Copy .rspec file into project root
Erik Michaels-Ober
2012-03-12 11:52:01 -05:00
1b4f2f85f4
America won the Revolutionary War, so we can spell color however we like
Erik Michaels-Ober
2012-03-12 11:50:29 -05:00
29e3293d87
Ignore simplecov coverage directory
Erik Michaels-Ober
2012-03-12 11:42:26 -05:00
5e9a271064
travis config
John McAliley
2012-03-11 22:11:05 -04:00
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
John McAliley
2012-03-11 21:47:31 -04:00
bfa4da97eb
add development dependencies
John McAliley
2012-03-11 21:46:57 -04:00
3f4f9f299e
delete test generated migration and ignore it
John McAliley
2012-03-11 21:45:07 -04:00
594ffd6916
add default task for rspec
John McAliley
2012-03-11 21:38:05 -04:00