fastlane-plugin-flutter 0.3.1 → 0.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9de6ed00539bb5a279064e9764dbb6e2a9d85968
4
- data.tar.gz: ae3fc3ece3f01fae77492db95a7b4e7f7fb811ad
3
+ metadata.gz: 71b75b4acebe52bb46d4b6a1bef25fce042dc93c
4
+ data.tar.gz: e75c011fe43192ba4bc99a82da5a1fcd262f96bf
5
5
  SHA512:
6
- metadata.gz: 7b63f8e3ba49ffec97e80b09570fab7f1abb61d31b31a85e82003e6e723c73ae25fdff05f964173c593cc3fe9c54f355366e4949deb957b0c96b7663b2849296
7
- data.tar.gz: cfe935e336755ec60f3b6f9e40fd23d935b26383335f85d32d8fe317f604cb03577db9d1a7b6d7e1014b49b8789dd606857c4cb966898477ace9aa2693f3891a
6
+ metadata.gz: 674121b5b3ed1046086c06382f565546b121ff3fc5b9175114eede689ed069ce62a98a656a484ad156846f1f1dd25b0dd7d91fe6b68df3e2362e0f737312b14b
7
+ data.tar.gz: 2dd5e57c2804f935133373ee5e35680c83326c1964815232c3600cac0de79d6c5fb034572d77b6bd632d7d75a14dc52de70ca017b4d7d4b5a8c8ad0dc6c63de6
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # flutter plugin
2
2
 
3
+ [![CircleCI](https://circleci.com/gh/dotdoom/fastlane-plugin-flutter.svg?style=svg)](https://circleci.com/gh/dotdoom/fastlane-plugin-flutter)
3
4
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-flutter)
4
5
 
5
6
  ## Getting Started
@@ -23,7 +23,10 @@ module Fastlane
23
23
  UI.message("Upgrading Flutter SDK in #{flutter_sdk_root}...")
24
24
  if flutter_channel
25
25
  UI.message("Making sure Flutter is on channel #{flutter_channel}")
26
- Helper::FlutterHelper.flutter('channel', flutter_channel)
26
+ Helper::FlutterHelper.flutter(
27
+ 'channel', flutter_channel,
28
+ log: false
29
+ )
27
30
  end
28
31
  Helper::FlutterHelper.flutter('upgrade', log: false)
29
32
  else
@@ -1,3 +1,4 @@
1
+ require 'shellwords'
1
2
  require 'yaml'
2
3
 
3
4
  module Fastlane
@@ -10,10 +11,14 @@ module Fastlane
10
11
  # output is lost (even in case of error). Perhaps we
11
12
  # could print the output here, via error_callback?
12
13
  # https://github.com/fastlane/fastlane/blob/b1495d134eec6681c8d7a544aa3520f1da00c80e/fastlane/lib/fastlane/helper/sh_helper.rb#L73
14
+ # Workaround for Fastlane not printing output if block is not given.
15
+ block ||= proc {}
13
16
  Actions.sh(File.join(flutter_sdk_root, 'bin', 'flutter'), *argv, &block)
14
17
  end
15
18
 
16
19
  def self.git(*argv, &block)
20
+ # Workaround for Fastlane not printing output if block is not given.
21
+ block ||= proc {}
17
22
  Actions.sh('git', *argv, &block)
18
23
  end
19
24
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Flutter
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-flutter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Sheremet