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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6895f1f358ebef7849b15f56b3d92d1162c934b0283ead6100cc0bc6007e7ca
4
- data.tar.gz: 8367a80b57c744caa4e0063e0299b645a1342e51208d18ae9e3da2ee41ad5133
3
+ metadata.gz: 3c5e772b0216ba5c13812efb8200d9817ac83aa88b77cae3c87d7bd4eacb335d
4
+ data.tar.gz: 4527f3c9276f2975f5557cc5d61996e43974bfd4625b821c7f97242538ea6082
5
5
  SHA512:
6
- metadata.gz: 31482fb20c10c26bbe0181b98c6ccbe1c11b56b41ce94f2f2cc259ed83a10416f39aaf9aab6bac17257862307892b4893b8db63076d97698e35d434a11ae9f3c
7
- data.tar.gz: 30bd83f8e2c3391589d999ca6276157778c7e3784112ced331cd5cb2c0d4f1fa24d6124682b6cc4874bcb037ae0480795e5eb26f5971870409fbcdd15bf89940
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
@@ -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 }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LHS
4
- VERSION = '21.1.2.pre.keyfix.1'
4
+ VERSION = '21.1.2.pre.keyfix.2'
5
5
  end
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.1
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-18 00:00:00.000000000 Z
11
+ date: 2020-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel