ostruct 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ostruct.rb +2 -1
- data/ostruct.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cafac521ea9784567e49bc7548d3774d65f3d32c88972566466c541bccb37724
|
4
|
+
data.tar.gz: 7bf0c3b479c72cb4023f8eb15ad67c0aa6166aeaeb0e8af1a03aee30fbc7e586
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdd4ca44aba273c8ee9b8bffdb027de16aaa0370d3937a1405c1f2ab60e3756a1e3a12d2b0c103850dc383ec33e563ea96de051930bf90464f1a6f14ac2d87c2
|
7
|
+
data.tar.gz: dfed525f403cd0c262fd1b24d31aa0f0062fa65e93a6485a99a43e45ea671df15d7e5f3334a11217dadcb3f8a8b94cebb98975459a46cc77f800405fb6459538
|
data/lib/ostruct.rb
CHANGED
@@ -107,7 +107,7 @@
|
|
107
107
|
# For all these reasons, consider not using OpenStruct at all.
|
108
108
|
#
|
109
109
|
class OpenStruct
|
110
|
-
VERSION = "0.3.
|
110
|
+
VERSION = "0.3.2"
|
111
111
|
|
112
112
|
#
|
113
113
|
# Creates a new OpenStruct object. By default, the resulting OpenStruct
|
@@ -250,6 +250,7 @@ class OpenStruct
|
|
250
250
|
end
|
251
251
|
set_ostruct_member_value!(mname, args[0])
|
252
252
|
elsif len == 0
|
253
|
+
@table[mid]
|
253
254
|
else
|
254
255
|
begin
|
255
256
|
super
|
data/ostruct.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.summary = %q{Class to build custom data structures, similar to a Hash.}
|
17
17
|
spec.description = %q{Class to build custom data structures, similar to a Hash.}
|
18
18
|
spec.homepage = "https://github.com/ruby/ostruct"
|
19
|
-
spec.
|
19
|
+
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
20
20
|
spec.required_ruby_version = ">= 2.5.0"
|
21
21
|
|
22
22
|
spec.files = [".gitignore", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/ostruct.rb", "ostruct.gemspec"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ostruct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc-Andre Lafortune
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -56,6 +56,7 @@ files:
|
|
56
56
|
- ostruct.gemspec
|
57
57
|
homepage: https://github.com/ruby/ostruct
|
58
58
|
licenses:
|
59
|
+
- Ruby
|
59
60
|
- BSD-2-Clause
|
60
61
|
metadata: {}
|
61
62
|
post_install_message:
|
@@ -73,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
74
|
- !ruby/object:Gem::Version
|
74
75
|
version: '0'
|
75
76
|
requirements: []
|
76
|
-
rubygems_version: 3.
|
77
|
+
rubygems_version: 3.2.3
|
77
78
|
signing_key:
|
78
79
|
specification_version: 4
|
79
80
|
summary: Class to build custom data structures, similar to a Hash.
|