appload 0.1.0 → 0.1.1

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: 6347d917460f916f69b72b275cca316c5565dd0a
4
- data.tar.gz: e7388f6ad6c4c26b903d4f5bf17455e96a796af2
3
+ metadata.gz: 8a2952d6c0fcc678a064d5658ea25f62ba089aef
4
+ data.tar.gz: 45d7baab200d2f4924c1ad016dca46f7507e0136
5
5
  SHA512:
6
- metadata.gz: f88061b88628858753c94792daf309b4fe5732605612788b0eb063bda39001cbfaafa2accde905d06f36f5d683529413d27381ff6c18f1871d5d7151d239a836
7
- data.tar.gz: 6dd861e8a4323fe0553820b8a0503988dd554f72b9ed2008ca455475e82e951272ed6d9fa8015f7a02865bcabb146fed8dc801b72281a40fab262fa6612f1b0e
6
+ metadata.gz: 4aed45cc8a09ea43509a69e8eaef01b3c8dcd99beb18f44c8b9b80fae2dbcb33a06c3bb5f776d5c7be682a1488930093b5d4759ddde8cd8018a5e2b109c4b0ee
7
+ data.tar.gz: a24bf23ddcb17027e64fc4ee71c91ee8926e335c7e4208c6a639558cb4e6f5577df4c913da47386720063e6f9c7c0b29c6e4994eee5f9b1f62b87b0e9cff76ac
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2016-03-18 01:32:44 -0700 using RuboCop version 0.38.0.
3
+ # on 2016-03-18 10:59:36 -0700 using RuboCop version 0.38.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -16,7 +16,7 @@ Metrics/AbcSize:
16
16
  Metrics/LineLength:
17
17
  Max: 104
18
18
 
19
- # Offense count: 2
19
+ # Offense count: 3
20
20
  # Configuration parameters: CountComments.
21
21
  Metrics/MethodLength:
22
22
  Max: 20
data/README.md CHANGED
@@ -6,15 +6,20 @@ appload
6
6
  [![Build Status](https://travis-ci.org/longboardcat/appload.svg?branch=master)](https://travis-ci.org/longboardcat/appload)
7
7
  [![Gem Version](https://badge.fury.io/rb/appload.svg)](http://badge.fury.io/rb/appload)
8
8
 
9
- appload helps you double-check things you might have gotten wrong during an iOS iTunes Connect upload.
9
+ appload is a gem that helps you double-check things you might have gotten wrong during an iTunes
10
+ Connect upload. It will display .ipa, info.plist, and provisioning profile information to verify
11
+ before uploading via [fastlane/deliver][1].
12
+
13
+ Things to check before uploading:
14
+ - Entitlements
15
+ - Provisioned devices
16
+ - Expiring provisioning profiles
17
+ - Expiring developer certificates
18
+ - Scheme
10
19
 
11
20
  Usage
12
21
  -----
13
22
 
14
- [deliver][1] needs to be installed.
15
-
16
- `gem install deliver`
17
-
18
23
  `gem install appload`
19
24
 
20
25
  `appload <path_to_ipa>`
data/appload.gemspec CHANGED
@@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ['lib']
21
21
 
22
22
  spec.add_dependency 'awesome_print', '~> 1.6'
23
- spec.add_dependency 'cocaine', '~> 0.5'
24
23
  spec.add_dependency 'colored', '~> 1.2'
25
24
  spec.add_dependency 'deliver', '~> 1.10'
26
25
  spec.add_dependency 'pliney', '~> 0.0.4'
@@ -1,5 +1,4 @@
1
1
  require 'awesome_print'
2
- require 'cocaine'
3
2
  require 'colored'
4
3
  require 'pliney'
5
4
 
@@ -14,13 +13,16 @@ module Appload
14
13
  def run
15
14
  puts "Appload #{Appload::VERSION}"
16
15
  @options = Appload::Options.new.options
17
- @ipa = Pliney::IPA.from_path(options[:ipa_path])
18
16
 
19
- actions = [:check_ipa, :check_info_plist, :check_mpp]
17
+ Pliney::IPA.from_path(options[:ipa_path]) do |ipa|
18
+ @ipa = ipa
20
19
 
21
- actions.each do |action|
22
- send(action)
23
- prompt_user
20
+ actions = [:check_ipa, :check_info_plist, :check_mpp]
21
+
22
+ actions.each do |action|
23
+ send(action)
24
+ prompt_user
25
+ end
24
26
  end
25
27
 
26
28
  submit!
@@ -1,3 +1,3 @@
1
1
  module Appload
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appload
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Chang
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
- - !ruby/object:Gem::Dependency
28
- name: cocaine
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.5'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '0.5'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: colored
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -151,10 +137,8 @@ files:
151
137
  - Gemfile
152
138
  - Gemfile.lock
153
139
  - LICENSE
154
- - LICENSE.txt
155
140
  - README.md
156
141
  - Rakefile
157
- - appload-1.0.0.gem
158
142
  - appload.gemspec
159
143
  - bin/appload
160
144
  - lib/appload.rb
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016 James Chang
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.