lite-ruby 1.1.14 → 1.1.15
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/lite/ruby/open_struct.rb +3 -1
- data/lib/lite/ruby/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: 3a427f3ee463a045ec4b95c52928b69777b2aa07ae3bd23eaf2835fdcc5abeed
|
4
|
+
data.tar.gz: 436af138b20c6f1ee2f95ad8df362ecbf6a1299db8cb8bb88118ff7bdc1cc01c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '030648c74db1997e17bdb0ced23396f0b25c962147d94f91988c3d5a7b64d500c57c8e6b8b3350c455bddf0d95e1b216cb137d27bd6418a5813d51399fdb097f'
|
7
|
+
data.tar.gz: 982b7a068449a50d1309c49b37725e6ba5ac6718aaa3b87b11fdbe48f5582a1b1d9754bddbc9afe996befadbd43a3f00551bc90cd414a8a95ba682bfdc40cc34
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.1.15] - 2021-07-05
|
10
|
+
### Changed
|
11
|
+
- Added more OpenStruct backwards compatibility
|
12
|
+
|
9
13
|
## [1.1.14] - 2021-07-05
|
10
14
|
### Changed
|
11
15
|
- Fixed mistake in OpenStruct backwards compatibility
|
data/Gemfile.lock
CHANGED
@@ -48,7 +48,9 @@ if Lite::Ruby.configuration.monkey_patches.include?('open_struct')
|
|
48
48
|
return false unless respond_to?(name, true)
|
49
49
|
return true if name.match?(/!$/)
|
50
50
|
|
51
|
-
|
51
|
+
method = 'method'
|
52
|
+
method << '!' if respond_to?(:method!)
|
53
|
+
owner = send(method, name).owner
|
52
54
|
|
53
55
|
if owner.instance_of?(::Class)
|
54
56
|
owner < ::OpenStruct
|
data/lib/lite/ruby/version.rb
CHANGED