cupertino 0.9.1 → 0.9.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 +4 -4
- data/Gemfile.lock +27 -9
- data/bin/ios +1 -0
- data/cupertino-0.9.1.gem +0 -0
- data/lib/cupertino/provisioning_portal/agent.rb +5 -1
- data/lib/cupertino/provisioning_portal/commands/profiles.rb +6 -6
- data/lib/cupertino/provisioning_portal/commands.rb +2 -0
- data/lib/cupertino/provisioning_portal.rb +1 -3
- data/lib/cupertino/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6903973b7fe02987d18a630dd223186b6fef294b
|
4
|
+
data.tar.gz: a743291023cc6ac965b2af41fd772fd8d02194c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 050ee070538cf2f88da389ca4c707c9de9907998700cbebe42cc0eea88c70db64f7f5e6cfada588196c0d0397624c31ec20d8d0c30b04635ceb1f7390f13a948
|
7
|
+
data.tar.gz: 6f1dfeb02514479210bb421338127cf2f0a3b4d383a990cbe2e2dadd73c4b23d913cd60ea8e9bdfd1487494d457f01053151ab1faf64d1c17886e5dfc8251e93
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cupertino (0.9.
|
4
|
+
cupertino (0.9.2)
|
5
5
|
certified (>= 0.1.0)
|
6
6
|
commander (~> 4.1.2)
|
7
7
|
mechanize (~> 2.5.1)
|
@@ -14,17 +14,22 @@ PATH
|
|
14
14
|
GEM
|
15
15
|
remote: https://rubygems.org/
|
16
16
|
specs:
|
17
|
+
aws-sdk (1.26.0)
|
18
|
+
json (~> 1.4)
|
19
|
+
nokogiri (>= 1.4.4, < 1.6.0)
|
20
|
+
uuidtools (~> 2.1)
|
17
21
|
certified (0.1.1)
|
18
22
|
commander (4.1.5)
|
19
23
|
highline (~> 1.6.11)
|
20
|
-
|
24
|
+
diff-lcs (1.2.5)
|
25
|
+
domain_name (0.5.14)
|
21
26
|
unf (>= 0.0.5, < 1.0.0)
|
22
27
|
dotenv (0.9.0)
|
23
28
|
faraday (0.8.8)
|
24
29
|
multipart-post (~> 1.2.0)
|
25
30
|
faraday_middleware (0.9.0)
|
26
31
|
faraday (>= 0.7.4, < 0.9)
|
27
|
-
highline (1.6.
|
32
|
+
highline (1.6.20)
|
28
33
|
json (1.8.1)
|
29
34
|
mechanize (2.5.1)
|
30
35
|
domain_name (~> 0.5, >= 0.5.1)
|
@@ -36,24 +41,37 @@ GEM
|
|
36
41
|
webrobots (~> 0.0, >= 0.0.9)
|
37
42
|
mime-types (1.25)
|
38
43
|
multipart-post (1.2.0)
|
39
|
-
net-http-digest_auth (1.
|
40
|
-
net-http-persistent (2.
|
44
|
+
net-http-digest_auth (1.4)
|
45
|
+
net-http-persistent (2.9)
|
46
|
+
net-sftp (2.1.2)
|
47
|
+
net-ssh (>= 2.6.5)
|
48
|
+
net-ssh (2.7.0)
|
41
49
|
nokogiri (1.5.10)
|
42
50
|
ntlm-http (0.1.1)
|
43
|
-
rake (
|
44
|
-
rspec (
|
51
|
+
rake (10.1.0)
|
52
|
+
rspec (2.14.1)
|
53
|
+
rspec-core (~> 2.14.0)
|
54
|
+
rspec-expectations (~> 2.14.0)
|
55
|
+
rspec-mocks (~> 2.14.0)
|
56
|
+
rspec-core (2.14.7)
|
57
|
+
rspec-expectations (2.14.4)
|
58
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
59
|
+
rspec-mocks (2.14.4)
|
45
60
|
security (0.1.2)
|
46
|
-
shenzhen (0.
|
61
|
+
shenzhen (0.5.1)
|
62
|
+
aws-sdk (~> 1.0)
|
47
63
|
commander (~> 4.1)
|
48
64
|
dotenv (~> 0.7)
|
49
65
|
faraday (~> 0.8)
|
50
66
|
faraday_middleware (~> 0.9)
|
51
67
|
json (~> 1.8)
|
68
|
+
net-sftp (~> 2.1.2)
|
52
69
|
term-ansicolor (1.0.7)
|
53
70
|
terminal-table (1.4.5)
|
54
|
-
unf (0.1.
|
71
|
+
unf (0.1.3)
|
55
72
|
unf_ext
|
56
73
|
unf_ext (0.0.6)
|
74
|
+
uuidtools (2.1.4)
|
57
75
|
webrobots (0.1.1)
|
58
76
|
|
59
77
|
PLATFORMS
|
data/bin/ios
CHANGED
data/cupertino-0.9.1.gem
ADDED
Binary file
|
@@ -7,7 +7,11 @@ require 'logger'
|
|
7
7
|
module Cupertino
|
8
8
|
module ProvisioningPortal
|
9
9
|
class Agent < ::Mechanize
|
10
|
-
attr_accessor :username, :password, :
|
10
|
+
attr_accessor :username, :password, :team_id
|
11
|
+
|
12
|
+
# Maintain backward compatibility
|
13
|
+
alias_method :team, :team_id
|
14
|
+
alias_method :team=, :team_id=
|
11
15
|
|
12
16
|
def initialize
|
13
17
|
super
|
@@ -3,7 +3,7 @@ command :'profiles:list' do |c|
|
|
3
3
|
c.summary = 'Lists the Provisioning Profiles'
|
4
4
|
c.description = ''
|
5
5
|
|
6
|
-
c.option '--type [TYPE]', [:development, :distribution], "Type of profile (defaults to
|
6
|
+
c.option '--type [TYPE]', [:development, :distribution], "Type of profile (development or distribution; defaults to development)"
|
7
7
|
|
8
8
|
c.action do |args, options|
|
9
9
|
type = options.type.downcase.to_sym if options.type
|
@@ -37,7 +37,7 @@ command :'profiles:download' do |c|
|
|
37
37
|
c.summary = 'Downloads the Provisioning Profiles'
|
38
38
|
c.description = ''
|
39
39
|
|
40
|
-
c.option '--type [TYPE]', [:development, :distribution], "Type of profile (defaults to
|
40
|
+
c.option '--type [TYPE]', [:development, :distribution], "Type of profile (development or distribution; defaults to development)"
|
41
41
|
|
42
42
|
c.action do |args, options|
|
43
43
|
type = options.type.downcase.to_sym if options.type
|
@@ -64,7 +64,7 @@ command :'profiles:download:all' do |c|
|
|
64
64
|
c.summary = 'Downloads all the active Provisioning Profiles'
|
65
65
|
c.description = ''
|
66
66
|
|
67
|
-
c.option '--type [TYPE]', [:development, :distribution], "Type of profile (defaults to
|
67
|
+
c.option '--type [TYPE]', [:development, :distribution], "Type of profile (development or distribution; defaults to development)"
|
68
68
|
|
69
69
|
c.action do |args, options|
|
70
70
|
type = options.type.downcase.to_sym if options.type
|
@@ -87,7 +87,7 @@ command :'profiles:manage:devices' do |c|
|
|
87
87
|
c.summary = 'Manage active devices for a development provisioning profile'
|
88
88
|
c.description = ''
|
89
89
|
|
90
|
-
c.option '--type [TYPE]', [:development, :distribution], "Type of profile (defaults to
|
90
|
+
c.option '--type [TYPE]', [:development, :distribution], "Type of profile (development or distribution; defaults to development)"
|
91
91
|
|
92
92
|
c.action do |args, options|
|
93
93
|
type = options.type.downcase.to_sym if options.type
|
@@ -138,13 +138,13 @@ command :'profiles:manage:devices:add' do |c|
|
|
138
138
|
agent.manage_devices_for_profile(profile) do |on, off|
|
139
139
|
names = args[1..-1].collect{|arg| arg.sub /\=.*/, ''}
|
140
140
|
devices = []
|
141
|
-
|
141
|
+
|
142
142
|
names.each do |name|
|
143
143
|
device = (on + off).detect{|d| d.name === name}
|
144
144
|
say_warning "No device named #{name} was found." and abort unless device
|
145
145
|
devices << Device.new(name, device.udid)
|
146
146
|
end
|
147
|
-
|
147
|
+
|
148
148
|
on + devices
|
149
149
|
end
|
150
150
|
|
data/lib/cupertino/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cupertino
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattt Thompson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|
@@ -157,6 +157,7 @@ executables:
|
|
157
157
|
extensions: []
|
158
158
|
extra_rdoc_files: []
|
159
159
|
files:
|
160
|
+
- ./cupertino-0.9.1.gem
|
160
161
|
- ./cupertino.gemspec
|
161
162
|
- ./Gemfile
|
162
163
|
- ./Gemfile.lock
|