acts_as_dynamic_method 0.0.2 → 0.0.3

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.
@@ -1,3 +1,3 @@
1
1
  module ActsAsDynamicMethod
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -51,9 +51,14 @@ module ActsAsDynamicMethod
51
51
  end
52
52
 
53
53
  if defined?(ActiveRecord::Base)
54
- ActiveRecord::Base.send :include, ActsAsDynamicMethod::ClassMethods
54
+ ActiveRecord::Base.send :extend, ActsAsDynamicMethod::ClassMethods
55
55
  else
56
56
  Object.send :include, ActsAsDynamicMethod::ClassMethods
57
57
  end
58
58
 
59
+ # def self.included(receiver)
60
+ # receiver.extend ClassMethods
61
+ # receiver.send :include, InstanceMethods
62
+ # end
63
+
59
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_dynamic_method
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: