stacker_bee 2.1.0.pre182 → 2.1.0.pre183
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
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTBmMjY5ZmZhNWIyZWI4ODUwMzU0ZjE3ZDVlYjRlYzE2ZWY4ODY1MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmEzODQ2OGZiZGQzMjRkOGFiYmIzNmI4YmJlNmY0NzNmMmEyNTljNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTRlYjQzN2VhYjEwN2I5MGMwODA5MzViOWUxMmE5YWMyMTRlZGQwNjFmODcy
|
10
|
+
MDkwZGEwNmY0ZGU2ZDAyNmQ2MzNlODUwYTkxMzlhMzUyNzRmNjI5MWM0NTEy
|
11
|
+
YWE3ZmVlNTdjNmY2ZTBiNTExY2JjZjIwNjEzNDVhZmYyMzg5NjA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjhkMjIyNWU0NGQwN2JmZmVjM2ExZTBlMDEwZmI0ZjNmMTUyNzQ2MDY3MWIw
|
14
|
+
OTc5N2M1ZTJmZWNiYTg4YWJiNWYwODVmOGVkNTBiYmU0ZGE4NTgyM2U4NTdl
|
15
|
+
NDAzNjY5YjgxMzViMjZkNTVkYzQ4ODA3NzJlMmE0YmM1NTY2Mjc=
|
@@ -3,7 +3,7 @@ module StackerBee
|
|
3
3
|
class Adapter < Base
|
4
4
|
def call(env)
|
5
5
|
params = env.request.params.to_a.sort
|
6
|
-
env.raw_response = connection.get(
|
6
|
+
env.raw_response = connection.get(env.request.path, params)
|
7
7
|
env.response.content_type =
|
8
8
|
env.raw_response.env[:response_headers]["content-type"]
|
9
9
|
env.response.body = env.raw_response.body
|
@@ -11,7 +11,7 @@ describe StackerBee::Connection do
|
|
11
11
|
let(:configuration) do
|
12
12
|
double(url: url, secret_key: secret_key, ssl_verify: nil)
|
13
13
|
end
|
14
|
-
subject(:get) { connection.get query_params
|
14
|
+
subject(:get) { connection.get(path, query_params) }
|
15
15
|
|
16
16
|
before do
|
17
17
|
Faraday.stub(:new) { faraday }
|
@@ -50,7 +50,7 @@ describe StackerBee::Connection do
|
|
50
50
|
context "when given a path" do
|
51
51
|
let(:path) { '/baz' }
|
52
52
|
it "makes a request to the correct path" do
|
53
|
-
expect(faraday).to receive(:get).with(
|
53
|
+
expect(faraday).to receive(:get).with(query_params, path)
|
54
54
|
connection.get query_params, path
|
55
55
|
end
|
56
56
|
end
|