codily 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codily/elements/base.rb +3 -1
- data/lib/codily/elements/response_object.rb +3 -0
- data/lib/codily/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c22316dd8578f104d34d07740a5cac9beca82f4
|
4
|
+
data.tar.gz: d29f853f1e99481e07a4eaec1fd901ce57a0fecd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0f8a70265eab89097a6c99cfdbef889552dd2c1e0e173bc6052fa75b08f0f1b01382f9f61f37e4d3890bf45c2c8cb72f8558bd3b6adc3603f3d80485153415d
|
7
|
+
data.tar.gz: 8c646dbd2310f6cfd1ac0b44ff7be8f62400006929895ddd4a1230f77330431ab69d2e9c13afc250780007944c4edff385916d28ef3e8f2ddb487c1f33d24548
|
data/lib/codily/elements/base.rb
CHANGED
@@ -153,7 +153,9 @@ module Codily
|
|
153
153
|
list = root.list_element(klass)
|
154
154
|
element = klass.new(root, obj, &block)
|
155
155
|
element_query = element.__send__(key2)
|
156
|
-
candidate = list.each_value.find { |_|
|
156
|
+
candidate = list.each_value.find { |_|
|
157
|
+
element_query == _.__send__(key2) && element.key == _.key
|
158
|
+
}
|
157
159
|
if candidate
|
158
160
|
if block
|
159
161
|
raise AlreadyDefined
|
data/lib/codily/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codily
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sorah Fukumori
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastly
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
133
|
rubyforge_project:
|
134
|
-
rubygems_version: 2.6.
|
134
|
+
rubygems_version: 2.6.11
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: Codificate Fastly configuration
|