usable 2.1.0 → 2.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: a14205274f753668d3b6bc7002739321e22f445f
4
- data.tar.gz: a21a914e5cf9850a7c4bb88708f187a017e0bad7
3
+ metadata.gz: 1f7fc4e1f907b22a327f91c9415896392fbbe293
4
+ data.tar.gz: cd2c34022445da9c3529a485c0ebda6f685ed84d
5
5
  SHA512:
6
- metadata.gz: 7f784949ee494ce858e395e5066cbcb48e9dcd153975d71eac80ed3fb1bda5f473547cc43e41ebbfded0567ebb5ab69543b9f935714ff371d7a5e52a25562f65
7
- data.tar.gz: 2231963745230a5a9eae47652db32a6b5ba874c887aab232f3fee3e0e73b41b216803baef6943a888a241d450997336fa62dd24597086bf2e380ac6e7e723764
6
+ metadata.gz: e55c0deda9d076b00bede32a192a36e2fb6807d9cfa01f51d131b680dae4741caa4bb640fd8d4ebcba267f19fcb99ba186b11bf303b968e5c06eee48c543170f
7
+ data.tar.gz: 2a9e6cc8a0d9db31631d7d840d7770bc21cf3c77b6b6d857120d53b3e541cedc320947af2f741f7302d27cc89c7e9d76201e6cd12e6c39450102716e89a890fd
@@ -1,3 +1,3 @@
1
1
  module Usable
2
- VERSION = "2.1.0".freeze
2
+ VERSION = "2.1.1".freeze
3
3
  end
data/lib/usable.rb CHANGED
@@ -68,8 +68,8 @@ module Usable
68
68
  [scope, usables].each { |x| options.each { |k, v| x[k] = v } }
69
69
  [scope, usables].each { |x| x.instance_eval &block } if block_given?
70
70
  ModExtender.new(mod, usable_options).call self
71
- self.include mod.const_get(:InstanceMethods) if self.const_defined? :InstanceMethods
72
- self.extend mod.const_get(:ClassMethods) if self.const_defined? :ClassMethods
71
+ send :include, mod.const_get(:InstanceMethods) if const_defined? :InstanceMethods
72
+ send :extend, mod.const_get(:ClassMethods) if const_defined? :ClassMethods
73
73
  self
74
74
  end
75
75
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Buckley