invisible 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/invisible.rb +2 -1
- data/lib/invisible/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65ef329eb89307f93932f8bb0f0356d06332d4e625f2d2d8bacce79621a740ff
|
4
|
+
data.tar.gz: 5607e578539bf525bb3e9a2d70ae969d1d1892b4c2663b2a831540eeaaec99ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c514f30207c427ba89267a620fbc70b95d46d2ea802afaa7feeff3113601e051e57a25de12cbf036271f5535267c4355ebfe82eb7838eb94a7ccb1d12d065c6
|
7
|
+
data.tar.gz: 9c5f8ca6061c6e1fe7c99612608f4cd6541b145091c965ece9cbf8e6bfc6a81c154fa7b965c50074c2a9289fa2491377ee83fdd54efec13ec2a17caaeb724431
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/invisible.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require "invisible/version"
|
2
3
|
|
3
4
|
module Invisible
|
@@ -84,7 +85,7 @@ maintain their original visibility.
|
|
84
85
|
mod = dup
|
85
86
|
|
86
87
|
if name
|
87
|
-
return if base.const_defined?(mod_name =
|
88
|
+
return if base.const_defined?(mod_name = ['Invisible', *name.split('::')].join('__'))
|
88
89
|
base.const_set(mod_name, mod)
|
89
90
|
end
|
90
91
|
|
data/lib/invisible/version.rb
CHANGED