match 0.6.3 → 0.6.4

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: 087266c797f85b986e6053a174598705e80fc126
4
- data.tar.gz: 8656cd27778e0aa10eb69666575c0f403b50e2ce
3
+ metadata.gz: 7f696c853c9f553b1b786a710873fdc900678300
4
+ data.tar.gz: 06d77f068dbc65dad87bc08486cfefac376f2b98
5
5
  SHA512:
6
- metadata.gz: 4f6c119f14cf2dd4b410c3ed0637a174e022e29063644ce62324445f63924bbe09ee906cc4f28ceef39b0bf60c80f33c714cf81408823604fac84ef90cb10f0b
7
- data.tar.gz: 3c603250ade06074968158c231b5d4a56e19378f6163f81aa6b6d089a85a2d5ae910ff9241dee85381dc93ee759070edf6d6cb0b9278918ba8a7f06ccd707e6c
6
+ metadata.gz: 8c3e8e0a2885929c9b5c0d08f301a658917edb8a2b6dfcd2a72d20ca66fa5f64a03de2110bd9f9850025786f7c18a391e03144ea1971579f0d3fb5af498bb71b
7
+ data.tar.gz: 4814e3048484ac38589435cdc31efd9fd241f70b655c910afc385eaa07f813c50de38ce2b6ec3fdead3a446190081b1af995d298cfac9bec2b20b1de1c8ea5ad
data/README.md CHANGED
@@ -181,23 +181,23 @@ match appstore -a tools.fastlane.app
181
181
  match appstore -a tools.fastlane.app.watchkitapp
182
182
  ```
183
183
 
184
- You can make this even easier using [fastlane](https://github.com/fastlane/fastlane/tree/master/fastlane) by creating a match lane like this:
184
+ You can make this even easier using [fastlane](https://github.com/fastlane/fastlane/tree/master/fastlane) by creating a `certificates` lane like this:
185
185
 
186
186
  ```
187
- lane :match do
187
+ lane :certificates do
188
188
  match(app_identifier: "com.krausefx.app1", readonly: true)
189
189
  match(app_identifier: "com.krausefx.app2", readonly: true)
190
190
  match(app_identifier: "com.krausefx.app3", readonly: true)
191
191
  end
192
192
  ```
193
193
 
194
- Then all your team has to do is `fastlane match` and keys, certs and profiles for all targets will be synced.
194
+ Then all your team has to do is `fastlane certificates` and keys, certs and profiles for all targets will be synced.
195
195
 
196
196
  #### Passphrase
197
197
 
198
198
  When running `match` for the first time on a new machine, it will ask you for the passphrase for the Git repository. This is an additional layer of security: each of the files will be encrypted using `openssl`. Make sure to remember the password, as you'll need it when you run match on a different machine.
199
199
 
200
- To set the passphrase using an environment variable, use `MATCH_PASSWORD`.
200
+ To set the passphrase to decrypt your profiles using an environment variable, use `MATCH_PASSWORD`.
201
201
 
202
202
  #### New machine
203
203
 
@@ -14,9 +14,9 @@ module Match
14
14
 
15
15
  def self.ask_password(message: "Passphrase for Git Repo: ", confirm: true)
16
16
  loop do
17
- password = ask(message.yellow) { |q| q.echo = "*" }
17
+ password = UI.password(message)
18
18
  if confirm
19
- password2 = ask("Type passphrase again: ".yellow) { |q| q.echo = "*" }
19
+ password2 = UI.password("Type passphrase again: ")
20
20
  if password == password2
21
21
  return password
22
22
  end
@@ -4,7 +4,9 @@ module Match
4
4
  return @dir if @dir
5
5
 
6
6
  @dir = Dir.mktmpdir
7
- command = "git clone '#{git_url}' '#{@dir}'"
7
+
8
+ # GIT_TERMINAL_PROMPT will fail the `git clone` command if user credentials are missing
9
+ command = "GIT_TERMINAL_PROMPT=0 git clone '#{git_url}' '#{@dir}'"
8
10
  command << " --depth 1" if shallow_clone
9
11
 
10
12
  UI.message "Cloning remote git repo..."
data/lib/match/setup.rb CHANGED
@@ -5,7 +5,7 @@ module Match
5
5
 
6
6
  UI.important "Please create a new, private git repository"
7
7
  UI.important "to store the certificates and profiles there"
8
- url = ask("URL of the Git Repo: ")
8
+ url = UI.input("URL of the Git Repo: ")
9
9
 
10
10
  template.gsub!("[[GIT_URL]]", url)
11
11
  File.write(path, template)
data/lib/match/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Match
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  DESCRIPTION = "Easily sync your certificates and profiles across your team using git"
4
4
  end
metadata CHANGED
@@ -1,267 +1,267 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: match
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
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-08-29 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: security
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fastlane_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.50.3
34
- - - "<"
34
+ - - <
35
35
  - !ruby/object:Gem::Version
36
36
  version: 1.0.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ">="
41
+ - - '>='
42
42
  - !ruby/object:Gem::Version
43
43
  version: 0.50.3
44
- - - "<"
44
+ - - <
45
45
  - !ruby/object:Gem::Version
46
46
  version: 1.0.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: credentials_manager
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
51
+ - - '>='
52
52
  - !ruby/object:Gem::Version
53
53
  version: 0.16.0
54
- - - "<"
54
+ - - <
55
55
  - !ruby/object:Gem::Version
56
56
  version: 1.0.0
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
61
+ - - '>='
62
62
  - !ruby/object:Gem::Version
63
63
  version: 0.16.0
64
- - - "<"
64
+ - - <
65
65
  - !ruby/object:Gem::Version
66
66
  version: 1.0.0
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: spaceship
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
- - - ">="
71
+ - - '>='
72
72
  - !ruby/object:Gem::Version
73
73
  version: 0.31.10
74
- - - "<"
74
+ - - <
75
75
  - !ruby/object:Gem::Version
76
76
  version: 1.0.0
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: 0.31.10
84
- - - "<"
84
+ - - <
85
85
  - !ruby/object:Gem::Version
86
86
  version: 1.0.0
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: sigh
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ">="
91
+ - - '>='
92
92
  - !ruby/object:Gem::Version
93
- version: 1.9.0
94
- - - "<"
93
+ version: 1.10.2
94
+ - - <
95
95
  - !ruby/object:Gem::Version
96
96
  version: 2.0.0
97
97
  type: :runtime
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
- version: 1.9.0
104
- - - "<"
103
+ version: 1.10.2
104
+ - - <
105
105
  - !ruby/object:Gem::Version
106
106
  version: 2.0.0
107
107
  - !ruby/object:Gem::Dependency
108
108
  name: cert
109
109
  requirement: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - ">="
111
+ - - '>='
112
112
  - !ruby/object:Gem::Version
113
113
  version: 1.4.1
114
- - - "<"
114
+ - - <
115
115
  - !ruby/object:Gem::Version
116
116
  version: 2.0.0
117
117
  type: :runtime
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - ">="
121
+ - - '>='
122
122
  - !ruby/object:Gem::Version
123
123
  version: 1.4.1
124
- - - "<"
124
+ - - <
125
125
  - !ruby/object:Gem::Version
126
126
  version: 2.0.0
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: bundler
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  requirements:
131
- - - ">="
131
+ - - '>='
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  type: :development
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
- - - ">="
138
+ - - '>='
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: rake
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
- - - ">="
145
+ - - '>='
146
146
  - !ruby/object:Gem::Version
147
147
  version: '0'
148
148
  type: :development
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - ">="
152
+ - - '>='
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: rspec
157
157
  requirement: !ruby/object:Gem::Requirement
158
158
  requirements:
159
- - - "~>"
159
+ - - ~>
160
160
  - !ruby/object:Gem::Version
161
161
  version: 3.1.0
162
162
  type: :development
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
- - - "~>"
166
+ - - ~>
167
167
  - !ruby/object:Gem::Version
168
168
  version: 3.1.0
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: rspec_junit_formatter
171
171
  requirement: !ruby/object:Gem::Requirement
172
172
  requirements:
173
- - - "~>"
173
+ - - ~>
174
174
  - !ruby/object:Gem::Version
175
175
  version: 0.2.3
176
176
  type: :development
177
177
  prerelease: false
178
178
  version_requirements: !ruby/object:Gem::Requirement
179
179
  requirements:
180
- - - "~>"
180
+ - - ~>
181
181
  - !ruby/object:Gem::Version
182
182
  version: 0.2.3
183
183
  - !ruby/object:Gem::Dependency
184
184
  name: pry
185
185
  requirement: !ruby/object:Gem::Requirement
186
186
  requirements:
187
- - - ">="
187
+ - - '>='
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
190
  type: :development
191
191
  prerelease: false
192
192
  version_requirements: !ruby/object:Gem::Requirement
193
193
  requirements:
194
- - - ">="
194
+ - - '>='
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  - !ruby/object:Gem::Dependency
198
198
  name: yard
199
199
  requirement: !ruby/object:Gem::Requirement
200
200
  requirements:
201
- - - "~>"
201
+ - - ~>
202
202
  - !ruby/object:Gem::Version
203
203
  version: 0.8.7.4
204
204
  type: :development
205
205
  prerelease: false
206
206
  version_requirements: !ruby/object:Gem::Requirement
207
207
  requirements:
208
- - - "~>"
208
+ - - ~>
209
209
  - !ruby/object:Gem::Version
210
210
  version: 0.8.7.4
211
211
  - !ruby/object:Gem::Dependency
212
212
  name: webmock
213
213
  requirement: !ruby/object:Gem::Requirement
214
214
  requirements:
215
- - - "~>"
215
+ - - ~>
216
216
  - !ruby/object:Gem::Version
217
217
  version: 1.19.0
218
218
  type: :development
219
219
  prerelease: false
220
220
  version_requirements: !ruby/object:Gem::Requirement
221
221
  requirements:
222
- - - "~>"
222
+ - - ~>
223
223
  - !ruby/object:Gem::Version
224
224
  version: 1.19.0
225
225
  - !ruby/object:Gem::Dependency
226
226
  name: coveralls
227
227
  requirement: !ruby/object:Gem::Requirement
228
228
  requirements:
229
- - - ">="
229
+ - - '>='
230
230
  - !ruby/object:Gem::Version
231
231
  version: '0'
232
232
  type: :development
233
233
  prerelease: false
234
234
  version_requirements: !ruby/object:Gem::Requirement
235
235
  requirements:
236
- - - ">="
236
+ - - '>='
237
237
  - !ruby/object:Gem::Version
238
238
  version: '0'
239
239
  - !ruby/object:Gem::Dependency
240
240
  name: fastlane
241
241
  requirement: !ruby/object:Gem::Requirement
242
242
  requirements:
243
- - - ">="
243
+ - - '>='
244
244
  - !ruby/object:Gem::Version
245
245
  version: '0'
246
246
  type: :development
247
247
  prerelease: false
248
248
  version_requirements: !ruby/object:Gem::Requirement
249
249
  requirements:
250
- - - ">="
250
+ - - '>='
251
251
  - !ruby/object:Gem::Version
252
252
  version: '0'
253
253
  - !ruby/object:Gem::Dependency
254
254
  name: rubocop
255
255
  requirement: !ruby/object:Gem::Requirement
256
256
  requirements:
257
- - - "~>"
257
+ - - ~>
258
258
  - !ruby/object:Gem::Version
259
259
  version: 0.38.0
260
260
  type: :development
261
261
  prerelease: false
262
262
  version_requirements: !ruby/object:Gem::Requirement
263
263
  requirements:
264
- - - "~>"
264
+ - - ~>
265
265
  - !ruby/object:Gem::Version
266
266
  version: 0.38.0
267
267
  description: Easily sync your certificates and profiles across your team using git
@@ -272,12 +272,8 @@ executables:
272
272
  extensions: []
273
273
  extra_rdoc_files: []
274
274
  files:
275
- - LICENSE
276
- - README.md
277
- - bin/match
278
275
  - lib/assets/MatchfileTemplate
279
276
  - lib/assets/READMETemplate.md
280
- - lib/match.rb
281
277
  - lib/match/change_password.rb
282
278
  - lib/match/commands_generator.rb
283
279
  - lib/match/encrypt.rb
@@ -291,6 +287,10 @@ files:
291
287
  - lib/match/table_printer.rb
292
288
  - lib/match/utils.rb
293
289
  - lib/match/version.rb
290
+ - lib/match.rb
291
+ - bin/match
292
+ - README.md
293
+ - LICENSE
294
294
  homepage: https://fastlane.tools
295
295
  licenses:
296
296
  - MIT
@@ -301,17 +301,17 @@ require_paths:
301
301
  - lib
302
302
  required_ruby_version: !ruby/object:Gem::Requirement
303
303
  requirements:
304
- - - ">="
304
+ - - '>='
305
305
  - !ruby/object:Gem::Version
306
306
  version: 2.0.0
307
307
  required_rubygems_version: !ruby/object:Gem::Requirement
308
308
  requirements:
309
- - - ">="
309
+ - - '>='
310
310
  - !ruby/object:Gem::Version
311
311
  version: '0'
312
312
  requirements: []
313
313
  rubyforge_project:
314
- rubygems_version: 2.5.1
314
+ rubygems_version: 2.0.14.1
315
315
  signing_key:
316
316
  specification_version: 4
317
317
  summary: Easily sync your certificates and profiles across your team using git