slowlane 1.0.0 → 1.0.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 +4 -4
- data/README.md +3 -2
- data/lib/slowlane/portal/app.rb +26 -0
- data/slowlane.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccbe4b06a1d413c6aab728a2ad8b27db74edd98e
|
4
|
+
data.tar.gz: d9b7702e713547e036b2b980b74836f7de9629f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf67a421c0e1aabbfb703decc1e0c2ba9caa6fe3c09102c678c511fcedb35824a9293bc364dc267dc813c9d2a19e9f892be2917011f2915cc87d3bf469b946c4
|
7
|
+
data.tar.gz: 73e2586bb0b59828781d86c223538fd7244fe0478f44a9affd4343a503a1253f0ae293cd422397afe90c66b9c29569335d8dd2bdf48c214a345566f387d37ead
|
data/README.md
CHANGED
@@ -45,6 +45,8 @@ results in binaries:
|
|
45
45
|
|
46
46
|
#### Portal
|
47
47
|
- `slowlane-portal app list`
|
48
|
+
- `slowlane-portal app create <bundle_id> <name>`
|
49
|
+
- `slowlane-portal app delete <bundle_id>`
|
48
50
|
- `slowlane-portal certificate list`
|
49
51
|
- `slowlane-portal device list`
|
50
52
|
- `slowlane-portal profile list`
|
@@ -62,7 +64,7 @@ results in binaries:
|
|
62
64
|
- `slowlane-itunes build upload <bundle_id> <ipa_file>`
|
63
65
|
|
64
66
|
#### Ipa
|
65
|
-
- `slowlane-ipa info
|
67
|
+
- `slowlane-ipa info <ipa_file>`
|
66
68
|
|
67
69
|
### Todo
|
68
70
|
#### Overall
|
@@ -76,7 +78,6 @@ A lot is still focusing on the happy path , we need to catch better the errors a
|
|
76
78
|
- configfile
|
77
79
|
|
78
80
|
#### Portal
|
79
|
-
- create|delete app
|
80
81
|
- create|delete certificate
|
81
82
|
- create|delete device
|
82
83
|
- create|delete profile
|
data/lib/slowlane/portal/app.rb
CHANGED
@@ -35,6 +35,32 @@ module Slowlane
|
|
35
35
|
|
36
36
|
end
|
37
37
|
|
38
|
+
#TODO allow type mac too
|
39
|
+
desc "create", "create <bundle_id> <name>"
|
40
|
+
def create(bundle_id,name)
|
41
|
+
|
42
|
+
c=Utils.credentials(options)
|
43
|
+
Spaceship::Portal.login(c.username,c.password)
|
44
|
+
|
45
|
+
t=Utils.team(options)
|
46
|
+
Spaceship::Portal.client.team_id=t
|
47
|
+
|
48
|
+
Spaceship::Portal.app.create!(bundle_id: bundle_id,name: name)
|
49
|
+
|
50
|
+
end
|
51
|
+
|
52
|
+
desc "delete", "delete <bundle_id>"
|
53
|
+
def delete(bundle_id)
|
54
|
+
c=Utils.credentials(options)
|
55
|
+
Spaceship::Portal.login(c.username,c.password)
|
56
|
+
|
57
|
+
t=Utils.team(options)
|
58
|
+
Spaceship::Portal.client.team_id=t
|
59
|
+
|
60
|
+
app = Spaceship::Portal.app.find(bundle_id)
|
61
|
+
app.delete!
|
62
|
+
end
|
63
|
+
|
38
64
|
end
|
39
65
|
end
|
40
66
|
end
|
data/slowlane.gemspec
CHANGED
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: 1.0.
|
4
|
+
version: 1.0.1
|
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-
|
11
|
+
date: 2016-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|