fastlane-plugin-cordova 0.1.2 → 0.1.3

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: edf5b46db9121afe2d41b6ec91b3b594fa05e64f
4
- data.tar.gz: 1c0d83ba0a4ed60d9effb61fbc4494d68d66f57e
3
+ metadata.gz: 29cca8cc23f1e7f420a31ee70815869c0525f244
4
+ data.tar.gz: f81f8cd40951c83690ef4b6c5d6b38c52ccc1b1a
5
5
  SHA512:
6
- metadata.gz: afae08254846f78ce2afe56421c1402b2067208b2a508193af77b8a1321fdc8792d9ba9cfd90d31ccd24e99e3121178d0f53159221f3ad30236f24ddedfdea8f
7
- data.tar.gz: fa7b586663138b86ed3a30c2e178c03d2550527b5232ae71b0f10048c245f3a06b873dbe377a8bb9c939131fe2dc4984880816b3f1789c9e81436dbbfe1cd074
6
+ metadata.gz: c0579d4a8759ae832671780c4f989ef2af189872d5b2e354cfe10bba40367c3e98cd1b37704c6c51a962d16b91fc275b69259ed2b88b457b46fc7787755beadd
7
+ data.tar.gz: 28f8a48dc5699b70373b6f91dde8f239b7b63486d394282c9e52e45369f8a94d0a8e11cd43ef4e80dfd3719b7638dbbfa7400ea5ecfbbd5127b72b12a6fd4092
@@ -43,7 +43,14 @@ module Fastlane
43
43
  app_identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
44
44
 
45
45
  if params[:provisioning_profile].empty?
46
- params[:provisioning_profile] = ENV['SIGH_UUID'] || ENV["sigh_#{app_identifier}_#{params[:type]}"]
46
+ params[:provisioning_profile] = ENV['SIGH_UUID'] || ENV["sigh_#{app_identifier}_#{params[:type].sub ! "-" ""}"]
47
+ end
48
+
49
+ if params[:type] == 'adhoc'
50
+ params[:type] = 'ad-hoc'
51
+ end
52
+ if params[:type] == 'appstore'
53
+ params[:type] = 'app-store'
47
54
  end
48
55
 
49
56
  return self.get_platform_args(params, IOS_ARGS_MAP)
@@ -129,11 +136,11 @@ module Fastlane
129
136
  FastlaneCore::ConfigItem.new(
130
137
  key: :type,
131
138
  env_name: "CORDOVA_IOS_PACKAGE_TYPE",
132
- description: "This will determine what type of build is generated by Xcode. Valid options are development, enterprise, ad-hoc, and app-store",
139
+ description: "This will determine what type of build is generated by Xcode. Valid options are development, enterprise, adhoc, and appstore",
133
140
  is_string: true,
134
- default_value: 'app-store',
141
+ default_value: 'appstore',
135
142
  verify_block: proc do |value|
136
- UI.user_error!("Valid options are development, enterprise, ad-hoc, and app-store.") unless ['development', 'enterprise', 'ad-hoc', 'app-store'].include? value
143
+ UI.user_error!("Valid options are development, enterprise, adhoc, and appstore.") unless ['development', 'enterprise', 'adhoc', 'appstore', 'add-hoc', 'app-store'].include? value
137
144
  end
138
145
  ),
139
146
  FastlaneCore::ConfigItem.new(
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Cordova
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-cordova
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Almouro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-05 00:00:00.000000000 Z
11
+ date: 2017-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry