invisible 0.2.1 → 0.2.2

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
  SHA256:
3
- metadata.gz: eb5436fd22665d78914881fb0c67242b305ec088048ac2a6ef7d3a424b99451b
4
- data.tar.gz: 939c02f69fe6c083315363b6c46531c92b0f5fd74a90421937d886ec0ad452b2
3
+ metadata.gz: 42402a14ea7331574c6464e25cb2f943a415cb5e9d02e55f697a636299a77858
4
+ data.tar.gz: 45917af86719513324f74903070e9e4e81400f717ae9d3ff0d0b1e6c3c258116
5
5
  SHA512:
6
- metadata.gz: d670cc9bedf47de871c96abce0715ac2dbf057beb98df0240683f775a3bc18a0c0e2be91d447ed3891373b3c4fa72c599b228e11b28f49d95c3c4d11112c8975
7
- data.tar.gz: 307886f9fc44e83688718d29d931fd63a75a9f5425ae34da3e3a35e9c93949cf87e98e2ee12144e2af12cf5a3af8b9492fc469010212fffb5ef25ae944b5504f
6
+ metadata.gz: 7f34308289596d38fac511fc27d4f421b651766607b3abbc4472cbeb82c54d0661ba16b7c09b197db0b1371b948bf9a78ac4fb5599d4a1e0898fc179350457d0
7
+ data.tar.gz: 1c3dcc2f68785c6dc65585957c4f8faed9e57088fec55ad888bf26cb0f2585a8ada6079294debbb79c5f5ec52ed9990e46ea0a2dc5132ad416ebee3002ca5810
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## 0.2
4
4
 
5
+ ### 0.2.2
6
+
7
+ * Give a name to prepended module. ([#4](https://github.com/shioyama/invisible/pull/4))
8
+
5
9
  ### 0.2.1
6
10
 
7
11
  * Change name of attribute accessor in prepended module to `invisible`.
@@ -76,6 +76,7 @@ maintain their original visibility.
76
76
 
77
77
  sync_visibility(base, mod = dup)
78
78
  mod.invisible = true
79
+ base.const_set("Invisible#{name}", mod) if base.name && name
79
80
  base.prepend mod
80
81
  end
81
82
 
@@ -1,3 +1,3 @@
1
1
  module Invisible
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invisible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Salzberg