lhc 6.1.0 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lhc/endpoint.rb +1 -1
- data/lib/lhc/version.rb +1 -1
- data/spec/endpoint/placeholders_spec.rb +8 -0
- 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: 2827291e4ad9cb6ff9752a2a091feb0b2a2434ef
|
4
|
+
data.tar.gz: 30c81d451d22d7d52dd0890c5c98405d5dfed24b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0a84470ea8886ee64fa2e93793faa1dba4ed63741ece2a7de4b318955971f0c9827ba8f915d492a45030ea5adcc7aea00de67f922bb2235c6c39e7eb442a159
|
7
|
+
data.tar.gz: 6ff625ec53ebd93d97165a89c06118d31f4dbd45cb11de593e52c58f6c42cdebcfffcda1a1bba1364b8edaab40e8918a9afb091080894c8ddc2cf9ad0d506ebf
|
data/lib/lhc/endpoint.rb
CHANGED
data/lib/lhc/version.rb
CHANGED
@@ -8,5 +8,13 @@ describe LHC::Endpoint do
|
|
8
8
|
endpoint.placeholders
|
9
9
|
).to eq [':campaign_id', ':datastore']
|
10
10
|
end
|
11
|
+
|
12
|
+
it 'allows basic auth token in url, like used on github' do
|
13
|
+
stub_request(:get, "https://d123token:@api.github.com/search")
|
14
|
+
.to_return(body: {}.to_json)
|
15
|
+
expect(->{
|
16
|
+
LHC.get("https://d123token:@api.github.com/search")
|
17
|
+
}).not_to raise_error
|
18
|
+
end
|
11
19
|
end
|
12
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lhc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.
|
4
|
+
version: 6.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- https://github.com/local-ch/lhc/contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -319,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
319
319
|
requirements:
|
320
320
|
- Ruby >= 2.0.0
|
321
321
|
rubyforge_project:
|
322
|
-
rubygems_version: 2.6.
|
322
|
+
rubygems_version: 2.6.8
|
323
323
|
signing_key:
|
324
324
|
specification_version: 4
|
325
325
|
summary: LocalHttpClient
|