fastlane-plugin-rome 0.3.6 → 0.3.7

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
  SHA256:
3
- metadata.gz: df5eafcc20908c873ecefe23c90246130a67046ad1145b77ac7bcebe87d69297
4
- data.tar.gz: f414ba0239ba4ebc34f4ef8e76dc8db4805151220a35915d2d691fad949c68aa
3
+ metadata.gz: 30ea9f58ce542cb8f793c9daf8168bf45cc8c40291030f35b522c1f7253e1b1f
4
+ data.tar.gz: 35b3fc147f06de0e8ab397b86e47753f87e694e56d995036b746929b60a1ed5c
5
5
  SHA512:
6
- metadata.gz: 6434fe64251cedec3ac6683ec0e8c1ca937fb2beb4fde49a95ba9d0fcdc0d910b17d96cb8c8f751eb1b61aedfb2fac3dbf00d6bd30f7dce33877525e5789e517
7
- data.tar.gz: 43597d3ca764d164871a0270090b9c73af4f71d46056a181a09a9b3548dc553c66a8a60a9c1b9ddd44f7f4741ee61124d7c8280996b6a512750ce65e2ccbc110
6
+ metadata.gz: 181bfe634e62f63ad673026e80ffada87d8a116f019410945045d08d5907af06521b0fbd90f13a99548a9f3e17a3f292bf39fc5482b758d201b675d62d630096
7
+ data.tar.gz: 1a667c12596978edc7633b91cbdd97760c2a4c5dcf15f7381a4bc1d637d69685794775f00f737873847807356210204e1949adebc8edde05e98ec59d74dd2d92
@@ -27,6 +27,7 @@ module Fastlane
27
27
  cmd << "--romefile #{params[:romefile]}" if params[:romefile]
28
28
  cmd << "--no-ignore" if params[:noignore] == true
29
29
  cmd << "--no-skip-current" if params[:noskipcurrent] == true
30
+ cmd << "--concurrently" if params[:concurrently] == true
30
31
  cmd << "-v " if params[:verbose]
31
32
 
32
33
  return Actions.sh(cmd.join(' '))
@@ -92,14 +93,25 @@ module Fastlane
92
93
  if noignore != nil
93
94
  UI.user_error!("'noignore' option requires Rome version '0.13.1.35' or later") if !meet_minimum_version(binary_path, "0.13.1.35")
94
95
  end
96
+
95
97
  cacheprefix = params[:cacheprefix]
96
98
  if cacheprefix != nil
97
99
  UI.user_error!("'cacheprefix' option requires Rome version '0.12.0.31' or later") if !meet_minimum_version(binary_path, "0.12.0.31")
98
100
  end
101
+
99
102
  noskipcurrent = params[:noskipcurrent]
100
103
  if noskipcurrent != nil
101
104
  UI.user_error!("'noskipcurrent' option requires Rome version '0.18.0.51' or later") if !meet_minimum_version(binary_path, "0.18.0.51")
102
105
  end
106
+
107
+ concurrently = params[:concurrently]
108
+ if concurrently != nil
109
+ UI.user_error!("'concurrently' option requires Rome version '0.20.0.56' or later") if !meet_minimum_version(binary_path, "0.20.0.56")
110
+ end
111
+
112
+ if command_name == "list" && params[:concurrently] != nil
113
+ UI.user_error!("Concurrently option is only avalable with download or upload. Listing is performed concurrently by default.")
114
+ end
103
115
  end
104
116
 
105
117
  def self.available_commands
@@ -219,6 +231,15 @@ module Fastlane
219
231
  optional: true,
220
232
  verify_block: proc do |value|
221
233
  UI.user_error!("Please pass a valid value for noskipcurrent. Use one of the following: true, false") unless value.kind_of?(TrueClass) || value.kind_of?(FalseClass)
234
+ end),
235
+
236
+ FastlaneCore::ConfigItem.new(key: :concurrently,
237
+ env_name: "FL_ROME_CONCURRENTLY",
238
+ description: "Maximize concurrency while performing the operation. Not needed for listing",
239
+ is_string: false,
240
+ optional: true,
241
+ verify_block: proc do |value|
242
+ UI.user_error!("Please pass a valid value for concurrently. Use one of the following: true, false") unless value.kind_of?(TrueClass) || value.kind_of?(FalseClass)
222
243
  end)
223
244
  ]
224
245
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Rome
3
- VERSION = "0.3.6"
3
+ VERSION = "0.3.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-rome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - François Benaiteau
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-12-07 00:00:00.000000000 Z
12
+ date: 2019-03-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry