fastlane-plugin-goodify_info_plist 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66ecae420ac1b71d5937f0fcaddd40a31d0fad78
4
- data.tar.gz: 953deaac048fc25b950c566d1b3e606b5fb12782
3
+ metadata.gz: 04122e692deb33ed63a6719015d727917f65a805
4
+ data.tar.gz: a7fce5d0c2e2ee4904d15b54456e7ff6e29ca99d
5
5
  SHA512:
6
- metadata.gz: 5fe450f685dd3bd5b52f35e65b553e7d1c5264186aa990b4a567e6755289cce8ca4d0c00a1851d383a9a4b840872504a2a17f25d5c4fd27a95fba72a0ced2e57
7
- data.tar.gz: a96a7b18bdc767111ce549372e46b6232b8090de35f6cf435195e3bcacd4bb4cfa2ed5fe1049a99de60c98de1848efef154bd2b7e864d9d45b684e0709672e99
6
+ metadata.gz: 308bc6218fce51a86c057f993b754dd8b140485f57feb036d936c9aea92a7ee1aef21724e4d8a397699846bd3c3152b81929e729e45581cf39c4e5c5ded7e0d3
7
+ data.tar.gz: 3b7b56c1457b30ee428b466a78cbb6ef7a366c71bf42c91e068f5911e42e03ef86faf1a1f54724b2983b1750e0ee9999a4d8504f54de5561fc2ad342b6ca9643
@@ -8,8 +8,6 @@ module Fastlane
8
8
 
9
9
  gd_entitlement_version = "1.0.0.0"
10
10
 
11
- puts "GoodifyInfoPlistAction given #{params.to_s}"
12
-
13
11
  if params.values.key?(:good_entitlement_version)
14
12
  gd_entitlement_version = params[:good_entitlement_version]
15
13
  end
@@ -27,7 +25,7 @@ module Fastlane
27
25
  "#{app_id}.sc2.1.0.0.0",
28
26
  "com.good.gd.discovery"
29
27
  ]
30
- if params.values.fetch(:distribution, "appstore").casecmp("enterprise") == 0
28
+ if params.values.fetch(:export_method, "app-store").casecmp("enterprise") == 0
31
29
  url_schemes.push("com.good.gd.discovery.enterprise")
32
30
  end
33
31
 
@@ -88,11 +86,11 @@ module Fastlane
88
86
  UI.user_error!("Good ID must be 35 characters or fewer in order to work with Windows Phones") if value.length > 35
89
87
  end), # the default value if the user didn't provide one
90
88
 
91
- FastlaneCore::ConfigItem.new(key: :distribution,
92
- env_name: "FL_GOODIFY_INFO_PLIST_DISTRIBUTION_TARGET",
93
- description: "The distribution target, \"appstore\" or \"enterprise\", for the GoodifyInfoPlistAction",
89
+ FastlaneCore::ConfigItem.new(key: :export_method,
90
+ env_name: "FL_GOODIFY_INFO_PLIST_EXPORT_METHOD",
91
+ description: "The export method, \"app-store\" or \"enterprise\", for the GoodifyInfoPlistAction",
94
92
  verify_block: proc do |value|
95
- UI.user_error!("Invalid distribution target given for GoodifyInfoPlistAction given, pass using `good_entitlement_id: 'appstore' or 'enterprise'`") if value and value.empty? || !["appstore", "enterprise"].include?(value)
93
+ UI.user_error!("Invalid export method given for GoodifyInfoPlistAction given, pass using `export_method: 'app-store' or 'enterprise'`") if value and value.empty? || !["app-store", "enterprise"].include?(value)
96
94
  end,
97
95
  default_value: "enterprise"), # the default value if the user didn't provide one
98
96
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GoodifyInfoPlist
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-goodify_info_plist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyndsey Ferguson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2016-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry