metabridge 0.1.2 → 0.1.3

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: d6404e6a945349a0c6648061fbda8ddec4bc9b15
4
- data.tar.gz: 5564f5676a9516a3e8cd50d73c2791dd899c4b59
3
+ metadata.gz: d23a3de037b8151d04fba970725edf54a4f3e56a
4
+ data.tar.gz: 937321b7936fe61926b152eaa9b6b7c643591699
5
5
  SHA512:
6
- metadata.gz: 368c3a366a7910256d73fc0c5c422ba2f8d04f7c375933206ecacbd3999c2e759835348f57c71637615b57cd06642f18a9f2d262596da722ae67386e4c7ee3d9
7
- data.tar.gz: ecf8f8cf73afe7f0ae2b4deba13411cd4da4372cb127baba75563a04a096e7c4b41468e6664e3a6b1479976639d8be8bc8ef2edc0a40aab4dbb8e61d77c851e2
6
+ metadata.gz: 95a1d45d744f9ce091448abb52125ef09e7179b53921978aee10be7b1658f05735de1a6df46ddac2eb8b98110ce028fe38a04e58f4febc759328135699d1d6a5
7
+ data.tar.gz: 425c66f5ffff5cdfaf34212196b9bffc41ddfb0650be461e38c6e3f34aed97b4a3d91c08bf3d7e185a6b8764a716e9070cf13e854ec2d13fcb9ffb021091caf5
data/README.md CHANGED
@@ -38,6 +38,23 @@ examples:
38
38
  $ metabridge
39
39
  ```
40
40
 
41
+ In order to get the list of remote devices connected to the network, use the following command:
42
+
43
+ ```shell
44
+ $ metabridge list
45
+ Device found: 10.10.1.61 d8:50:e6:77:d0:c7
46
+ Device found: 10.10.1.65 d8:50:e6:7f:2d:5a
47
+ Device found: 10.10.1.79 ac:22:0b:45:99:49
48
+ Device found: 10.10.1.57 d8:50:e6:72:db:f6
49
+ ```
50
+
51
+ If you want to get the `logcat` output from one device, use the MAC address
52
+ (specified in the second column):
53
+
54
+ ```shell
55
+ $ metabridge log -d d8:50:e6:77:d0:c7
56
+ ```
57
+
41
58
  ## Development
42
59
 
43
60
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -8,7 +8,8 @@ class MetaBridge::ARP
8
8
 
9
9
  def connections
10
10
  connections = []
11
- run('arp -i eth1 -a') do |out|
11
+ # TODO Make the iface configurable
12
+ run('arp -i em0 -a') do |out|
12
13
  while line = out.gets
13
14
  connections << parse_arp_line(line)
14
15
  end
@@ -1,3 +1,3 @@
1
1
  module MetaBridge
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -0,0 +1 @@
1
+ require 'meta_bridge'
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_dependency 'thor', '~> 0.19.1'
24
24
 
25
- spec.add_development_dependency "bundler", "~> 1.9"
25
+ spec.add_development_dependency "bundler", "~> 1.10"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
27
- spec.add_development_dependency "minitest", "~> 5.6"
27
+ spec.add_development_dependency "minitest", "~> 5.7"
28
28
  end
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.2
4
+ version: 0.1.3
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-27 00:00:00.000000000 Z
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.9'
33
+ version: '1.10'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.9'
40
+ version: '1.10'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '5.6'
61
+ version: '5.7'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '5.6'
68
+ version: '5.7'
69
69
  description: Get logcat output from a remote Android tablet using adb commands.
70
70
  email:
71
71
  - max@throwpoint.ro
@@ -91,6 +91,7 @@ files:
91
91
  - lib/meta_bridge/command.rb
92
92
  - lib/meta_bridge/device.rb
93
93
  - lib/meta_bridge/version.rb
94
+ - lib/metabridge.rb
94
95
  - metabridge.gemspec
95
96
  homepage: https://github.com/Telmate/metabridge
96
97
  licenses: