Commit Graph

22 Commits

Author SHA1 Message Date
Ben Atkins 4dba95a082 Fix ActiveSupport::TestCase tests for MySQL 2014-05-09 11:05:58 -04:00
Russell Osborne 463c2147e6 Fixing Postgres failing spec.
Changing the test to not use the unsorted with with_item_keys call.
2014-03-16 11:08:38 -04: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
David Butler 95a50ae6b8 Thread safety for #without_versioning
Conflicts:
	lib/paper_trail/has_paper_trail.rb
2014-02-20 11:22:26 -05:00
Ben Atkins 2b9a49c119 Fix failing test on travis stemming from b36780e708 2014-02-12 15:14:41 -05:00
Ben Atkins b36780e708 Default value for :user_for_paper_trail method should try to return an id instead of an object. close #316 2014-02-11 11:27:03 -05:00
Ben Atkins 4f6c57550b Remove deprecated :set_whodunnit method from Rails::Controller module 2013-12-02 11:18:43 -05: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 9d4437bf00 Adjusting the Sinatra extension so it is namespaced under the PaperTrail module instead of under the Sinatra module. close #277 2013-09-26 10:29:53 -04:00
Ben Atkins aa6fbedc9e Fixing the SinatraTest so it does not cause the test suite to stall in JRuby-19mode 2013-08-19 11:33:03 -04:00
Ben Atkins 6ec14d7695 Tweaks to the Sinatra extension helper to make it more in line with the Sinatra guidelines for writing extensions 2013-08-15 11:00:55 -04:00
Ben Atkins efe386d0b1 Fixing the Sinatra tests so they pass in Ruby18 2013-08-13 21:49:15 -04:00
Ben Atkins 557b14d5fd Add support for Sinatra; decouple Rails. close #119 2013-08-13 17:15:31 -04:00
Ben Atkins 703cf2320e Uncommenting the ControllerTest 2013-08-13 16:25:57 -04: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 7bc537a45a Namespacing version class under the PaperTrail module. Fix #165 2013-05-29 17:19:05 -04:00
Chris Nicola 1017159fa0 Fixes most of the tests (with one exception from SQLLite) 2013-02-04 15:03:05 -08:00
Pikender Sharma 4bb7306ccf Controller metadata methods (user_for_paper_trail and info_for_paper_trail) should be evaluated when paper trail is enabled for controller 2012-11-06 13:34:14 +05:30
Andy Stewart bb79fab9e9 Rename enable/disable methods to clarify intention. 2011-04-05 09:08:54 +01:00
Andy Stewart 2880476e24 Whitespace 2011-04-04 17:56:53 +01:00
Jonas Höglund ff818e3acc Added the possibility to disable/enable PaperTrail from a controller 2011-03-18 09:50:34 +01:00
Andy Stewart 36a4b9b323 Convert to Rails 3 idioms. 2011-02-08 17:16:35 +00:00