fastlane-plugin-flutter 0.1.7 → 0.1.8

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: 1d4b9daf3d6ffa642ccf619976dde9988fde5cd7
4
- data.tar.gz: 9af6e631deeb49a105e2abb2152b8faf6f73bbab
3
+ metadata.gz: b3c88577351180c8ec43c168ae8a5490ac85b30a
4
+ data.tar.gz: dc3834ca5bb83e17323de6e938922779e34b24dd
5
5
  SHA512:
6
- metadata.gz: 8a5c6840df397ca893f8ef272a80903017b95e2e02ba6f1451190d11029f0b544601b04936c985714897364d0754db3669e96b0921b47bc60ba52654a6826499
7
- data.tar.gz: 448212fb4385714908477456d0be3ecf52ac17a192709f1a2e56a41f75bbf67870a087cd657be0777c1d6edcaf4d9c790071208d59a93bd41fb21d2d8f2e3c23
6
+ metadata.gz: bb37b6913b49ff37d483a824d367d158851efa6806d31f7b4684455d381c2013075c2d396a587e5e846daed2db5d1fab6700e4f2d62238fa80c934085fc4db95
7
+ data.tar.gz: 75d42f049d9a29005fccb95941e456497c9740fec58b7f05ee464412e626b9b06cd2e13c9f74036c436258c24292515ccb597215fb1de44dc74a5dd690f5ee51
@@ -60,16 +60,16 @@ module Fastlane
60
60
  when 'test'
61
61
  sh *%w(flutter test)
62
62
  when 'analyze'
63
- sh *%W(flutter analyze #{params[:lib_path]})
63
+ sh *%W(flutter analyze)
64
64
  when 'format'
65
- sh *%W(flutter format #{params[:lib_path]})
65
+ sh *%W(flutter format .)
66
66
  when 'l10n'
67
67
  unless params[:l10n_strings_file]
68
68
  UI.user_error!('l10n_strings_file is a required parameter for ' \
69
69
  'l10n action')
70
70
  end
71
71
 
72
- output_dir = File.join(params[:lib_path], 'l10n')
72
+ output_dir = 'lib/l10n'
73
73
  l10n_messages_file = File.join(output_dir, 'intl_messages.arb')
74
74
  # This file will not exist before it's generated for the first time.
75
75
  if File.exist?(l10n_messages_file)
@@ -150,16 +150,6 @@ module Fastlane
150
150
  is_string: false,
151
151
  default_value: false,
152
152
  ),
153
- FastlaneCore::ConfigItem.new(
154
- key: :lib_path,
155
- env_name: 'FL_FLUTTER_LIB_PATH',
156
- description: "Path to Flutter 'lib' directory",
157
- optional: true,
158
- default_value: 'lib',
159
- verify_block: proc do |value|
160
- UI.user_error!('Directory does not exist') unless Dir.exist?(value)
161
- end,
162
- ),
163
153
  FastlaneCore::ConfigItem.new(
164
154
  key: :l10n_strings_file,
165
155
  env_name: 'FL_FLUTTER_L10N_STRINGS',
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Flutter
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
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.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Sheremet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-30 00:00:00.000000000 Z
11
+ date: 2018-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  version: '0'
169
169
  requirements: []
170
170
  rubyforge_project:
171
- rubygems_version: 2.5.2.1
171
+ rubygems_version: 2.5.2.2
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: Flutter actions plugin for Fastlane