device_api-android 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/device_api/android.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff23b817a356789c3969f167964a28369421192a
|
4
|
+
data.tar.gz: f8cc4262be23a30f428a3199812d50847ce38add
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7854816270d1e5c431879df65eab79986773aca51ab1de5bbe292a9e37e2718332846b7a26049bae237b90258287921a7ef194e4b746414ed452080488242ab9
|
7
|
+
data.tar.gz: 44e98d93516b8b6948d37488d1a38000349d4f4941aab304c7bb8a44c06b9035a2884f1347db28dca1fd37a93da6c7e0e3bd564af5c87a65211aa5690cfa5dbc
|
data/lib/device_api/android.rb
CHANGED
@@ -30,7 +30,7 @@ module DeviceAPI
|
|
30
30
|
raise DeviceAPI::BadSerialString.new("serial was '#{serial.nil? ? 'nil' : serial}'")
|
31
31
|
end
|
32
32
|
state = ADB.get_state(serial)
|
33
|
-
DeviceAPI::Android::Device.create( self.get_device_type({ "#{serial}"
|
33
|
+
DeviceAPI::Android::Device.create( self.get_device_type({ :"#{serial}" => state}), { serial: serial, state: state })
|
34
34
|
end
|
35
35
|
|
36
36
|
# Return the device type used in determining which Device Object to create
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: device_api-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Buckhurst
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-02-
|
14
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: device_api
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
81
|
rubyforge_project:
|
82
|
-
rubygems_version: 2.
|
82
|
+
rubygems_version: 2.4.8
|
83
83
|
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: Android Device Management API
|