produce 0.1.5 → 0.1.6

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: ad511fe99084653dd3b7aee0646309422c7a42fe
4
- data.tar.gz: d4eff8f101e8248cf614ab5363586852e68f9857
3
+ metadata.gz: 32cf30e2154b0e0035d8613a16f1ed0923d63d57
4
+ data.tar.gz: ba39b0b0f3e9434feb7806e68acd4f697938d6bc
5
5
  SHA512:
6
- metadata.gz: bcb5c9b784374210d524ef9392925fa4ac00228566d57affcda00c87d0effcdccf7734410705cbccc72b3916ee066d763c9caaa5ee0228f001d55bb8a203396e
7
- data.tar.gz: d9e3ef16c7aae31843f1e63fe7e78fccebc8e6455b7119920b8fb19fee02cb2620eaf51bce8a9bd2a470a71fe37a80dccf88f3d6467aa14140145637c36c5562
6
+ metadata.gz: 9937adbbdfc740fd009a6e1845862f27c364b8af80e3ad70f253b270cefc6d05df947220a4c7da7079dbb68b8a256b5b221509da9a6b7e627b0b7d5755ffeff4
7
+ data.tar.gz: 0ffdf434f5fc7222e8dd9dd14f503f0b851687314e981bbe675aed654151120b1caa4b89d033a6722b0e534a318379e44bcdcc6f02a213aac0327bf888b5d1b8
data/README.md CHANGED
@@ -12,7 +12,8 @@
12
12
  <a href="https://github.com/KrauseFx/PEM">PEM</a> &bull;
13
13
  <a href="https://github.com/KrauseFx/sigh">sigh</a> &bull;
14
14
  <b>produce</b> &bull;
15
- <a href="https://github.com/KrauseFx/cert">cert</a>
15
+ <a href="https://github.com/KrauseFx/cert">cert</a> &bull;
16
+ <a href="https://github.com/KrauseFx/codes">codes</a>
16
17
  </p>
17
18
  -------
18
19
 
@@ -47,7 +48,7 @@ Get in contact with the developer on Twitter: [@KrauseFx](https://twitter.com/Kr
47
48
 
48
49
  -------
49
50
 
50
- <h5 align="center"><code>produce</code> is part of <a href="http://fastlane.tools">fastlane</a>: connect all deployment tools into one streamlined workflow.</h5>
51
+ <h5 align="center"><code>produce</code> is part of <a href="https://fastlane.tools">fastlane</a>: connect all deployment tools into one streamlined workflow.</h5>
51
52
 
52
53
 
53
54
  # Features
@@ -55,6 +56,8 @@ Get in contact with the developer on Twitter: [@KrauseFx](https://twitter.com/Kr
55
56
  - **Create** new apps on both iTunes Connect and the Apple Developer Portal
56
57
  - Support for **multiple Apple accounts**, storing your credentials securely in the Keychain
57
58
 
59
+ ##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
60
+
58
61
  # Installation
59
62
  sudo gem install produce
60
63
 
@@ -119,15 +122,18 @@ You'll still have to fill out the remaining information (like screenshots, app d
119
122
  ```produce``` 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.
120
123
 
121
124
  # Tips
122
- ## [`fastlane`](http://fastlane.tools) Toolchain
125
+ ## [`fastlane`](https://fastlane.tools) Toolchain
123
126
 
124
- - [`fastlane`](http://fastlane.tools): Connect all deployment tools into one streamlined workflow
127
+ - [`fastlane`](https://fastlane.tools): Connect all deployment tools into one streamlined workflow
125
128
  - [`deliver`](https://github.com/KrauseFx/deliver): Upload screenshots, metadata and your app to the App Store using a single command
126
129
  - [`snapshot`](https://github.com/KrauseFx/snapshot): Automate taking localized screenshots of your iOS app on every device
127
130
  - [`frameit`](https://github.com/KrauseFx/frameit): Quickly put your screenshots into the right device frames
128
131
  - [`PEM`](https://github.com/KrauseFx/pem): Automatically generate and renew your push notification profiles
129
132
  - [`sigh`](https://github.com/KrauseFx/sigh): Because you would rather spend your time building stuff than fighting provisioning
130
133
  - [`cert`](https://github.com/KrauseFx/cert): Automatically create and maintain iOS code signing certificates
134
+ - [`codes`](https://github.com/KrauseFx/codes): Create promo codes for iOS Apps using the command line
135
+
136
+ ##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
131
137
 
132
138
  # Need help?
133
139
  - If there is a technical problem with `produce`, submit an issue.
data/bin/produce CHANGED
@@ -16,7 +16,7 @@ class FastlaneApplication
16
16
  program :version, Produce::VERSION
17
17
  program :description, 'CLI for \'produce\''
18
18
  program :help, 'Author', 'Felix Krause <produce@krausefx.com>'
19
- program :help, 'Website', 'http://fastlane.tools'
19
+ program :help, 'Website', 'https://fastlane.tools'
20
20
  program :help, 'GitHub', 'https://github.com/krausefx/produce'
21
21
  program :help_formatter, :compact
22
22
 
@@ -1,7 +1,7 @@
1
1
  require 'fastlane_core/developer_center/developer_center'
2
2
 
3
- module FastlaneCore
4
- class DeveloperCenter
3
+ module Produce
4
+ class DeveloperCenter < FastlaneCore::DeveloperCenter
5
5
  APPS_URL = "https://developer.apple.com/account/ios/identifiers/bundle/bundleList.action"
6
6
  CREATE_APP_URL = "https://developer.apple.com/account/ios/identifiers/bundle/bundleCreate.action"
7
7
 
@@ -18,9 +18,10 @@ module FastlaneCore
18
18
  ENV["CREATED_NEW_APP_ID"] = nil
19
19
  # Nothing to do here
20
20
  else
21
- Helper.log.info "Creating new app '#{@config[:app_name]}' on the Apple Dev Center".green
21
+ app_name = valid_name_for(@config[:app_name])
22
+ Helper.log.info "Creating new app '#{app_name}' on the Apple Dev Center".green
22
23
  visit CREATE_APP_URL
23
- wait_for_elements("*[name='appIdName']").first.set @config[:app_name]
24
+ wait_for_elements("*[name='appIdName']").first.set app_name
24
25
  wait_for_elements("*[name='explicitIdentifier']").first.set @config[:bundle_identifier]
25
26
  click_next
26
27
 
@@ -43,7 +44,7 @@ module FastlaneCore
43
44
 
44
45
  ENV["CREATED_NEW_APP_ID"] = Time.now.to_s
45
46
 
46
- Helper.log.info "Finished creating new app '#{@config[:app_name]}' on the Dev Center".green
47
+ Helper.log.info "Finished creating new app '#{app_name}' on the Dev Center".green
47
48
  end
48
49
 
49
50
  return true
@@ -1,8 +1,8 @@
1
1
  require 'fastlane_core/itunes_connect/itunes_connect'
2
2
 
3
- module FastlaneCore
3
+ module Produce
4
4
  # Every method you call here, might take a time
5
- class ItunesConnect
5
+ class ItunesConnect < FastlaneCore::ItunesConnect
6
6
 
7
7
  APPS_URL = "https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app"
8
8
 
@@ -4,8 +4,8 @@ module Produce
4
4
  # @param config (Config) (optional) config to use. Will fallback to
5
5
  # config with ENV values if not specified.
6
6
  def self.start_producing(config = Config.new)
7
- FastlaneCore::DeveloperCenter.new.run(config)
8
- return FastlaneCore::ItunesConnect.new.run(config) unless config[:skip_itc]
7
+ Produce::DeveloperCenter.new.run(config)
8
+ return Produce::ItunesConnect.new.run(config) unless config[:skip_itc]
9
9
  end
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module Produce
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: produce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
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-02-22 00:00:00.000000000 Z
11
+ date: 2015-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '>='
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.2.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
- version: '0'
26
+ version: 0.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -142,7 +142,7 @@ files:
142
142
  - lib/produce/itunes_connect.rb
143
143
  - lib/produce/manager.rb
144
144
  - lib/produce/version.rb
145
- homepage: http://fastlane.tools
145
+ homepage: https://fastlane.tools
146
146
  licenses:
147
147
  - MIT
148
148
  metadata: {}