slowlane 1.0.0 → 1.0.1

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: 7b03ef702f4545bab3c711962333fdf0c24c2eb7
4
- data.tar.gz: 808eff4dd0dfc3beabe9c991f7caad7df0260a32
3
+ metadata.gz: ccbe4b06a1d413c6aab728a2ad8b27db74edd98e
4
+ data.tar.gz: d9b7702e713547e036b2b980b74836f7de9629f6
5
5
  SHA512:
6
- metadata.gz: cc8def9495e82ea9054e100b70f6ae225655c9ce9aa05f8a31ec9b6a57da58619253eba2ad64f672d1ec020eb32d0f06a6dec3deec9d2000632ff79caa57e055
7
- data.tar.gz: 31f1c98b72d38b89510f9896a73519e34f99e27ad2663c30c9625d6c5815fd9491d98ad7e64ba32be1c1305d74b3810e97f73f2ce8e9d75f58f0a9be642363fe
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
@@ -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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "slowlane"
5
- s.version = "1.0.0"
5
+ s.version = "1.0.1"
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.license = 'MIT'
8
8
  s.authors = ["Patrick Debois"]
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.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 00:00:00.000000000 Z
11
+ date: 2016-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor