metabridge 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/meta_bridge/bridge.rb +3 -3
- data/lib/meta_bridge/version.rb +1 -1
- 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: d6404e6a945349a0c6648061fbda8ddec4bc9b15
|
4
|
+
data.tar.gz: 5564f5676a9516a3e8cd50d73c2791dd899c4b59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 368c3a366a7910256d73fc0c5c422ba2f8d04f7c375933206ecacbd3999c2e759835348f57c71637615b57cd06642f18a9f2d262596da722ae67386e4c7ee3d9
|
7
|
+
data.tar.gz: ecf8f8cf73afe7f0ae2b4deba13411cd4da4372cb127baba75563a04a096e7c4b41468e6664e3a6b1479976639d8be8bc8ef2edc0a40aab4dbb8e61d77c851e2
|
data/lib/meta_bridge/bridge.rb
CHANGED
@@ -24,11 +24,11 @@ class MetaBridge::Bridge
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def connect_to_device
|
27
|
-
run(adb
|
27
|
+
run("adb connect #{device_id}")
|
28
28
|
end
|
29
29
|
|
30
30
|
def adb(subcommand, params = [])
|
31
|
-
connect_to_device if device_id
|
31
|
+
connect_to_device if device_id
|
32
32
|
|
33
33
|
cmd = []
|
34
34
|
params = params.respond_to?(:join) ? params.join(' ') : params.to_s
|
@@ -36,7 +36,7 @@ class MetaBridge::Bridge
|
|
36
36
|
cmd << 'adb'
|
37
37
|
cmd << "-s #{device_id}" if device_id
|
38
38
|
cmd << subcommand
|
39
|
-
cmd << params
|
39
|
+
cmd << params
|
40
40
|
|
41
41
|
cmd.join(' ')
|
42
42
|
end
|
data/lib/meta_bridge/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metabridge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrei Maxim
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|