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 +4 -4
- data/device_api-ios.gemspec +1 -1
- data/lib/device_api/ios/ipaddress.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e873a4695c99fb523c5537fb9630afd3972c06c
|
4
|
+
data.tar.gz: 411b7652ee3c7f3329ab860adcac1780423f5ca2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 179f8792f7a64095f9b646636a6bfdfc17c26086faaa3163529d634b7d71e65668530e3b04f003940d6a3c4b156dc7dae9b88ca928ebd9a57eb8971e56031cb3
|
7
|
+
data.tar.gz: 0dfee86c18cf07aa69306489250075a1fcd7cece545cd1f84c25070dbbf44aa41f54635486e576170b82f402f58639be425bf5dae0f4b3e88c7ad1a804f9ac67
|
data/device_api-ios.gemspec
CHANGED
@@ -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
|
-
|
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.
|
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-
|
13
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: device_api
|