slowlane 0.0.9 → 1.0.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: e23fda9ca9f16d0108eebe50404e1d528150220a
4
- data.tar.gz: f9bbbb8f82b60faebc82b51becf7f11989cab5b9
3
+ metadata.gz: 7b03ef702f4545bab3c711962333fdf0c24c2eb7
4
+ data.tar.gz: 808eff4dd0dfc3beabe9c991f7caad7df0260a32
5
5
  SHA512:
6
- metadata.gz: c6b528a992145497183a178d53a63ff480155b800ea6af71da8ab3eaea8c23b6f6ea3dab48b2e717a86caa72b21064d7e867507724dbf9f377602e6e35124871
7
- data.tar.gz: 6c8b0b860eed2285912ed70c6d05ef0293676de720778b22e7e091704a91ec3e798e001a6c36f61a618aefcf591c424716005f894e164a39fce320834086c91b
6
+ metadata.gz: cc8def9495e82ea9054e100b70f6ae225655c9ce9aa05f8a31ec9b6a57da58619253eba2ad64f672d1ec020eb32d0f06a6dec3deec9d2000632ff79caa57e055
7
+ data.tar.gz: 31f1c98b72d38b89510f9896a73519e34f99e27ad2663c30c9625d6c5815fd9491d98ad7e64ba32be1c1305d74b3810e97f73f2ce8e9d75f58f0a9be642363fe
data/README.md CHANGED
@@ -48,7 +48,7 @@ results in binaries:
48
48
  - `slowlane-portal certificate list`
49
49
  - `slowlane-portal device list`
50
50
  - `slowlane-portal profile list`
51
- - `slowlane-portal profile decode`
51
+ - `slowlane-portal profile decode <provisioningfile>`
52
52
  - `slowlane-portal profile download`
53
53
  - `slowlane-portal psn list`
54
54
  - `slowlane-portal team list`
@@ -59,6 +59,7 @@ results in binaries:
59
59
  - `slowlane-itunes team list`
60
60
  - `slowlane-itunes tester list`
61
61
  - `slowlane-itunes build list`
62
+ - `slowlane-itunes build upload <bundle_id> <ipa_file>`
62
63
 
63
64
  #### Ipa
64
65
  - `slowlane-ipa info`
@@ -79,7 +80,6 @@ A lot is still focusing on the happy path , we need to catch better the errors a
79
80
  - create|delete certificate
80
81
  - create|delete device
81
82
  - create|delete profile
82
- - download profile
83
83
  - combine priv & public profile -> pem,pk12
84
84
  - add device to profile
85
85
  - remove device to profile
@@ -87,12 +87,7 @@ A lot is still focusing on the happy path , we need to catch better the errors a
87
87
  #### Itunes
88
88
  - create|delete tester
89
89
  - create | submit | delete app
90
- - build upload
91
90
  - all other commands
92
91
 
93
- #### Ipa
94
- - ipa upload
95
-
96
92
  #### Playstore
97
93
  - all commands
98
-
data/bin/complete.sh CHANGED
File without changes
@@ -77,18 +77,30 @@ module Slowlane
77
77
  app = Spaceship::Tunes::Application.find(bundle_id)
78
78
 
79
79
  require "fastlane_core"
80
- #plist = FastlaneCore::IpaFileAnalyser.fetch_info_plist_file("build.ipa"]) || {}
81
- #platform = plist["DTPlatformName"]
82
- #platform = "ios" if platform == "iphoneos" # via https://github.com/fastlane/spaceship/issues/247
80
+ require "pathname"
81
+ plist = FastlaneCore::IpaFileAnalyser.fetch_info_plist_file(filename) || {}
82
+ platform = plist["DTPlatformName"]
83
+ platform = "ios" if platform == "iphoneos" # via https://github.com/fastlane/spaceship/issues/247
83
84
  package_path = FastlaneCore::IpaUploadPackageBuilder.new.generate(app_id: app.apple_id,
84
85
  ipa_path: filename,
85
- package_path: options[:temp_dir],
86
- platform: 'ios')
86
+ package_path: Pathname.new(options[:temp_dir]).realpath.to_s,
87
+ platform: platform)
87
88
 
88
89
  # https://github.com/fastlane/fastlane/blob/1229fc55f004975e94226961ef23bbaa554f82b0/fastlane_core/lib/fastlane_core/itunes_transporter.rb#L267
89
- puts package_path
90
- #transporter = FastlaneCore::ItunesTransporter.new(options[:username],options[:password])
91
- #result = transporter.upload(app.apple_id, package_path)
90
+ transporter = FastlaneCore::ItunesTransporter.new(c.username,c.password)
91
+ # TODO easier way to disable loggs
92
+ #require 'logger'
93
+ #transporter.log = Logger.new(nil)
94
+ #ENV['CIRCLECI']='yes'
95
+
96
+ # TODO why need to specify this
97
+ # https://github.com/fastlane/fastlane/issues/2294
98
+ # Could not start delivery: all transports failed diagnostics
99
+ ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"] = "-t DAV"
100
+ result = transporter.upload(app.apple_id, package_path)
101
+ if !result
102
+ exit(-1)
103
+ end
92
104
  end
93
105
 
94
106
 
data/slowlane.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "slowlane"
5
- s.version = "0.0.9"
5
+ s.version = "1.0.0"
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.license = 'MIT'
8
8
  s.authors = ["Patrick Debois"]
@@ -16,8 +16,8 @@ Gem::Specification.new do |s|
16
16
 
17
17
  s.add_dependency "thor"
18
18
  s.add_dependency "spaceship"
19
- s.add_dependency "fastlane_core"
20
- s.add_dependency "terminal-table"
19
+ s.add_dependency "fastlane_core", '~> 0.43.1'
20
+ s.add_dependency "terminal-table", '~> 1.4'
21
21
  s.add_dependency 'rubyzip', '~> 1.1'
22
22
  s.add_dependency 'zip-zip'
23
23
  s.add_dependency 'CFPropertyList'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slowlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Debois
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-09 00:00:00.000000000 Z
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -42,30 +42,30 @@ dependencies:
42
42
  name: fastlane_core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 0.43.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 0.43.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: terminal-table
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '1.4'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '1.4'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubyzip
71
71
  requirement: !ruby/object:Gem::Requirement