lite-ruby 1.1.13 → 1.1.14
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 +5 -7
- 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: ff28b7935f151e1b0b380b88a846a43d5c26fd0ed8f0ec3868d8766c906d7a86
|
4
|
+
data.tar.gz: 44d6ba04ae35be6ccc79030b8cf818cf7c073962619190e11ac0082146650e7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db466696e81b718156b43a0e9ae3f78f0c5c0dfd960b53fc34aaf4ef393be7b5aef9bf31acbb13d9612be1c9305c4bcc43aa4996f19bf3776ce57cbc38448238
|
7
|
+
data.tar.gz: cec62b1c8ab6f99e88cc9d775d91411543ea016e9f40ea4c2c3d5fac7a8770bd5f985cf1a598c8a0c4a4a1b1505ae06d8dbda75ea3e3361b3a7ac5f01acf4307
|
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.14] - 2021-07-05
|
10
|
+
### Changed
|
11
|
+
- Fixed mistake in OpenStruct backwards compatibility
|
12
|
+
|
9
13
|
## [1.1.13] - 2021-07-05
|
10
14
|
### Added
|
11
15
|
- Added more OpenStruct backwards compatibility
|
data/Gemfile.lock
CHANGED
@@ -65,13 +65,11 @@ if Lite::Ruby.configuration.monkey_patches.include?('open_struct')
|
|
65
65
|
def new_ostruct_member!(name)
|
66
66
|
return if is_method_protected!(name)
|
67
67
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
define_singleton_method!("#{name}=") { |x| @table[name] = x }
|
74
|
-
end
|
68
|
+
method = 'define_singleton_method'
|
69
|
+
method << '!' if respond_to?(:define_singleton_method!)
|
70
|
+
|
71
|
+
send(method, name) { @table[name] }
|
72
|
+
send(method, "#{name}=") { |x| @table[name] = x }
|
75
73
|
end
|
76
74
|
|
77
75
|
end
|
data/lib/lite/ruby/version.rb
CHANGED