ruby_connman 0.0.1 → 0.0.2

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: b449ae2874c0191e8f4887fa84e7b08607463aef
4
- data.tar.gz: d4de99b0332718484e0849acdf8d740217115a06
3
+ metadata.gz: 5406d78cf2e87f3cb6111276138f24905b0921cc
4
+ data.tar.gz: caeb1c7206fe875b975120646cd6c174a005064f
5
5
  SHA512:
6
- metadata.gz: 79ed2bec429b84a675bc9d1cdbba16c903e19e45c90bc0d2a470e4269a4d7e1bc57d63bed72e1edd56f48f8b7e6632fb928446c5654e234c8c9ce92c305c9d87
7
- data.tar.gz: c3edf79e19f908982e84ca98125d51e023e11eef4e1aed3969f848c66b695189061b57b7557a83cb8e2d8c29f3a3328f4729c7b39b163707f82f2241cd65c10c
6
+ metadata.gz: f8c94035b61d12bd0fc0f015d9b95213b7ff6e893f6f7c9fe03e91170028fe787349bd7ac7a30d8e20b10704605ee91fad186aecbbf8976e74ce4152abc1fb22
7
+ data.tar.gz: c75b0d522a26b9194fdc3252ffcd012964deab023dab442c52efdc79019d0f5a73bd949f511e60617e44ee4da0aa8094b24f7bc68f76e633366d926568469cfc
data/.idea/.rakeTasks CHANGED
@@ -4,4 +4,4 @@ You are allowed to:
4
4
  1. Remove rake task
5
5
  2. Add existing rake tasks
6
6
  To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build ruby_connman-0.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install ruby_connman-0.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.1 and build and push ruby_connman-0.0.1.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build ruby_connman-0.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Open an irb session preloaded with this library" fullCmd="console" taksId="console" /><RakeTask description="Build and install ruby_connman-0.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.1 and build and push ruby_connman-0.0.1.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
@@ -4,7 +4,7 @@ module RubyConnman
4
4
 
5
5
  def initialize
6
6
  @service_interface = RubyConnman::Bus.instance.service.object('/')
7
- @service_interface.introspect
7
+ @service_interface = @service_interface.introspect
8
8
  @service_interface = @service_interface['net.connman.Manager']
9
9
  end
10
10
 
@@ -16,11 +16,11 @@ module RubyConnman
16
16
  end
17
17
 
18
18
  def wifi_services
19
- temp = {}
19
+ temp = []
20
20
  interfaces = @service_interface.GetServices.first.select { |a| a[1]['Type'] == 'wifi' }
21
21
  interfaces.each do |interface|
22
22
  RubyConnman::Service.new(interface[0])
23
- temp[interface[0]] = interface[1]
23
+ temp.push(interface[0], interface[1])
24
24
  end
25
25
  temp
26
26
  end
@@ -4,7 +4,7 @@ module RubyConnman
4
4
 
5
5
  def initialize(path = nil)
6
6
  @service_interface = RubyConnman::Bus.instance.service.object(path)
7
- @service_interface.introspect
7
+ @service_interface = @service_interface.introspect
8
8
  end
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module RubyConnman
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_connman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Ward