attach_function 0.2.2 → 1.0.0

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: 11e67fe07ac303c8f2c3fc3ca1ca130185dc91ac
4
- data.tar.gz: 45b2be4c31976b5e5fccf18b49485a4ea06dad91
3
+ metadata.gz: d92091a116f93b0ba3b1d0d9b85c369b985e7b90
4
+ data.tar.gz: de5c90cd1b38d96254d626fbd35a3f49ddb964ba
5
5
  SHA512:
6
- metadata.gz: b752860396416ac322fce4b49ba243a3ad778d316bb046d79d8392b3a1dca2aa697fb7870be5c2aa6dd43e91187154dcc5e75af79f4f4b3590f019786b203b7b
7
- data.tar.gz: 74ee96c15175952138ee4cef1ad71a7726058be0b01e2c8e64ca2004a47562b0019332126f817c50bc7861dffe64e4d7ea9dd4e889e1e5a50db343c3249bcc9d
6
+ metadata.gz: ef6b1b4edbaec873c662e055bdfb4b86ab67c7f0d45777ba09c9db0fe22a19a514d88b3327892c400fb185f0fc93406f782869007b2621f15af664f45956dd28
7
+ data.tar.gz: 8782bd5f60c1c3e1d2358338a46fb631f307205e9fe27c4b965832880ff29f0b1243b240ac9977f7efaca4fa94cd23677c88d3c8f412c0e16fda8f558a6999d8
@@ -64,7 +64,7 @@ module AttachFunction
64
64
 
65
65
  #Attaches all uninherited (by default, pass true to change that) public class methods
66
66
  #of the enclosing module or of Object
67
- def attach_outer_class_methods(inherited = false)
67
+ def attach_outer_class_methods!(inherited = false)
68
68
  outer_module = Object.const_get(outer_module_name(name))
69
69
  outer_module.methods(inherited).each do |m|
70
70
  attach_function m
@@ -1,4 +1,4 @@
1
1
  module AttachFunction
2
- VERSION = "0.2.2"
2
+ VERSION = "1.0.0"
3
3
  HUMAN_VERSION = "1.0.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attach_function
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petr Skocik