core-global 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/core/global/version.rb +1 -1
- data/lib/is/global.rb +7 -3
- 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: d3fc6a75e40bbd54b0557b8453e2f7a66c25fb4cf248015ef78d3ea374e3105c
|
4
|
+
data.tar.gz: 403e7ef91b7c1ea63d305e63d3242efd0d9fd721df8eb63aed97309848d5ac02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56e3ea2c7234526d8678b0e7c4df0b268dab622722e1ae0d546f71895c7b739ed72e77ad4a47ec4a8acb0eb0ba6cc8627951ba425819b2a7103b05f8784e36e1
|
7
|
+
data.tar.gz: b82cbd0dc1c49c4bf9893953bc1b25bc20298a251230fe1193201bc7046e6684487f11e39bf6d3887ac174937cb4912f6bfc3a0a2eb107654960634dbcfeebbd
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## [v0.0.2](https://github.com/metabahn/corerb/releases/tag/2021-06-01.1)
|
2
|
+
|
3
|
+
*released on 2021-06-01*
|
4
|
+
|
5
|
+
* `fix` [#36](https://github.com/metabahn/corerb/pull/36) Allow globalization of basic objects ([bryanp](https://github.com/bryanp))
|
6
|
+
|
1
7
|
## [v0.0.1](https://github.com/metabahn/corerb/releases/tag/2021-06-01)
|
2
8
|
|
3
9
|
*released on 2021-06-01*
|
data/lib/core/global/version.rb
CHANGED
data/lib/is/global.rb
CHANGED
@@ -42,15 +42,19 @@ module Is
|
|
42
42
|
finalize
|
43
43
|
end
|
44
44
|
|
45
|
-
|
45
|
+
if public_method_defined?(name)
|
46
|
+
global.__send__(name, *args, &block)
|
47
|
+
else
|
48
|
+
super
|
49
|
+
end
|
46
50
|
end
|
47
51
|
|
48
52
|
if Module.private_method_defined?(:ruby2_keywords)
|
49
53
|
ruby2_keywords(:method_missing)
|
50
54
|
end
|
51
55
|
|
52
|
-
def respond_to_missing?(*
|
53
|
-
|
56
|
+
def respond_to_missing?(name, *)
|
57
|
+
public_method_defined?(name) || super
|
54
58
|
end
|
55
59
|
end
|
56
60
|
|