fastlane-plugin-update_provisioning_profile_specifier 1.1.0 → 1.1.1

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: 9a1452d7d24e5bb3c00a111d059e5b052b7652d9
4
- data.tar.gz: f6cf19d36ce937c458272fa98c1c9e792112d418
3
+ metadata.gz: 1edc7c8df2eec239b18812a9c61fb9c8a64c9745
4
+ data.tar.gz: 7f907a5e9c3b66d9b6a711bbd8ea4f3b0e7ca236
5
5
  SHA512:
6
- metadata.gz: b7510f6f12a344da871710d80f8afc1af9d4bb687d99daccdc0d51982bd15fceb9f657c3d7ba8f4711e8127ce427372ccf7176dbc26deb7655001b060cf30f18
7
- data.tar.gz: ffe5c622fa89f5241572a2279e8d31ea9e2a52ab9a1c3d3a4fa928a34943d055c6b3ce7b3bea2b6f96c22339bc4295242f67149c1b8176cec6d2032a605cbfaf
6
+ metadata.gz: e7cc19b0331890d9135dd27f65e678078c7af08207d7507ed0b42534c562dcbcfb8b45a6687e898033c04335beb4b7d54cdb2cff0e8bb64c77171def83ea9242
7
+ data.tar.gz: be9c3d380c2125297ffce0e652310d4a92bdcd38aa28108b6fc8e361e101ee4bae6659c237daec11ff281aaa14cfcfa251b3cc4dc30533b828629c989b239114
@@ -11,7 +11,7 @@ module Fastlane
11
11
 
12
12
  # validate folder
13
13
  project_file_path = File.join(pdir, "project.pbxproj")
14
- UI.user_error!("Could not find path to project config '#{project_file_path}'. Pass the path to your project (NOT workspace!)") unless File.exists?(project_file_path)
14
+ UI.user_error!("Could not find path to project config '#{project_file_path}'. Pass the path to your project (NOT workspace!)") unless File.exist?(project_file_path)
15
15
  target = params[:target]
16
16
 
17
17
  project = Xcodeproj::Project.open(pdir)
@@ -24,7 +24,7 @@ module Fastlane
24
24
  end
25
25
 
26
26
  t.build_configuration_list.build_configurations.each do |config|
27
- if (params[:append])
27
+ if params[:append]
28
28
  cur = config.build_settings[specifier_key]
29
29
  config.build_settings[specifier_key] = cur + params[:new_specifier]
30
30
  else
@@ -48,32 +48,36 @@ module Fastlane
48
48
  def self.available_options
49
49
  [
50
50
  FastlaneCore::ConfigItem.new(
51
- key: :xcodeproj,
52
- env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_XCODEPROJ",
53
- description: "Path to the .xcodeproj file",
54
- optional: true,
55
- verify_block: proc do |value|
56
- UI.user_error("Path to Xcode project file is invalid") unless File.exist?(value)
57
- end),
51
+ key: :xcodeproj,
52
+ env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_XCODEPROJ",
53
+ description: "Path to the .xcodeproj file",
54
+ optional: true,
55
+ verify_block: proc do |value|
56
+ UI.user_error!("Path to Xcode project file is invalid") unless File.exist?(value)
57
+ end
58
+ ),
58
59
  FastlaneCore::ConfigItem.new(
59
- key: :target,
60
- env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_TARGET",
61
- description: "The target for which to change the Provisioning Profile Specifier. If unspecified the change will be applied to all targets",
62
- optional: true),
60
+ key: :target,
61
+ env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_TARGET",
62
+ description: "The target for which to change the Provisioning Profile Specifier. If unspecified the change will be applied to all targets",
63
+ optional: true
64
+ ),
63
65
  FastlaneCore::ConfigItem.new(
64
- key: :new_specifier,
65
- env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_NEW_SPECIFIER",
66
- description: "Name of the new provisioning profile specifier to use, or to append to the existing value",
67
- optional: false),
66
+ key: :new_specifier,
67
+ env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_NEW_SPECIFIER",
68
+ description: "Name of the new provisioning profile specifier to use, or to append to the existing value",
69
+ optional: false
70
+ ),
68
71
  FastlaneCore::ConfigItem.new(
69
- key: :append,
70
- env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_APPEND",
71
- description: ["True to append 'new_specifier' to the end of the exxisting specifier.",
72
- "This works well if you have provisioning profiles for the same project with different configurations, ",
73
- "'MyApp' and 'MyAppBeta', for example"].join('\n'),
74
- optional: true,
75
- default_value: false,
76
- is_string: false)
72
+ key: :append,
73
+ env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_APPEND",
74
+ description: ["True to append 'new_specifier' to the end of the exxisting specifier.",
75
+ "This works well if you have provisioning profiles for the same project with different configurations, ",
76
+ "'MyApp' and 'MyAppBeta', for example"].join('\n'),
77
+ optional: true,
78
+ default_value: false,
79
+ is_string: false
80
+ )
77
81
  ]
78
82
  end
79
83
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module UpdateProvisioningProfileSpecifier
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-update_provisioning_profile_specifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Bondo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-05 00:00:00.000000000 Z
11
+ date: 2016-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: xcodeproj
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.3.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.3.1
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: pry
15
29
  requirement: !ruby/object:Gem::Requirement