Commit Graph

22 Commits

Author SHA1 Message Date
Ben Atkins a5334ed3b3 Get rid of pesky deprecation warning on test dummy app [ci skip] 2015-01-07 15:58:18 -05:00
Ben Atkins c4dea7d768 Use a sort order for Test::Unit on the dummy app if possible [ci skip] 2014-12-30 16:55:03 -05:00
Ben Atkins 6d809ed7c8 Config option for raising in transactional callback is only available in ActiveRecord 4.2+ 2014-12-24 13:38:04 -05:00
Ben Atkins 40b9c580de Adjust tests for serialized attributes so they no longer contain errors when run against ActiveRecord 4.2; prepare for RMing of SerializedAttributes 2014-12-24 13:30:42 -05:00
Ben Atkins 0360d413a4 Adjust tests for our serializers so they are compatible with Arel 6; Supress warnings about raises in transactional callbacks 2014-12-24 13:29:48 -05:00
Noel Peden 5ee45827c2 Have Version created_at match model 2014-06-03 07:53:47 -07:00
Russell Osborne 0e80cd8779 Adding Full Support to Test Against Multiple DB engines.
Accomplished by swapping out database.yml files for the dummy rails instance with en engine specific one.
2014-03-16 11:07:17 -04:00
Ben Atkins 6a6e4d1473 Fixing state leak issue for :enabled_for_controller? method with RSpec and Cucumber helpers. close #293 2013-11-16 18:59:22 -05:00
Ben Atkins eb01ca30c6 Change all scope declarations to use class method syntax on the Version class. close #288 2013-10-17 14:46:06 -04:00
Ben Atkins 9dd154a4cf Adjust :paper_trail_enabled_for_controller method on Rails::Controller helper to return the value of PaperTrail.enabled? by default. close #281 2013-10-10 17:46:49 -04:00
Ben Atkins 6429ebcfc2 Updating dummy app config files to remove unnecessarily railtie require statements and reflect the syntax of the default Rails4 config files 2013-08-27 15:13:20 -04:00
Ben Atkins a91d56cd74 Merge remote-tracking branch 'soulcutter/protected_attributes' 2013-08-07 11:49:42 -04:00
Bradley Schaefer 87e384def7 Detect protect attributes for rails 4 2013-08-01 16:58:04 -05:00
Ben Atkins 3c775aa6b3 Merge branch 'rails4'
Conflicts:
	README.md
	lib/paper_trail/has_paper_trail.rb
	lib/paper_trail/version.rb
	test/dummy/config/initializers/paper_trail.rb
	test/unit/model_test.rb
	test/unit/version_test.rb
2013-08-01 14:57:44 -04:00
Ben Atkins 1b858fb8d4 Adding config options to dummy app to silence the whining in the test environment by Test::Unit 2013-05-29 17:39:30 -04:00
Ben Atkins 7bc537a45a Namespacing version class under the PaperTrail module. Fix #165 2013-05-29 17:19:05 -04:00
Ben Atkins c2dbb1c154 Merge branch 'master' into rails4
Conflicts:
	.travis.yml
	Gemfile
2013-03-15 14:50:07 -04:00
Ben Atkins 99805aa23f Updated config/application.rb and the Environment configuration files for the dummy app to match those generated by Rails 3.2 2013-02-07 15:15:25 -05:00
Chris Nicola e6fa3aedb8 Updating gemspec for Rails 4.0 and remove depricated mass assignment 2013-02-04 14:32:27 -08:00
Ben Atkins 3e072a0d8f Making it so that the paper_trail initializer for the dummy app is in the dummy app's config/initializers directory so that it mimics the behavior of the rails app when the console is run against it. 2012-12-31 13:07:27 -05:00
Philip Arndt 3947237af4 Require less of the rails stack so that it's not being imposed on applications that use paper_trail. 2012-03-17 01:17:38 +13:00
Andy Stewart 36a4b9b323 Convert to Rails 3 idioms. 2011-02-08 17:16:35 +00:00