smooth_operator 0.3.9 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzNmNDAzZWQyOGI1ZTkwNWY0NTRmOTAzNjczMGI1NTFkMWRkZTVjYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGZiY2I1ZTAzMTdjMDkwY2E3ZjY0Y2IzYjdjYzcxYTcwZmZiM2QyYQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjFhYmE4YjRkNWIwODhjZTEyODdjNDE1ZDc0YjI1ODJiMDk3NzliYjVmMTcw
|
10
|
+
YjU0NjI1ZjkzM2QyNGYyODUzNTdkY2NkNjNlY2IyODVmY2IzZWU0Zjg1ZDI4
|
11
|
+
NGU2MmExMmEzYWM3NTc4YzYyYjBlZjI0NjRiNGVkOWU4MTBmNGE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmVmMjUzYTRjMmQ3ZDRhNWJhMzYwNGFhNTdlZTNhMmFhZWQ2YzFlOWQ0ZGI0
|
14
|
+
MzU0MWUzNjMzYmM4MGI4Yzc0Y2MzMmI5MmE5MzJjNGQ0MDBkNGJlZjY3YjYz
|
15
|
+
ZDJkYjRhYmNiZDkyNjU0NDhlMThiYWMyNjAzMDBlNzU5YTRkMTc=
|
@@ -9,8 +9,8 @@ module SmoothOperator
|
|
9
9
|
|
10
10
|
def self.make_the_call(http_verb, url, options, basic_auth_credentials)
|
11
11
|
hydra = get_hydra_and_remove_it_from options
|
12
|
-
options = { params: options, method
|
13
|
-
|
12
|
+
options = { (http_verb == :get ? :params : :body) => options, :method => http_verb, :headers => { "Content-type" => "application/x-www-form-urlencoded" } }.merge auth_credentials(basic_auth_credentials)
|
13
|
+
|
14
14
|
if hydra.present?
|
15
15
|
make_asynchronous_request(url, options, hydra)
|
16
16
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smooth_operator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- João Gonçalves
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|