ruby_connman 0.0.4 → 0.0.5

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: af7a1cab3daa4f76754cf376ce04cd4918556a41
4
- data.tar.gz: 3179ba47f7dac6fcdbc71cbfb991a6911c795371
3
+ metadata.gz: b8663fc45f3ffea7c72fd29d6a2fcebba2b99af2
4
+ data.tar.gz: 71f26e9b070f0b80ff8af7129453a11ce1799e8f
5
5
  SHA512:
6
- metadata.gz: c4d5f062d0adaef45fce06640ccff7b1db9e0bc52f1841bbcdb53b52ccbf2ab695e6db3365dbdc29dc9d467dc3c4096b389532e07b2bf5008f9ec31ca36a3125
7
- data.tar.gz: d52e7da67ff00c8ca491c6cf5a491ce623fcd3e62a85109313c2d1999690b8f287495ce34c951c1dd0e5ad0b9dae2190ec0be346c8376f94c34445e0bf507325
6
+ metadata.gz: 878a2966476849f3f47e748bf454b230e4a2692c3ad7a6b3bd5ff71f3c8a67154d07799487036526a00d0ae34d7caf5f54e3b69198098436eadf9c654da88604
7
+ data.tar.gz: ec695f9adbd079ecf29e20b8d5d37a92dfa6cb1fdf81ae8db5bb1a2209da5b109a7140e2676cddcf5126da39e3086fe6fa625873198dd616ebe77ed81f08b781
@@ -24,5 +24,10 @@ module RubyConnman
24
24
  end
25
25
  temp
26
26
  end
27
+
28
+ def get_interface(network_interface)
29
+ interface = @service_interface.GetServices.first.select { |a| a[1]['Ethernet']['Interface'] == network_interface }
30
+ (interface.empty?) ? nil : interface.first
31
+ end
27
32
  end
28
33
  end
@@ -1,3 +1,3 @@
1
1
  module RubyConnman
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_connman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Ward
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-25 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler