famili 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/famili/child.rb +3 -3
- data/lib/famili/version.rb +1 -1
- metadata +4 -4
data/lib/famili/child.rb
CHANGED
@@ -17,7 +17,7 @@ module Famili
|
|
17
17
|
if mother.respond_to?(name)
|
18
18
|
mother.send(name, *args)
|
19
19
|
else
|
20
|
-
|
20
|
+
send(@__famili_child__.munge(:method_missing), name, *args)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
@unresolved_property_names.each do |key|
|
@@ -51,11 +51,11 @@ module Famili
|
|
51
51
|
def define_property_stub(property_name)
|
52
52
|
define_method_stub property_name do
|
53
53
|
@__famili_child__.resolve_property(property_name)
|
54
|
-
end
|
54
|
+
end if @model.respond_to?(property_name)
|
55
55
|
end
|
56
56
|
|
57
57
|
def define_method_stub(method_name, &block)
|
58
|
-
@meta_class.send(:alias_method, munge(method_name), method_name)
|
58
|
+
@meta_class.send(:alias_method, munge(method_name), method_name)
|
59
59
|
@meta_class.send(:define_method, method_name, &block)
|
60
60
|
end
|
61
61
|
end
|
data/lib/famili/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: famili
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -38,7 +38,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
38
|
version: '0'
|
39
39
|
segments:
|
40
40
|
- 0
|
41
|
-
hash: -
|
41
|
+
hash: -1462427138230622600
|
42
42
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
43
|
none: false
|
44
44
|
requirements:
|
@@ -47,11 +47,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
47
|
version: '0'
|
48
48
|
segments:
|
49
49
|
- 0
|
50
|
-
hash: -
|
50
|
+
hash: -1462427138230622600
|
51
51
|
requirements: []
|
52
52
|
rubyforge_project:
|
53
53
|
rubygems_version: 1.8.10
|
54
54
|
signing_key:
|
55
55
|
specification_version: 3
|
56
|
-
summary: famili-0.1.
|
56
|
+
summary: famili-0.1.5
|
57
57
|
test_files: []
|