fastlane-plugin-install_provisioning_profiles 0.2.0 → 0.4.0

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
  SHA256:
3
- metadata.gz: 2ff7a5f77d63165af0ec2423537e9a5206ec33262b01f98798599367d9ab9e4d
4
- data.tar.gz: 76e1ab41f76fceeb717417cb9374d93a0361a64d6ef747b0413d44dc0740b9ea
3
+ metadata.gz: c4e4495f9a690220595242c14c9d02c21d62fc584c103725ad65c30b042b6cdd
4
+ data.tar.gz: 6b6b608e7fda301bdd1e2238e39fce4a728b851dbbc232275bb851ef7ed459b6
5
5
  SHA512:
6
- metadata.gz: 81caada1b2ce00dcfc1f9a326566fc804352a10173fc007e47fbd4c82d5becf143729e6b1ee91634a6cdd740905e63f1f5fc2d39b255edc4f2f79a7c2bbef6bd
7
- data.tar.gz: 8288228bd31c1670fc4f1fe1c1aee023c78d3eba174a5dfead49bd00db815d8d286d87b0f13145c3d738ff96d8dd3ccf7251fc6dfbbe0dfebf0b23fb630bd404
6
+ metadata.gz: 81dc641e1d01c7d8d56580cf25a859e3e736336bcff2d89297224a7e6b7f192318bed1172dbc65c2fcc0184d157abcec6b47efdb6f3ba95603bcc3e5f076246e
7
+ data.tar.gz: e01547d0eb06c5bfd5c37f0466ceae1a62f0eb523c86de8e6b5f093c7720914c56cf72e7d87cfb9d59064b0e3851187774918e313483e007f15f220e8e3f9a82
data/README.md CHANGED
@@ -13,9 +13,9 @@ fastlane add_plugin install_provisioning_profiles
13
13
 
14
14
  ## About install provisioning profiles
15
15
 
16
- Install all the provisioning profiles located in you're project.
16
+ Install all the provisioning profiles located in your project directory.
17
17
 
18
- Just check in all the provisioning profiles needed to compile you're project, and we take care of the rest.
18
+ Just check in all the provisioning profiles needed to compile your project, and we take care of the rest.
19
19
 
20
20
  You can override existing provisioning profiles by using the following options.
21
21
  ```ruby
@@ -1,4 +1,5 @@
1
1
  require 'fileutils'
2
+ require 'shellwords'
2
3
 
3
4
  module Fastlane
4
5
  module Actions
@@ -14,6 +15,12 @@ module Fastlane
14
15
  return
15
16
  end
16
17
 
18
+ path = target_directory
19
+ # If the directory doesn't exist, create it first
20
+ unless File.directory?(path)
21
+ FileUtils.mkdir_p(path)
22
+ end
23
+
17
24
  provisioning_profiles.each do |provisioning_profile|
18
25
  # Show the provisioning profile basename
19
26
  UI.message("Provisioning Profile: #{File.basename provisioning_profile}")
@@ -42,7 +49,7 @@ module Fastlane
42
49
  end
43
50
 
44
51
  def self.retrieve_uuid(provisioning_profile)
45
- `/usr/libexec/PlistBuddy -c 'Print :UUID' /dev/stdin <<< $(security cms -D -i #{provisioning_profile})`.gsub("\n", "")
52
+ `security cms -D -i #{provisioning_profile.shellescape} | grep -A 1 '<key>UUID</key>' | tail -n 1 | grep -Eo '>.*<' | grep -Eo '[a-z0-9-]+'`.gsub("\n", "")
46
53
  end
47
54
 
48
55
  def self.uuid_exist(uuid)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module InstallProvisioningProfiles
3
- VERSION = "0.2.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-install_provisioning_profiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Gyesbreghs
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-19 00:00:00.000000000 Z
11
+ date: 2021-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -122,7 +122,7 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: 2.64.1
125
- description:
125
+ description:
126
126
  email: dgyesbreghs@gmail.com
127
127
  executables: []
128
128
  extensions: []
@@ -138,24 +138,23 @@ homepage: https://github.com/dgyesbreghs/install_provisioning_profiles
138
138
  licenses:
139
139
  - MIT
140
140
  metadata: {}
141
- post_install_message:
141
+ post_install_message:
142
142
  rdoc_options: []
143
143
  require_paths:
144
144
  - lib
145
145
  required_ruby_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
- - - "~>"
147
+ - - ">="
148
148
  - !ruby/object:Gem::Version
149
- version: '2.0'
149
+ version: '2.5'
150
150
  required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - ">="
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubyforge_project:
157
- rubygems_version: 2.7.2
158
- signing_key:
156
+ rubygems_version: 3.2.3
157
+ signing_key:
159
158
  specification_version: 4
160
159
  summary: Install all the provisioning profiles located in you're project.
161
160
  test_files: []