44 Commits

Author SHA1 Message Date
325b0bd5c2 Bump version to 0.1.7 2024-12-19 16:37:20 +01:00
ed65771fd6 Add support for Rails 8 2024-12-19 16:36:53 +01:00
37dff918ac Bump version to 0.1.6 2024-09-24 16:31:04 +02:00
6a7c30128b Add coder to serialize 2024-09-24 16:28:08 +02:00
26d8753b50 Bump version to 0.1.5 2022-01-06 12:52:27 +01:00
d36c41ad7b Add support for Rails 7 2022-01-06 12:52:06 +01:00
90bb75d02e Add support for Rails 6 2021-07-09 11:34:47 +02:00
1bf3662cb0 Add vendor/bundle to .gitignore 2021-07-09 11:34:28 +02:00
2e2cbace07 Update dev dependencies 2021-07-09 11:34:09 +02:00
31aef55659 Bump version to 0.1.3 2018-04-27 15:24:59 +02:00
0c4196a6b4 Add support for Rails 5.2 2018-04-27 15:21:02 +02:00
902dc6cedd Test with more recent versions of ruby 2017-09-07 11:39:55 +02:00
6113b498c3 Bump version to 0.1.2 2017-09-07 10:29:04 +02:00
bf7fd7dce9 Support Rails < 5.2 2017-09-07 10:27:35 +02:00
80a06dd330 Add build status in README 2014-09-23 17:46:46 +02:00
debfa686b9 Correct deprecation warnings in specs 2014-09-23 17:17:35 +02:00
f7a0872533 Add Travis-CI file 2014-09-23 17:01:54 +02:00
2bbcd4ab70 Bump version to 0.1.1 2014-09-23 15:15:02 +02:00
2ba7f029cd Check for CollectionProxy to detect has_many
Rails 4 returns an `ActiveRecord::Associations::CollectionProxy` instead
of just an `Array` for has_many associations.
2014-09-23 15:11:08 +02:00
9e2a68d1ae Add spec for has_many associations 2014-09-23 15:11:08 +02:00
2b429681d0 Correct bug with association moderation
`TheModerator::Model` is not included in every `ActiveRecord` model so
it has to be included in association models if it is not when moderating
associations.
2014-09-23 14:51:15 +02:00
168fc7b9db Bump version to 0.1.0 2014-08-27 11:44:10 +02:00
537d1db2d4 Update gemspec to suppress warnings 2014-08-27 11:44:10 +02:00
d1e8277912 Modify informations in gemspec 2014-08-12 17:31:40 +02:00
e503271c18 Add instructions in README 2014-08-11 09:16:57 +02:00
f559869f56 Add data_display and include module in specs 2014-08-11 09:12:41 +02:00
8a838603ca Update dependencies to accept Rails >= 3.2.0 2014-08-07 17:42:30 +02:00
9268dfb0b9 Do not automatically include TheModerator::Model in ActiveRecord::Base
When automatically including the module in ActiveRecord::Base, it gives
a hierarchy error with Rails 4.
The module must be included in the required models.
2014-08-07 17:42:30 +02:00
31ba046295 Rename create_migration method in generator for Rails 4
Rails 4 already has a create_migration method in
Rails::Generators::Migration.
2014-08-07 17:42:30 +02:00
Michèle Marais
3a441d2c0c Fix bug when moderations are empty 2014-04-25 17:03:48 +02:00
Michèle Marais
6f09cf80a7 Add field for displayed data 2014-04-24 14:21:43 +02:00
Guillaume DOTT
d47bc11145 Test moderation of fields of an associated model 2013-11-28 11:08:22 +01:00
Guillaume DOTT
1752c5a843 Add moderated_fields_for method 2013-11-28 11:08:22 +01:00
Guillaume DOTT
9c24f2fc1b Add more classes in dummy app to test association moderation 2013-11-28 11:08:22 +01:00
Guillaume DOTT
7612d2f45e Test ModerationModel methods 2013-11-28 11:08:22 +01:00
Guillaume DOTT
d9b99bb6e7 Write description and summary 2013-11-28 11:08:22 +01:00
Guillaume DOTT
31090e74cc Use ActiveSupport::Concern for included modules 2013-11-28 11:08:21 +01:00
Guillaume DOTT
6257d03e45 Create dummy rails app with combustion and first tests 2013-11-28 11:08:21 +01:00
Guillaume DOTT
66fb7733b4 Force dependency to rails ~> 3.2.0 2013-11-28 11:08:21 +01:00
Guillaume DOTT
539883ec67 Moderate has_many and has_one associations 2013-11-28 11:08:21 +01:00
Guillaume DOTT
76ba4d22de Add moderated? method to check if an attribute is being moderated 2013-11-28 11:08:21 +01:00
Guillaume DOTT
fc72e412bc Add install generator for migration and default model 2013-11-28 11:08:21 +01:00
Guillaume DOTT
c3c4962d18 Add moderate method and ModerationModel class 2013-11-28 11:08:21 +01:00
Guillaume DOTT
fa60263ecb First commit 2013-11-28 11:08:21 +01:00