fastlane-plugin-farol 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a575db17c15e71cb469b149bcd6f2cfe57ce44a8
4
- data.tar.gz: ee3c55487d01fdd2c51e194ac7a53996151a1539
3
+ metadata.gz: af4a7a42c77bcb8f4d3fc47e99a31b12f0bce533
4
+ data.tar.gz: cf95b262959eb2de56d05645f7e8a5b40508bd5d
5
5
  SHA512:
6
- metadata.gz: 262533ea3c8644ed8c3b1ad1a17b892afaa434c2007d869e118895d4714107893643d54f950a846b45265c115f51de62d78e117ea4f4d8b1e2f918b0a8ae2817
7
- data.tar.gz: 39e1f104ecd394e36ed392ec932bd871135f6ad030a3121e17d9c1a6299d19b764520691a859db5eda7aa51b294fd77631b413db510a83b6c6afefacfd45c03b
6
+ metadata.gz: 8e3bbe7b3906fdf32f2fa203230de25ef52a0257c4394b88bf20d79df140670caa641440bd12113675dd1a3576819884659ea8d82e007bb8a7c922d2b47b2968
7
+ data.tar.gz: 3cea979a6d2dde7945bbb878da041df702d43ae40cd0e7f47843db07193eed2a94666d78d9d30d905b0f7f1dc66b5990d36708fe867ae9c183244978594ff0f1
@@ -27,7 +27,11 @@ module Fastlane
27
27
  response = http.request request # Net::HTTPResponse object
28
28
  case response
29
29
  when Net::HTTPSuccess
30
- return JSON.parse response.read_body
30
+ if response.read_body
31
+ return JSON.parse response.read_body
32
+ else
33
+ return true
34
+ end
31
35
  when Net::HTTPUnauthorized
32
36
  UI.error("Farol: #{response.message} - is your authorization token correct?")
33
37
  when Net::HTTPServerError
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Farol
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-farol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felipe Plets