cupertino 0.9.1 → 0.9.2

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: e6fad9af88f84e96ecd1b050a0d5a69cc99849e2
4
- data.tar.gz: a5b03a00078657f3a24e2c283cfb1b01e09861bc
3
+ metadata.gz: 6903973b7fe02987d18a630dd223186b6fef294b
4
+ data.tar.gz: a743291023cc6ac965b2af41fd772fd8d02194c8
5
5
  SHA512:
6
- metadata.gz: 9c89c3ce10f363e396991c989b03b66b75a9555312de4d50607e758a9d619da510271e47e4c7df0b4267e9e609b81e6419cf049362db80aa5e93a6526b9e0344
7
- data.tar.gz: e6f144b4f64217dbec2b0f8e7541069a28c32b6a9d5463a502ca759a8beb112a24b14c965549a432103da117230ac157a1cf4d70d6625943062b02a9708505fd
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.1)
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
- domain_name (0.5.12)
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.19)
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.3)
40
- net-http-persistent (2.8)
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 (0.9.2.2)
44
- rspec (0.6.4)
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.4.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.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
@@ -19,3 +19,4 @@ program :help_formatter, :compact
19
19
  default_command :help
20
20
 
21
21
  require 'cupertino/provisioning_portal'
22
+ require 'cupertino/provisioning_portal/commands'
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, :team
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 :development)"
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 :development)"
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 :development)"
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 :development)"
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
 
@@ -1,4 +1,6 @@
1
1
  include Cupertino::ProvisioningPortal
2
+
3
+ require 'cupertino/provisioning_portal/helpers'
2
4
  include Cupertino::ProvisioningPortal::Helpers
3
5
 
4
6
  global_option('-u', '--username USER', 'Username') { |arg| agent.username = arg unless arg.nil? }
@@ -46,6 +46,4 @@ module Cupertino
46
46
  end
47
47
  end
48
48
 
49
- require 'cupertino/provisioning_portal/helpers'
50
- require 'cupertino/provisioning_portal/agent'
51
- require 'cupertino/provisioning_portal/commands'
49
+ require 'cupertino/provisioning_portal/agent'
@@ -1,3 +1,3 @@
1
1
  module Cupertino
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
3
3
  end
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.1
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-13 00:00:00.000000000 Z
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