match 0.2.4 → 0.2.5

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: db559e6b927af240f2ece0de8e67b001918d81b0
4
- data.tar.gz: 97b99d5cd2992ffabe9ada9f58f634cb98ce84e6
3
+ metadata.gz: 54d0caad76c482f80450aedc80b68b88b6b8fa51
4
+ data.tar.gz: dcedc940caf37ecfe77c1c3c26cd38d7b34c5725
5
5
  SHA512:
6
- metadata.gz: b44acc2285c98b2ca5264722eaa90be2b4382552568c451a36793f51ea1115f87641535871118eb91b4e5ced29a3a6d6d98b1b8fffea740eb2616cc103df6c82
7
- data.tar.gz: b9cda6beca4af09c630fbf24015d4a7bae0dc68eb85a8bd1a94388094538f3c2e5d0d756857340698ff26b24c0eddbfca7594eb5e2291ca4619c9c5d8ad02f83
6
+ metadata.gz: dca86d78e968958ebaec5c53ab53b0e936f17251255a853e504d6646a14b39c74fe49d9f70ded06ca93f9a85a94c227f02b9f6ffebb5596ea90581f3ff29a676
7
+ data.tar.gz: 8fc7408f1bc350f74f5ce8131a6431e1f69aecea56bd6995d450f3d65fd402516620f039eb1e38ac81c8e19d04cc7174355ed46fdb1c508f6711fa8a66435c41
data/README.md CHANGED
@@ -126,6 +126,10 @@ app_identifier "tools.fastlane.app"
126
126
  username "user@fastlane.tools"
127
127
  ```
128
128
 
129
+ #### Important: Use one git repo per team
130
+
131
+ `match` was designed to have one git repository per Apple account. If you work in multiple teams, please create one repo for each of them. More information on [codesigning.guide](https://codesigning.guide)
132
+
129
133
  ### Run
130
134
 
131
135
  > Before running `match` for the first time, you should consider clearing your existing profiles and certificates using the [match nuke command](#nuke).
@@ -293,6 +297,15 @@ match change_password
293
297
 
294
298
  You'll be asked for the new password on all your machines on the next run.
295
299
 
300
+ ### Manual Decrypt
301
+
302
+ If you want to manually decrypt a file you can.
303
+
304
+ ```
305
+ openssl aes-256-cbc -k "<password>" -in "<fileYouWantToDecryptPath>" -out "<decryptedFilePath>" -a -d
306
+ ```
307
+
308
+
296
309
  ## Is this secure?
297
310
 
298
311
  Both your keys and provisioning profiles are encrypted using OpenSSL using a passphrase.
@@ -35,7 +35,8 @@ module Match
35
35
  def self.generate_provisioning_profile(params: nil, prov_type: nil, certificate_id: nil)
36
36
  require 'sigh'
37
37
 
38
- prov_type = :enterprise if Match.enterprise? && ENV["SIGH_PROFILE_ENTERPRISE"]
38
+ prov_type = :enterprise if Match.enterprise? && ENV["SIGH_PROFILE_ENTERPRISE"] && !params[:type] == "development"
39
+
39
40
  profile_name = ["match", profile_type_name(prov_type), params[:app_identifier]].join(" ")
40
41
 
41
42
  arguments = FastlaneCore::Configuration.create(Sigh::Options.available_options, {
@@ -23,7 +23,7 @@ module Match
23
23
  spaceship.profile_exists(params, uuid) if spaceship
24
24
 
25
25
  # Done
26
- if self.changes_to_commit
26
+ if self.changes_to_commit and !params[:readonly]
27
27
  message = GitHelper.generate_commit_message(params)
28
28
  GitHelper.commit_changes(params[:workspace], message, params[:git_url])
29
29
  end
@@ -69,7 +69,7 @@ module Match
69
69
  def profile(params: nil, certificate_id: nil)
70
70
  prov_type = params[:type].to_sym
71
71
 
72
- profile_name = [prov_type.to_s, params[:app_identifier]].join("_").gsub("*", '\*') # this is important, as it shouldn't be a wildcard
72
+ profile_name = [Match::Generator.profile_type_name(prov_type), params[:app_identifier]].join("_").gsub("*", '\*') # this is important, as it shouldn't be a wildcard
73
73
  profiles = Dir[File.join(params[:workspace], "profiles", prov_type.to_s, "#{profile_name}.mobileprovision")]
74
74
 
75
75
  # Install the provisioning profiles
@@ -1,4 +1,4 @@
1
1
  module Match
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  DESCRIPTION = "Easily sync your certificates and profiles across your team using git"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: match
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-02 00:00:00.000000000 Z
11
+ date: 2016-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: security
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.31.0
33
+ version: 0.35.0
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: 1.0.0
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 0.31.0
43
+ version: 0.35.0
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 1.0.0
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ">="
92
92
  - !ruby/object:Gem::Version
93
- version: 1.2.1
93
+ version: 1.2.2
94
94
  - - "<"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 2.0.0
@@ -100,7 +100,7 @@ dependencies:
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 1.2.1
103
+ version: 1.2.2
104
104
  - - "<"
105
105
  - !ruby/object:Gem::Version
106
106
  version: 2.0.0
@@ -110,7 +110,7 @@ dependencies:
110
110
  requirements:
111
111
  - - ">="
112
112
  - !ruby/object:Gem::Version
113
- version: 1.2.7
113
+ version: 1.2.8
114
114
  - - "<"
115
115
  - !ruby/object:Gem::Version
116
116
  version: 2.0.0
@@ -120,7 +120,7 @@ dependencies:
120
120
  requirements:
121
121
  - - ">="
122
122
  - !ruby/object:Gem::Version
123
- version: 1.2.7
123
+ version: 1.2.8
124
124
  - - "<"
125
125
  - !ruby/object:Gem::Version
126
126
  version: 2.0.0
@@ -296,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
296
296
  version: '0'
297
297
  requirements: []
298
298
  rubyforge_project:
299
- rubygems_version: 2.4.6
299
+ rubygems_version: 2.4.0
300
300
  signing_key:
301
301
  specification_version: 4
302
302
  summary: Easily sync your certificates and profiles across your team using git