device_api-ios 1.0.5 → 1.0.6

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: 926fbbdd821c6bf1297dfb4045e81b832d46f2d8
4
- data.tar.gz: 358f660bd73e1abef43f54d3282476743883810a
3
+ metadata.gz: 1e873a4695c99fb523c5537fb9630afd3972c06c
4
+ data.tar.gz: 411b7652ee3c7f3329ab860adcac1780423f5ca2
5
5
  SHA512:
6
- metadata.gz: 877f9a4ac4d784b0f9d62d60024e739658aa510811ea5d52a207170a2654163431820af0bf5f264ae95a91c24896fe808f4091ffc010a733167c473f7f0e84ad
7
- data.tar.gz: fbaead8a4318399e8730f912ca95878ba181d53e1bc6aea9f641dda85b17abb73fbc7e47d7cd6164a0fcf15a1906311013d2820e4cdc8cef6e43639fba72778e
6
+ metadata.gz: 179f8792f7a64095f9b646636a6bfdfc17c26086faaa3163529d634b7d71e65668530e3b04f003940d6a3c4b156dc7dae9b88ca928ebd9a57eb8971e56031cb3
7
+ data.tar.gz: 0dfee86c18cf07aa69306489250075a1fcd7cece545cd1f84c25070dbbf44aa41f54635486e576170b82f402f58639be425bf5dae0f4b3e88c7ad1a804f9ac67
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'device_api-ios'
3
- s.version = '1.0.5'
3
+ s.version = '1.0.6'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
  s.summary = 'IOS Device Management API'
6
6
  s.description = 'iOS implementation of DeviceAPI'
@@ -20,7 +20,7 @@ module DeviceAPI
20
20
  if DeviceAPI::IOS::IDeviceInstaller.package_installed?( serial: serial, package: ipaddress_bundle_id )
21
21
  return true
22
22
  else
23
- raise IPAddressError.new('IP Address package not installed: Please see https://github.com/bbc/ios-test-helper')
23
+ warn IPAddressError.new('IP Address package not installed: Please see https://github.com/bbc/ios-test-helper')
24
24
  end
25
25
  end
26
26
 
@@ -28,7 +28,7 @@ module DeviceAPI
28
28
  # @param [String] serial serial of the target device
29
29
  # @return [String] IP Address if found
30
30
  def self.address(serial)
31
- installed?(serial)
31
+ return nil unless installed?(serial)
32
32
  result = IDeviceDebug.run(serial: serial, bundle_id: ipaddress_bundle_id )
33
33
 
34
34
  ip_address = nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: device_api-ios
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - BBC
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-02-19 00:00:00.000000000 Z
13
+ date: 2016-06-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: device_api