opt_struct 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a79bedcca81ddc59a72499b1f82bce3d62eab52e6114d290c9a7f3ecc30aed3
4
- data.tar.gz: c677a0a669325ff7e37020092e8e78771bd828c1ced6b4421fd9f463b0e55fe2
3
+ metadata.gz: '059614bdb1345ea6768c1c3334626dbca0ffa61ff47ada76831fa6b91817ce8a'
4
+ data.tar.gz: fb53cbccfa0d29bf3f5574fe6d4123b40118cff79161487c91409d4fc4070c60
5
5
  SHA512:
6
- metadata.gz: aad59c9b29833cc340d1e31c504ab18b1b67176f54749c3cf9612f2c52daeb3e3accd9a8d6d6fdcbcdb6bd14b889574befb4071fdfb123b29acfc4bba9777e28
7
- data.tar.gz: fc8bc8a0eda420826906a256cbccaccdb358c61351dda152753f2011b2b2e4a382b6310de9a0a2313f56d0e013c24e9204e1a48749a78af978ea1ba560d5e84d
6
+ metadata.gz: b3503358f5bc3dee6f50ab5128b5b24fabb884852f2a7cf750861a7aa13ef5c2597be0eda3b40d562fd127afe1e44586efaecdce6223208421138269384f6818
7
+ data.tar.gz: fbe2e25d299bfa1ab62c9afd9168d4b9ac609469c3613b830192810cff34ed55d4bdf84f8e4a2affa5194f20fcd71a0502e25c23feba46b4b7cdb3dcea0c1b9a
data/README.md CHANGED
@@ -153,7 +153,7 @@ end
153
153
  Passing a Hash to `.new` or `.build` is equivalent to passing the same hash to `options`
154
154
 
155
155
  ```ruby
156
- User < OptStruct.new(email: nil, role: "member")
156
+ User = OptStruct.new(email: nil, role: "member")
157
157
  ```
158
158
 
159
159
  Default blocks can also be used and are late evaluated on the each struct instance.
@@ -1,3 +1,3 @@
1
1
  module OptStruct
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -16,8 +16,4 @@ Gem::Specification.new do |spec|
16
16
  spec.files = `git ls-files`.split("\n").grep(/^lib/)
17
17
  spec.files += %w(README.md opt_struct.gemspec)
18
18
  spec.require_paths = ["lib"]
19
-
20
- spec.add_development_dependency "bundler", ">= 1.14"
21
- spec.add_development_dependency "rake", ">= 10.0"
22
- spec.add_development_dependency "rspec", ">= 3.0"
23
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opt_struct
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Zulauf
@@ -9,49 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2019-10-06 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '1.14'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '1.14'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '10.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '3.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '3.0'
12
+ dependencies: []
55
13
  description: Struct with support for keyword params and mixin support
56
14
  email:
57
15
  - carl@linkleaf.com
@@ -85,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
43
  - !ruby/object:Gem::Version
86
44
  version: '0'
87
45
  requirements: []
88
- rubygems_version: 3.0.4
46
+ rubygems_version: 3.0.3
89
47
  signing_key:
90
48
  specification_version: 4
91
49
  summary: The Option Struct