rails_model_load_hook 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8473d544c2401e1f0d0b5dadf0783ef6264db6ae
|
4
|
+
data.tar.gz: f444b8e6ce91b11a0a2121b22d7b8a1620840f4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83db042067305aed31336d97b76facb0410eb6a29bfa1747da8dea34696b9bace75d5316e163a65659092deac6b9433a8de4783c5440264e005cd5e44e4e4d5c
|
7
|
+
data.tar.gz: e4d3333bc4875e4f18ef0ec12a4fe2b4008936f52cf0ad1e5f27f499bf9b8cee89954ab9fc5c81387a47b93b33f94d56ed7a2476c28ef5ba889ac339bd1f810d
|
@@ -10,8 +10,8 @@ module RailsModelLoadHook::ActiveRecord
|
|
10
10
|
|
11
11
|
module ClassMethods
|
12
12
|
def inherited_with_on_load child
|
13
|
-
ActiveSupport.run_load_hooks :model_class, child
|
14
13
|
inherited_without_on_load child
|
14
|
+
ActiveSupport.run_load_hooks :model_class, child
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_model_load_hook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Senko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sqlite3
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: Adds :model_class load hook for every ActiveRecord descendant.
|
@@ -45,15 +45,15 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- lib/tasks/rails_model_load_hook_tasks.rake
|
49
|
-
- lib/rails_model_load_hook.rb
|
50
|
-
- lib/rails_model_load_hook/version.rb
|
51
|
-
- lib/rails_model_load_hook/engine.rb
|
52
|
-
- lib/rails_model_load_hook/active_record/on_load.rb
|
53
|
-
- lib/rails_model_load_hook/active_record.rb
|
54
48
|
- MIT-LICENSE
|
55
|
-
- Rakefile
|
56
49
|
- README.rdoc
|
50
|
+
- Rakefile
|
51
|
+
- lib/rails_model_load_hook.rb
|
52
|
+
- lib/rails_model_load_hook/active_record.rb
|
53
|
+
- lib/rails_model_load_hook/active_record/on_load.rb
|
54
|
+
- lib/rails_model_load_hook/engine.rb
|
55
|
+
- lib/rails_model_load_hook/version.rb
|
56
|
+
- lib/tasks/rails_model_load_hook_tasks.rake
|
57
57
|
homepage: https://github.com/softpro/rails_model_load_hook
|
58
58
|
licenses:
|
59
59
|
- MIT
|
@@ -64,17 +64,17 @@ require_paths:
|
|
64
64
|
- lib
|
65
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.
|
77
|
+
rubygems_version: 2.2.2
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Load hook for Rails model classes.
|