cupertino 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cf461d43315831dbcca7b1856cb205a18c48e1c
|
4
|
+
data.tar.gz: 4a1989c9a30877a50a53bf544b41db709ba86f88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58815fef9b735b6ffac11b34d3435934758deefeaec82fcaf9e46819c71ff8e476ec101321e24934937cba3add8c79eae9e8fa106d1f9388c6db0c6a73444887
|
7
|
+
data.tar.gz: 6eb72e4e27b01b7fbf8111699c9077ac6c1a2b412579cc3e4e6166971ef3aec8b93db0646ace46e5f7ae38ec56f731126ce784b0d6d3baec60034a661cc14ea3
|
data/Gemfile.lock
CHANGED
data/cupertino-1.0.0.gem
ADDED
Binary file
|
@@ -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|
|
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: 1.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-
|
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
|