lib/spaceship/portal/provisioning_profile.rb in spaceship-0.10.1 vs lib/spaceship/portal/provisioning_profile.rb in spaceship-0.10.2
- old
+ new
@@ -211,10 +211,10 @@
certificate_parameter = certificate_parameter.first if certificate_parameter.count == 1
if devices.nil? or devices.count == 0
if self == Development or self == AdHoc
# For Development and AdHoc we usually want all devices by default
- devices = Spaceship::Device.all
+ devices = Spaceship::Device.all.collect { |d| d.device_type != 'pc' }
end
end
profile = client.with_retry do
client.create_provisioning_profile!(name,