apidragon 1.5.2 → 1.5.3
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/VERSION +1 -1
- data/lib/apidragon/macro.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e918bd3cdfe730653a844ca2e8acde11c02a7470
|
4
|
+
data.tar.gz: 00289843033d81314f51c1a4f2ff007d60093c44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39c219a98b5c1a05877e768e625f1299f853afa8fac3058ecfa51e9a2c2a32f11018c9dd330aab02ce1aa26af4c8a5f77eaa2da2b73bbc45131fdb24dc074881
|
7
|
+
data.tar.gz: bd57f32efc8541cdaca709425659e655e0da1a2596e1fa475601ce407e0f2fd00df306ce0ba20c9796f405da740e4bd87429b3a6fc509f346b9ef8cf6eb9ac98
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.3
|
data/lib/apidragon/macro.rb
CHANGED
@@ -61,7 +61,7 @@ class Call < ArgBucket
|
|
61
61
|
if !@response.nil?
|
62
62
|
@code = @response.code unless @response.is_a? String
|
63
63
|
xml_to_json
|
64
|
-
|
64
|
+
if @logging == true then log_response end
|
65
65
|
parse_response unless @output.nil?
|
66
66
|
end
|
67
67
|
return @arg_bucket
|
@@ -99,7 +99,7 @@ class Call < ArgBucket
|
|
99
99
|
|
100
100
|
def parse_response
|
101
101
|
@response = JSON.parse @response
|
102
|
-
if @stdout==true then puts JSON.pretty_generate @response end
|
102
|
+
if @stdout=='true' then puts JSON.pretty_generate @response end
|
103
103
|
@output.each do |var|
|
104
104
|
if var.is_a? String
|
105
105
|
parser = Parser.new(var, nil, @response)
|