lhs 21.1.2.pre.keyfix.1 → 21.1.2.pre.keyfix.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lhs/concerns/record/endpoints.rb +1 -1
- data/lib/lhs/endpoint.rb +1 -1
- data/lib/lhs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c5e772b0216ba5c13812efb8200d9817ac83aa88b77cae3c87d7bd4eacb335d
|
4
|
+
data.tar.gz: 4527f3c9276f2975f5557cc5d61996e43974bfd4625b821c7f97242538ea6082
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2447b5780e0d601986c3244549ba7a1fd9a48f8c04f7131d74fbe7883f27f16af5097354452d47374c6bf2afa18e0b86d00ba2961c08ac7c71950fd701e85f2
|
7
|
+
data.tar.gz: d0ac2fcf705da318ad6cefe5bd9bb2035c4d7f25899151625f3fde2a02fdb449823eaeac713644b7684a398f6ce9ed2b9994df0b4a07d9b438a696c286038dd1
|
@@ -32,7 +32,7 @@ class LHS::Record
|
|
32
32
|
|
33
33
|
def for_url(url)
|
34
34
|
return unless url
|
35
|
-
_template, record = LHS::Record::Endpoints.all.detect do |template, _|
|
35
|
+
_template, record = LHS::Record::Endpoints.all.dup.detect do |template, _|
|
36
36
|
LHC::Endpoint.match?(url, template)
|
37
37
|
end
|
38
38
|
record
|
data/lib/lhs/endpoint.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
class LHS::Endpoint
|
5
5
|
|
6
6
|
def self.for_url(url)
|
7
|
-
template, record = LHS::Record::Endpoints.all.detect do |template, _record|
|
7
|
+
template, record = LHS::Record::Endpoints.all.dup.detect do |template, _record|
|
8
8
|
LHC::Endpoint.match?(url, template)
|
9
9
|
end
|
10
10
|
record&.endpoints&.detect { |endpoint| endpoint.url == template }
|
data/lib/lhs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lhs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 21.1.2.pre.keyfix.
|
4
|
+
version: 21.1.2.pre.keyfix.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- https://github.com/local-ch/lhs/graphs/contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|