pem 1.0.1 → 1.1.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
  SHA1:
3
- metadata.gz: 5f90383c8981ad1bee1e26fb7dfe92d6f3fc4c3d
4
- data.tar.gz: 71539e4ed47202faeb56a527d3b3cfc0e18f0c68
3
+ metadata.gz: 37be2181a3bb07b38206ea74e40fd60a544bb733
4
+ data.tar.gz: bd49b1c45de3beede3b606749b84cc6988852932
5
5
  SHA512:
6
- metadata.gz: cf64d339728484691d4514b156b3545b4aae46a2299e2139ae1d31f57684be676d8fd68f78cdbec71298ff908eb9e71377e0bae74c6e6e8bd01b9cc91417bd93
7
- data.tar.gz: 8bb8f3dc0f48032e041c4be7ba552f6ab0090e98b299f3de1bdd212ff03f67a716fc0b0636692f38ee2463c7543497c3e7cf461cac378dd9c46abebe07001de0
6
+ metadata.gz: 660ba3d5d0ac341c61362947e8d511ba0ad23360cd3cd2e64a8a1bbcc486abd9bdc9e89bd3d89cae7d771e1e25506316af0648c7fd253c026d1220a742a617c7
7
+ data.tar.gz: bfc3f3c89a212e8c80f8a42e250b5f1ed9e65acaf57b8b164a6db9ff913de21f84c837f7fa1ad3fa1981bf902743510d16b795814a472864259980f265f11570
data/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  <h3 align="center">
2
- <a href="https://github.com/KrauseFx/fastlane">
2
+ <a href="https://github.com/fastlane/fastlane">
3
3
  <img src="assets/fastlane.png" width="150" />
4
4
  <br />
5
5
  fastlane
6
6
  </a>
7
7
  </h3>
8
8
  <p align="center">
9
- <a href="https://github.com/KrauseFx/deliver">deliver</a> &bull;
10
- <a href="https://github.com/KrauseFx/snapshot">snapshot</a> &bull;
11
- <a href="https://github.com/KrauseFx/frameit">frameit</a> &bull;
9
+ <a href="https://github.com/fastlane/deliver">deliver</a> &bull;
10
+ <a href="https://github.com/fastlane/snapshot">snapshot</a> &bull;
11
+ <a href="https://github.com/fastlane/frameit">frameit</a> &bull;
12
12
  <b>PEM</b> &bull;
13
- <a href="https://github.com/KrauseFx/sigh">sigh</a> &bull;
14
- <a href="https://github.com/KrauseFx/produce">produce</a> &bull;
15
- <a href="https://github.com/KrauseFx/cert">cert</a> &bull;
13
+ <a href="https://github.com/fastlane/sigh">sigh</a> &bull;
14
+ <a href="https://github.com/fastlane/produce">produce</a> &bull;
15
+ <a href="https://github.com/fastlane/cert">cert</a> &bull;
16
16
  <a href="https://github.com/fastlane/spaceship">spaceship</a> &bull;
17
17
  <a href="https://github.com/fastlane/pilot">pilot</a> &bull;
18
18
  <a href="https://github.com/fastlane/boarding">boarding</a> &bull;
@@ -29,7 +29,7 @@ PEM
29
29
  ============
30
30
 
31
31
  [![Twitter: @KauseFx](https://img.shields.io/badge/contact-@KrauseFx-blue.svg?style=flat)](https://twitter.com/KrauseFx)
32
- [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/KrauseFx/pem/blob/master/LICENSE)
32
+ [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/KrauseFx/pem/blob/master/LICENSE)
33
33
  [![Gem](https://img.shields.io/gem/v/pem.svg?style=flat)](http://rubygems.org/gems/pem)
34
34
 
35
35
  ###### Automatically generate and renew your push notification profiles
@@ -38,7 +38,7 @@ Tired of manually creating and maintaining your push notification profiles for y
38
38
 
39
39
  `PEM` does all that for, just by running `pem`.
40
40
 
41
- To automate iOS Provisioning profiles you can use [sigh](https://github.com/KrauseFx/sigh).
41
+ To automate iOS Provisioning profiles you can use [sigh](https://github.com/fastlane/sigh).
42
42
 
43
43
  Get in contact with the developer on Twitter: [@KrauseFx](https://twitter.com/KrauseFx)
44
44
 
@@ -122,19 +122,19 @@ Run `pem --help` to get a list of available environment variables.
122
122
  `PEM` uses [spaceship](https://spaceship.airforce) to communicate with the Apple Developer Portal to request a new push certificate for you.
123
123
 
124
124
  ## How is my password stored?
125
- ```PEM``` uses the [password manager](https://github.com/KrauseFx/CredentialsManager) from `fastlane`. Take a look the [CredentialsManager README](https://github.com/KrauseFx/CredentialsManager) for more information.
125
+ ```PEM``` uses the [password manager](https://github.com/fastlane/credentials_manager) from `fastlane`. Take a look the [CredentialsManager README](https://github.com/fastlane/credentials_manager) for more information.
126
126
 
127
127
  # Tips
128
128
 
129
129
  ## [`fastlane`](https://fastlane.tools) Toolchain
130
130
 
131
131
  - [`fastlane`](https://fastlane.tools): Connect all deployment tools into one streamlined workflow
132
- - [`deliver`](https://github.com/KrauseFx/deliver): Upload screenshots, metadata and your app to the App Store
133
- - [`snapshot`](https://github.com/KrauseFx/snapshot): Automate taking localized screenshots of your iOS app on every device
134
- - [`frameit`](https://github.com/KrauseFx/frameit): Quickly put your screenshots into the right device frames
135
- - [`sigh`](https://github.com/KrauseFx/sigh): Because you would rather spend your time building stuff than fighting provisioning
136
- - [`produce`](https://github.com/KrauseFx/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
137
- - [`cert`](https://github.com/KrauseFx/cert): Automatically create and maintain iOS code signing certificates
132
+ - [`deliver`](https://github.com/fastlane/deliver): Upload screenshots, metadata and your app to the App Store
133
+ - [`snapshot`](https://github.com/fastlane/snapshot): Automate taking localized screenshots of your iOS app on every device
134
+ - [`frameit`](https://github.com/fastlane/frameit): Quickly put your screenshots into the right device frames
135
+ - [`sigh`](https://github.com/fastlane/sigh): Because you would rather spend your time building stuff than fighting provisioning
136
+ - [`produce`](https://github.com/fastlane/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
137
+ - [`cert`](https://github.com/fastlane/cert): Automatically create and maintain iOS code signing certificates
138
138
  - [`spaceship`](https://github.com/fastlane/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
139
139
  - [`pilot`](https://github.com/fastlane/pilot): The best way to manage your TestFlight testers and builds from your terminal
140
140
  - [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
@@ -6,7 +6,7 @@ module PEM
6
6
  class Manager
7
7
  class << self
8
8
  def start
9
- FastlaneCore::PrintTable.print_values(config: PEM.config, hide_keys: [], title: "Summary")
9
+ FastlaneCore::PrintTable.print_values(config: PEM.config, hide_keys: [], title: "Summary for PEM #{PEM::VERSION}")
10
10
  login
11
11
 
12
12
  existing_certificate = certificate.all.detect do |c|
@@ -4,7 +4,10 @@ require 'credentials_manager'
4
4
  module PEM
5
5
  class Options
6
6
  def self.available_options
7
- @@options ||= [
7
+ user = CredentialsManager::AppfileConfig.try_fetch_value(:apple_dev_portal_id)
8
+ user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
9
+
10
+ [
8
11
  FastlaneCore::ConfigItem.new(key: :development,
9
12
  env_name: "PEM_DEVELOPMENT",
10
13
  description: "Renew the development push certificate instead of the production one",
@@ -35,7 +38,7 @@ module PEM
35
38
  short_option: "-u",
36
39
  env_name: "PEM_USERNAME",
37
40
  description: "Your Apple ID Username",
38
- default_value: CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)),
41
+ default_value: user),
39
42
  FastlaneCore::ConfigItem.new(key: :team_id,
40
43
  short_option: "-b",
41
44
  env_name: "PEM_TEAM_ID",
@@ -1,3 +1,3 @@
1
1
  module PEM
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-27 00:00:00.000000000 Z
11
+ date: 2015-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.21.0
19
+ version: 0.26.4
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.0.0
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.21.0
29
+ version: 0.26.4
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  version: '0'
212
212
  requirements: []
213
213
  rubyforge_project:
214
- rubygems_version: 2.4.8
214
+ rubygems_version: 2.4.6
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: Automatically generate and renew your push notification profiles