simbiotes 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/simbiotes/version.rb +1 -1
- data/lib/simbiotes.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 484f7f27f89451148e07395edce8fa2b116f6fef
|
4
|
+
data.tar.gz: 261c4e13b133b9fe78c21b45f080e694034b8ef4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"
|
8
|
+
gem "simbiotes"
|
9
9
|
```
|
10
10
|
|
11
11
|
Or install it yourself as:
|
12
12
|
```bash
|
13
|
-
$ gem install simbiotes
|
13
|
+
$ gem install simbiotes
|
14
14
|
```
|
15
15
|
|
16
16
|
And then execute:
|
data/lib/simbiotes/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|