cupertino 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: 05b7312688f8144ea4e8273ba6736c3f3c2d8ac5
4
- data.tar.gz: 60f89c0702cfbe5194796841836f5fb4713bd30d
3
+ metadata.gz: 8cf461d43315831dbcca7b1856cb205a18c48e1c
4
+ data.tar.gz: 4a1989c9a30877a50a53bf544b41db709ba86f88
5
5
  SHA512:
6
- metadata.gz: bd58cd39f5386aa79c895e7489ca340dcfb320c9b864a8b807eca1758176cba4a577a6013f90efc86f2b6a4dcf7bb1d536079bdce34b9df4d196e1cbde2f50d8
7
- data.tar.gz: d280ce5b914cd992f1eb300fe860d59a3130fbf3c73fbbbffcaa653ec9abb8f3a3c49f4931f5e4d5d4f95a8c5391ef1d2215b10d2b914107b64a2ca2e61448b1
6
+ metadata.gz: 58815fef9b735b6ffac11b34d3435934758deefeaec82fcaf9e46819c71ff8e476ec101321e24934937cba3add8c79eae9e8fa106d1f9388c6db0c6a73444887
7
+ data.tar.gz: 6eb72e4e27b01b7fbf8111699c9077ac6c1a2b412579cc3e4e6166971ef3aec8b93db0646ace46e5f7ae38ec56f731126ce784b0d6d3baec60034a661cc14ea3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cupertino (1.0.0)
4
+ cupertino (1.0.1)
5
5
  certified (>= 0.1.0)
6
6
  commander (~> 4.1.2)
7
7
  mechanize (~> 2.5.1)
Binary file
@@ -124,7 +124,7 @@ module Cupertino
124
124
  device.name = row['name']
125
125
  device.enabled = (row['status'] == 'c' ? 'Y' : 'N')
126
126
  device.device_id = row['deviceId']
127
- device.udid = row['deviceName']
127
+ device.udid = row['deviceNumber']
128
128
  devices << device
129
129
  end
130
130
 
@@ -129,7 +129,7 @@ command :'profiles:manage:devices:add' do |c|
129
129
  profiles = try{agent.list_profiles(:development) + agent.list_profiles(:distribution)}
130
130
  profile = profiles.find{|p| p.name == args.first} || choose("Select a profile:", *profiles)
131
131
 
132
- names = args[1..-1].select{|arg| /\=/ === arg}.collect{|arg| arg.sub /\=.*/, ''}
132
+ names = args[1..-1].select{|arg| /\=/ === arg}.collect{|arg| arg.sub(/\=.*/, '')}
133
133
  devices = []
134
134
 
135
135
  agent.manage_devices_for_profile(profile) do |on, off|
@@ -137,7 +137,7 @@ command :'profiles:manage:devices:add' do |c|
137
137
  next if idx == 0 and name == profile.name
138
138
 
139
139
  device = (on + off).detect{|d| d.name === name}
140
- say_warning "No device named #{name} was found." unless device
140
+ say_warning "No device named #{name} was found." and next unless device
141
141
  devices << Device.new(name, device.udid, "Y", device.device_id)
142
142
  end
143
143
 
@@ -166,7 +166,7 @@ command :'profiles:manage:devices:remove' do |c|
166
166
 
167
167
  say_warning "No provisioning profiles named #{args.first} were found." and abort unless profile
168
168
 
169
- names = args.collect{|arg| arg.gsub /\=.*/, ''}
169
+ names = args.collect{|arg| arg.gsub(/\=.*/, '')}
170
170
 
171
171
  devices = []
172
172
  agent.manage_devices_for_profile(profile) do |on, off|
@@ -1,3 +1,3 @@
1
1
  module Cupertino
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattt Thompson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-29 00:00:00.000000000 Z
11
+ date: 2014-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -158,6 +158,7 @@ extensions: []
158
158
  extra_rdoc_files: []
159
159
  files:
160
160
  - ./cupertino-0.9.7.gem
161
+ - ./cupertino-1.0.0.gem
161
162
  - ./cupertino.gemspec
162
163
  - ./Gemfile
163
164
  - ./Gemfile.lock