intrigue-ident 0.67 → 0.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/intrigue-ident.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad42a8b0c88058a050dbd8f4ab67a373ebf559c3c10379e8de60d3f91d982542
|
4
|
+
data.tar.gz: 7e230d82c2b1f182202bd6d925362a0bf5ede9ce348c877b83734668093e98b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a706f6788167cda59212aeb6bc6bef78613fffd71455fcdd98f0454c982952ba8192ce03e6b1f16c1237398b7df8bf892f1f8338bee1880387e44dabe289fa0
|
7
|
+
data.tar.gz: fa694c789a91b0fd65e9eea60cb59cb4a48720011279f54717a57c0e2d3334b34fb782fee56630fdc9437d43dfec6c9955af95b0b8c7e56e1a5ed8944964cfd6
|
data/lib/intrigue-ident.rb
CHANGED
@@ -15,7 +15,7 @@ include Intrigue::Ident::TraverseExceptions
|
|
15
15
|
module Intrigue
|
16
16
|
module Ident
|
17
17
|
|
18
|
-
VERSION=0.
|
18
|
+
VERSION=0.68
|
19
19
|
|
20
20
|
def generate_requests_and_check(url)
|
21
21
|
|
@@ -100,7 +100,7 @@ module Intrigue
|
|
100
100
|
|
101
101
|
private
|
102
102
|
|
103
|
-
def _construct_match_response(check, data, options)
|
103
|
+
def _construct_match_response(check, data, options={})
|
104
104
|
calculated_version = (check[:dynamic_version].call(data) if check[:dynamic_version]) || check[:version]
|
105
105
|
|
106
106
|
calculated_type = "a" if check[:type] == "application"
|
@@ -131,7 +131,7 @@ module Intrigue
|
|
131
131
|
to_return
|
132
132
|
end
|
133
133
|
|
134
|
-
def _match_uri_hash(check,data, options)
|
134
|
+
def _match_uri_hash(check, data, options={})
|
135
135
|
return nil unless check && data
|
136
136
|
|
137
137
|
# data[:body] => page body
|