apidragon 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/apidragon/macro.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6d461ca23437492ff647bd971c44ee4f3e905de
4
- data.tar.gz: 3b3ebe851a6b68f6906e0e85bc1a01b9fef54b72
3
+ metadata.gz: e918bd3cdfe730653a844ca2e8acde11c02a7470
4
+ data.tar.gz: 00289843033d81314f51c1a4f2ff007d60093c44
5
5
  SHA512:
6
- metadata.gz: 538084b43967af7180e2ede0e08e8078ec82ebf3357e843c60e75c351accae14832ede6e87e7163184b3003795f6431396777c0c55818aad3f048e3177d50ed3
7
- data.tar.gz: 5e75dcee499544e2c2e4b74ac271b26efc231b2d1864997a5c760019aab101aa113ffe519479d1def9bcb56e918cc84b074f88fc820c3f8f9a85eff25c73ea75
6
+ metadata.gz: 39c219a98b5c1a05877e768e625f1299f853afa8fac3058ecfa51e9a2c2a32f11018c9dd330aab02ce1aa26af4c8a5f77eaa2da2b73bbc45131fdb24dc074881
7
+ data.tar.gz: bd57f32efc8541cdaca709425659e655e0da1a2596e1fa475601ce407e0f2fd00df306ce0ba20c9796f405da740e4bd87429b3a6fc509f346b9ef8cf6eb9ac98
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.2
1
+ 1.5.3
@@ -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
- log_response unless @logging == 'true'
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apidragon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - isaiah thiessen