fastlane-plugin-xclogparser 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 8c60a3ced6bc8e096a89294999b757a4bd9590f6393136c3c0f3ff8824b04be7
4
- data.tar.gz: aec579379d2d2bb77e590b248de6be93925ea4e2315d489e142e6a603b416e3a
3
+ metadata.gz: 44747f437ac7a55d4108c2ab4f0a8cf764dbf220759fbccfca7860a878ef7549
4
+ data.tar.gz: f76c0ee3c5ec35a86bcd8ee4fbc5e8a83b9087c2c7888af65402ec63b27004fc
5
5
  SHA512:
6
- metadata.gz: addc93f71f80a7b1b8a5fcbc8368331cdbf386d40e1445a84d626b7464b1e380cf2d411b803315dc605df3eaa4395bb0c10563cb6299f07fd367c04a060632ee
7
- data.tar.gz: 3105170a530d0423e6458a600bfdd3a63bf46bcc972cf8b316e4eff7885322cc3e8a420429715f992360e4e57a461ffbf42aa1a2e3e52fd41e557c1a1339b4ee
6
+ metadata.gz: b1ac0323a20066840efb2bec9cfc6bba7be449efeaa6736b89935cb50fa9e5a8e0ba9e71c05fc694f1239fcae95180f78d8e127cd1e29112f1ab142afc78f297
7
+ data.tar.gz: 2cf14da501ca65d2d80db39eaed66bc27c429ba0352f620a73ef815757c5f93dfda7cd938cd9e0319151073d72888600b88d5af15f234dec47c6ab491ee287ae
@@ -19,10 +19,10 @@ module Fastlane
19
19
  end
20
20
 
21
21
  def self.check_for_updates(installed_version)
22
- command = ['brew', 'outdated', 'xclogparser', '--json']
22
+ command = ['brew', 'outdated', 'xclogparser', '--json=v2']
23
23
  # Brew returns a non-zero exit code if the formula is outdated
24
24
  res = Actions.sh(command, log: false, error_callback: ->(result) {})
25
- json_res = JSON.parse(res)
25
+ json_res = JSON.parse(res)['formulae']
26
26
  return if json_res.empty?
27
27
  UI.important("\n#############################################################\n"\
28
28
  "# XCLogParser #{json_res[0]['current_version']} is available. You are on #{installed_version}.\n"\
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Xclogparser
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-xclogparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Lesch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-09 00:00:00.000000000 Z
11
+ date: 2020-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry