fastlane-plugin-flutter 0.3.11 → 0.3.12

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: 037dd047f63b9548adcf328445f39242bfa8626e
4
- data.tar.gz: 10c062a38f23da17efdb8ed663b773b683ad7ec1
3
+ metadata.gz: b37b84a4b30354db42f955f7e60f90e8422828b6
4
+ data.tar.gz: 03caefa054bd0575391f10f4c423e60a585cd2d2
5
5
  SHA512:
6
- metadata.gz: 4eafcd1d9f5e140ccf96c94355fcb20c7d89e9bbedcc5c2d9051dfdb49df747a5a01f6c1ae7bfe05fc62beac119e4edd828a813d825eb83e8fa61812e57c4953
7
- data.tar.gz: 88a82f3a659d6e100562eb69c3784fc7063d94747d741515d505d6f0307ab3cdd7b0ff7efd25c4342c7a06f65169b6c41c2568b8659c6d3e1490fdf37230c867
6
+ metadata.gz: ca8701c62a29b3c86c45dab541082bbf672b42758cee5c1002f37a3237b2911081cfc6ed8a54a3a2036cf2afb4394f148d02f33257a538c532da7b7dcc555351
7
+ data.tar.gz: 8d658c541d6cb5d89074ad8eb245ba44ce27166c97e4929126f107f86efd93924c2893e7911bca6ab9c19bd6924db57745025b8776fa615d72272e9ca4a86be9
data/README.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # flutter plugin
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/fastlane-plugin-flutter.svg)](https://badge.fury.io/rb/fastlane-plugin-flutter)
4
- [![Build Status](https://github.com/dotdoom/fastlane-plugin-flutter/workflows/end-to-end%20test/badge.svg)](https://github.com/dotdoom/fastlane-plugin-flutter/actions?workflow=end-to-end+test)
5
4
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-flutter)
5
+ [![Build Status](https://github.com/dotdoom/fastlane-plugin-flutter/workflows/end-to-end%20test/badge.svg?branch=master)](https://github.com/dotdoom/fastlane-plugin-flutter/actions?query=workflow%3A"end-to-end+test"+branch%3Amaster)
6
+
7
+ Automated end-to-end test (download Flutter, create an app, build it) on the
8
+ following platforms:
9
+
10
+ * macOS (iOS)
11
+ * macOS (Android)
12
+ * Ubuntu Linux (Android)
13
+ * Windows (Android)
6
14
 
7
15
  ## Getting Started
8
16
 
@@ -32,14 +32,12 @@ module Fastlane
32
32
  end
33
33
  end
34
34
 
35
+ process_deprecated_params(params, build_args)
36
+
35
37
  if params[:debug]
36
38
  build_args.push('--debug')
37
39
  end
38
40
 
39
- if params[:codesign] == false
40
- build_args.push('--no-codesign')
41
- end
42
-
43
41
  if build_number = (params[:build_number] ||
44
42
  lane_context[SharedValues::BUILD_NUMBER])
45
43
  build_args.push('--build-number', build_number.to_s)
@@ -72,6 +70,24 @@ module Fastlane
72
70
  lane_context[SharedValues::FLUTTER_OUTPUT]
73
71
  end
74
72
 
73
+ def self.process_deprecated_params(params, build_args)
74
+ unless params[:codesign].nil?
75
+ UI.deprecated(<<-"MESSAGE")
76
+ flutter_build parameter "codesign" is deprecated. Use
77
+
78
+ flutter_build(
79
+ build_args: ["--#{params[:codesign] == false ? 'no-' : ''}codesign"]
80
+ )
81
+
82
+ form instead.
83
+ MESSAGE
84
+
85
+ if params[:codesign] == false
86
+ build_args.push('--no-codesign')
87
+ end
88
+ end
89
+ end
90
+
75
91
  def self.description
76
92
  'Run "flutter build" to build a Flutter application'
77
93
  end
@@ -33,9 +33,11 @@ module Fastlane
33
33
  end
34
34
 
35
35
  def self.description
36
- # Not splitting the line because of documentation generator bug:
37
- # https://github.com/fastlane/fastlane/issues/15199
38
- 'According to package:intl, take $strings_file and generate ${strings_file.dirname}/arb/intl_messages.arb, then take all files matching ${strings_file.dirname}/intl_*.arb, fix them and generate .dart files from them'
36
+ "1. Run `build_runner build` if build_runner is in dev_dependencies\n" \
37
+ "2. According to `package:intl`, take `$strings_file` and generate " \
38
+ "`${strings_file.dirname}/arb/intl_messages.arb`, then take all " \
39
+ "files matching `${strings_file.dirname}/intl_*.arb`, fix them and " \
40
+ "generate .dart files from them"
39
41
  end
40
42
 
41
43
  def self.available_options
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Flutter
3
- VERSION = '0.3.11'
3
+ VERSION = '0.3.12'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-flutter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Sheremet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-26 00:00:00.000000000 Z
11
+ date: 2019-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry