response_mate 0.1.7 → 0.1.9
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 +8 -8
- data/Gemfile.lock +2 -2
- data/lib/response_mate/cli.rb +1 -1
- data/lib/response_mate/connection.rb +3 -2
- data/lib/response_mate/version.rb +1 -1
- metadata +1 -2
- data/oauth.yml.sample +0 -12
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MDIzNzVmMjk3YjllYmY4YTk1ZjIwOGM4YTA0ZTE3Y2FhYWM3YjYxMA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MDBmM2EyMDYxMzk4ZmFjMTc2NjZlY2M1N2M3ZTg0MGMzMTJhM2M0Yg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YTYyMjM3MDY2N2RhMTAxMDQwNmQ0MWE2OThlYTEwOTI5NGRhN2UxZjFiZWIx
|
|
10
|
+
MjM3OTFlMzhjMzk1MzY4NGRmNmU2ZjFiYzcyZjE1ZDQ0OTI3N2NmMjJiMDI1
|
|
11
|
+
NjYzMzI5NTU0Y2IwNTNiZjEzNGE5MmVhYzA5MmE2MGRlMmY1NjQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Y2NmZWQyYmE1ZWZkMGNjNjMwYjc5YmRlMzNlMWM0YmZkY2JkYmU2ZmI5NTMy
|
|
14
|
+
YjM4YWI5N2EyMmY3MjE3MWRjZjRlNWU5MjdmZTAyOGZkMWRmOTk2Y2Q2NzZm
|
|
15
|
+
NmNlMTg4MTUzOThjN2M1M2IzNjg0MTM1OWQzMWY2ZDMxNGVjZGE=
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
response_mate (0.1.
|
|
4
|
+
response_mate (0.1.9)
|
|
5
5
|
activesupport
|
|
6
6
|
addressable
|
|
7
7
|
awesome_print
|
|
@@ -36,7 +36,7 @@ GEM
|
|
|
36
36
|
diff-lcs (1.2.5)
|
|
37
37
|
docile (1.1.1)
|
|
38
38
|
fakefs (0.4.3)
|
|
39
|
-
faraday (0.8.
|
|
39
|
+
faraday (0.8.9)
|
|
40
40
|
multipart-post (~> 1.2.0)
|
|
41
41
|
faraday_middleware (0.9.0)
|
|
42
42
|
faraday (>= 0.7.4, < 0.9)
|
data/lib/response_mate/cli.rb
CHANGED
|
@@ -57,7 +57,7 @@ module ResponseMate
|
|
|
57
57
|
desc 'export',
|
|
58
58
|
'Export to one of the available formats'
|
|
59
59
|
method_option :requests_manifest, aliases: '-r'
|
|
60
|
-
method_option :format, required: true, aliases: '-f'
|
|
60
|
+
method_option :format, required: true, aliases: '-f', default: 'postman'
|
|
61
61
|
method_option :pretty, aliases: '-p', default: false
|
|
62
62
|
method_option :upload, type: :boolean
|
|
63
63
|
def export
|
|
@@ -31,8 +31,9 @@ class ResponseMate::Connection
|
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def set_headers_from_manifest(manifest)
|
|
34
|
-
if manifest.
|
|
35
|
-
manifest
|
|
34
|
+
if manifest.default_headers
|
|
35
|
+
manifest.default_headers.each_pair do |k, v|
|
|
36
|
+
|
|
36
37
|
client.headers[ResponseMate::Helpers.headerize(k)] = v
|
|
37
38
|
end
|
|
38
39
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: response_mate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dimitris Zorbas
|
|
@@ -291,7 +291,6 @@ files:
|
|
|
291
291
|
- lib/response_mate/request.rb
|
|
292
292
|
- lib/response_mate/tape.rb
|
|
293
293
|
- lib/response_mate/version.rb
|
|
294
|
-
- oauth.yml.sample
|
|
295
294
|
- requests.yml.sample
|
|
296
295
|
- response_mate.gemspec
|
|
297
296
|
- roadmap.md
|
data/oauth.yml.sample
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
token: Vr/AzbfQt3ywQlKUonZk25VqRg2ILFAFV/voi69FD9xlJl5Yp9DmDWb6PAEsVwuI1KckH3aa1/vxRaj/Mbwg==
|
|
3
|
-
application_token: false
|
|
4
|
-
expires_at: 2013-12-16 15:27:33.304654000 Z
|
|
5
|
-
user_id: 147606
|
|
6
|
-
oauth2_client_id: 1330
|
|
7
|
-
:permissions:
|
|
8
|
-
- favorites
|
|
9
|
-
- notifications
|
|
10
|
-
- easy
|
|
11
|
-
- public
|
|
12
|
-
- current_user_profile
|