codes 0.1.1 → 0.1.2

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: 7ee368643b52a6ae50507eb045d680cf5a8b2c18
4
- data.tar.gz: b64a38ff7e7cc39247d99fb2c97d1f3785cd2d58
3
+ metadata.gz: 296b323fb308e0f918f676e6c97bb5421b547908
4
+ data.tar.gz: faa009d9e5586d2300a5694ab40e8f816670e880
5
5
  SHA512:
6
- metadata.gz: 34850df522c5714e484f3278a8dbb842cdbfaf71b7e76f149a18458f330c878ba5a06d99d5a41a13b0cd6db6e07b8bbe4ba4c0c25375bb751097ce299a80bdb1
7
- data.tar.gz: 5ea39593068620efb51d98c4db1f85c14689bf5c64c4da186536ce80f6cb43ff8ff09b668441d08a97717ed07745803e7da4cb7c17c77f5655d6b8cbe54cf36e
6
+ metadata.gz: d6b6f656d796dab3d47848af6ca814f1d61a7745cb7f742994b9659af8a30256e8ebb438517410c34060fa94703a5ef5804cbd89bb91b6ab0ee6973e533f9fcd
7
+ data.tar.gz: f0d82bc0efe24a5192556504e33782958e5e383360309607ac4c8efc0d7d203f229d72555d4e84632e40b9c838337bcdc3d94a5cfedd8f9985765c38267e67d2
data/README.md CHANGED
@@ -49,32 +49,38 @@ Get in contact with the developers of `codes` on Twitter: [@KrauseFx](https://tw
49
49
 
50
50
  -------
51
51
 
52
- <h5 align="center"><code>codes</code> is part of <a href="http://fastlane.tools">fastlane</a>: connect all deployment tools into one streamlined workflow.</h5>
52
+ <h5 align="center"><code>codes</code> is part of <a href="https://fastlane.tools">fastlane</a>: connect all deployment tools into one streamlined workflow.</h5>
53
53
 
54
54
 
55
55
 
56
56
  # Installation
57
57
  sudo gem install codes
58
58
 
59
+ Make sure, you have the latest version of the Xcode command line tools installed:
60
+
61
+ xcode-select --install
62
+
59
63
  # Why?
60
64
 
61
65
  `codes` can help you automate sending promo codes to journalists and create promo codes for tons of apps with the press of a button.
62
66
 
63
67
  # Usage
64
68
 
65
- code [num] [-a app_identifier] [-u user_name] [-i app_id] [-o output_file]
69
+ codes [num] [-a app_identifier] [-u user_name] [-i app_id] [-o output_file]
66
70
 
67
71
  All parameters are optional.
68
72
 
69
- `code` will print out the promo codes and store them in a file called `codes_[your app identifier].txt` in the current directory by default.
73
+ `codes` will print out the promo codes and store them in a file called `codes_[your app identifier].txt` in the current directory by default.
70
74
 
71
75
  Example:
72
76
 
73
- code 3 -a com.example.myApp
77
+ codes 3 -a com.example.myApp
74
78
 
75
79
  Will generate 3 promo codes for the the App with the Bundle Identifier `com.example.myApp`.
76
80
 
77
- If you don't pass any paramaters, `code` will generate a single promo code and print it on the command line.
81
+ If you don't pass any paramaters, `codes` will generate a single promo code and print it on the command line.
82
+
83
+ ![assets/codes.gif](assets/codes.gif)
78
84
 
79
85
  ##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
80
86
 
@@ -87,9 +93,9 @@ In case you prefer environment variables:
87
93
 
88
94
  # Tips
89
95
 
90
- ## [`fastlane`](http://fastlane.tools) Toolchain
96
+ ## [`fastlane`](https://fastlane.tools) Toolchain
91
97
 
92
- - [`fastlane`](http://fastlane.tools): Connect all deployment tools into one streamlined workflow
98
+ - [`fastlane`](https://fastlane.tools): Connect all deployment tools into one streamlined workflow
93
99
  - [`deliver`](https://github.com/KrauseFx/deliver): Upload screenshots, metadata and your app to the App Store using a single command
94
100
  - [`snapshot`](https://github.com/KrauseFx/snapshot): Automate taking localized screenshots of your iOS app on every device
95
101
  - [`frameit`](https://github.com/KrauseFx/frameit): Quickly put your screenshots into the right device frames
data/bin/codes CHANGED
@@ -16,7 +16,7 @@ class CodesApplication
16
16
  program :version, Codes::VERSION
17
17
  program :description, 'CLI for \'codes\' - Create promo codes for iOS Apps using the command line'
18
18
  program :help, 'Author', 'Felix Krause <codes@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/codes'
21
21
  program :help_formatter, :compact
22
22
 
@@ -1,7 +1,7 @@
1
1
  module Codes
2
2
  class CodesRunner
3
3
  def self.run(args)
4
- FastlaneCore::ItunesConnect.new.run args
4
+ Codes::ItunesConnect.new.run args
5
5
  end
6
6
  end
7
7
  end
@@ -1,7 +1,7 @@
1
1
  require 'fastlane_core/itunes_connect/itunes_connect'
2
2
 
3
- module FastlaneCore
4
- class ItunesConnect
3
+ module Codes
4
+ class ItunesConnect < FastlaneCore::ItunesConnect
5
5
 
6
6
  PROMO_URL = "https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wa/LCAppPage/viewPromoCodes?adamId="
7
7
 
data/lib/codes/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Codes
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
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.1.4
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.1.4
26
+ version: 0.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ files:
138
138
  - lib/codes/dependency_checker.rb
139
139
  - lib/codes/itunes_connect.rb
140
140
  - lib/codes/version.rb
141
- homepage: http://fastlane.tools
141
+ homepage: https://fastlane.tools
142
142
  licenses:
143
143
  - MIT
144
144
  metadata: {}