simbiotes 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: defab4e9159fb7dbe9068fcdc94d83d348983bbe
4
- data.tar.gz: bfc041d76870d672a67997de703ac7a86462365b
3
+ metadata.gz: 484f7f27f89451148e07395edce8fa2b116f6fef
4
+ data.tar.gz: 261c4e13b133b9fe78c21b45f080e694034b8ef4
5
5
  SHA512:
6
- metadata.gz: 9b6076785ffd4471c6d7e30b0dee448297e818911a645269e3d7b4bb816450f914954813b7c7b1769947e954b4face9a5c7d3582736a00d032a0cfe593c73c5c
7
- data.tar.gz: 14e72ba3bf7d6210bdee462038c8543a61a798587ef6acebb340c7c50e91b4215571bf3443edde7c41597b7fc2c6288fdf7dadb03ac31d21cd374b45f30a4146
6
+ metadata.gz: 83e5239515bac34def1a1d5eeb8d2c0e6c5de5de8b21bfc83847f9ea6a6adee90d5c231a455f882c55fb1e61aa013b45c6c119336ee49783f3ae14ebb245bdae
7
+ data.tar.gz: 65e2b8ad8e291728e20fdbe411b62be7afd74906bbf3cf3614b421fce6c2b0dbef746c4d458c6867e70c95ba98a4013a78b7e09f7b9bf9984ecc38413fa1f36b
data/README.md CHANGED
@@ -5,12 +5,12 @@ The easy way to make your Rails application interact with IoT devices.
5
5
  Add this line to your application's Gemfile:
6
6
 
7
7
  ```ruby
8
- gem "simbiotes", :git => "https://github.com/MicroArx/simbiotes-gem.git"
8
+ gem "simbiotes"
9
9
  ```
10
10
 
11
11
  Or install it yourself as:
12
12
  ```bash
13
- $ gem install simbiotes #Not working yet
13
+ $ gem install simbiotes
14
14
  ```
15
15
 
16
16
  And then execute:
@@ -1,3 +1,3 @@
1
1
  module Simbiotes
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/lib/simbiotes.rb CHANGED
@@ -45,7 +45,7 @@ module Simbiotes
45
45
  attributes = Simbiotes.configuration.targets[parent][child]
46
46
  interfaces = Hash.new
47
47
  attributes.each do |attribute|
48
- interfaces[attribute.downcase.gsub(" ", "_")] = object.send(attribute.downcase.gsub(" ", "_"))
48
+ interfaces[attribute.downcase.gsub(" ", "_")] = object.send(attribute.downcase.gsub(" ", "_")).to_s
49
49
  end
50
50
  Simbiotes::Extract.fire(object, interfaces, "get")
51
51
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simbiotes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-13 00:00:00.000000000 Z
11
+ date: 2017-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  requirements: []
150
150
  rubyforge_project:
151
- rubygems_version: 2.2.2
151
+ rubygems_version: 2.6.10
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: The easy way to integrate the IoT in your web app.