validates_timeliness 3.0.11 → 3.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.rdoc
CHANGED
@@ -3,7 +3,6 @@ module ValidatesTimeliness
|
|
3
3
|
class InstallGenerator < Rails::Generators::Base
|
4
4
|
desc "Copy ValidatesTimeliness default files"
|
5
5
|
source_root File.expand_path('../templates', __FILE__)
|
6
|
-
class_option :template_engine
|
7
6
|
|
8
7
|
def copy_initializers
|
9
8
|
copy_file 'validates_timeliness.rb', 'config/initializers/validates_timeliness.rb'
|
data/lib/validates_timeliness.rb
CHANGED
@@ -3,7 +3,8 @@ module ValidatesTimeliness
|
|
3
3
|
initializer "validates_timeliness.initialize_active_record", :after => 'active_record.initialize_timezone' do
|
4
4
|
ActiveSupport.on_load(:active_record) do
|
5
5
|
ValidatesTimeliness.default_timezone = ActiveRecord::Base.default_timezone
|
6
|
-
ValidatesTimeliness.extend_orms
|
6
|
+
ValidatesTimeliness.extend_orms << :active_record
|
7
|
+
ValidatesTimeliness.load_orms
|
7
8
|
end
|
8
9
|
end
|
9
10
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validates_timeliness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 12
|
10
|
+
version: 3.0.12
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Adam Meehan
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-06-23 00:00:00 +10:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|