simbiotes 0.1.3 → 0.1.4

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: 0bc465def70ae3235f43b761d3dbf43ddd1a1a8f
4
- data.tar.gz: 9ee65a351c1438e9534b017b0d2e67cd42e0868d
3
+ metadata.gz: 7b2e8553469ac0490c1bbfb0b3b5c89f690c50e1
4
+ data.tar.gz: dfdcfc87f23c8fe8e3d9ddea97e77b179dd135e5
5
5
  SHA512:
6
- metadata.gz: bea42913e29e6a28f6b1b14f87457b976acf722be890de790199e3a5b4cc23d7c2f2a0717015683db2779075ada74415b1dcdaeb054168c732e2608f888d6bf2
7
- data.tar.gz: 328e272f07938648d6fee700008a36393fad9f037d4819e7715d31c879c2f662926f765a2222108256ed8a9f1175c47ddba0b49ea1aa8b6103756e1fc9846831
6
+ metadata.gz: f9b50c72ead14a5cdec7127f7af61d4762ad60a5f25e73e232ea5c2e15f2b7154013dcfed92ecbed577cafac934696acb63f2f4e1db52a326a8bde16286daf89
7
+ data.tar.gz: dd2e731e42dc69ac27efd6cb8fdd1064304242205239648e03083acd2300c426287571f6663f64a920d267df79d312f60938206007ddd6ec47bff925c3bc7e22
data/README.md CHANGED
@@ -215,7 +215,7 @@ This command installs a default controller and views for your Thermostat. Once
215
215
  > rails server
216
216
  ```
217
217
 
218
- Then in your web browser of choice, navigate to http://localhost:3000/Thermostats. This page will show you a list of your Thermostat instances, as well as the current values of the different interfaces for your device. You can use the edit links for each device instance to change these values.
218
+ Then in your web browser of choice, navigate to http://localhost:3000/thermostats. This page will show you a list of your Thermostat instances, as well as the current values of the different interfaces for your device. You can use the edit links for each device instance to change these values.
219
219
 
220
220
  ### Adding Push Web Updates
221
221
 
@@ -33,10 +33,10 @@ module Simbiotes
33
33
  def find_record
34
34
  begin
35
35
  klass = @class.classify.constantize
36
- master_record = (@class.parent.to_s + "::" + @class.parent.to_s).classify.constantize.find_by(simbiotes_instance: @id)
37
- @record = master_record.send(klass.demodulize.downcase)
38
- rescue => e
39
- puts e
36
+ master_klass = (klass.parent.to_s + "::" + klass.parent.to_s).classify.constantize
37
+ master_record = master_klass.find_by(simbiotes_instance: @id)
38
+ @record = master_record.send(@class.demodulize.downcase)
39
+ #puts e
40
40
  end
41
41
  end
42
42
 
@@ -1,3 +1,3 @@
1
1
  module Simbiotes
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  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.3
4
+ version: 0.1.4
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-15 00:00:00.000000000 Z
11
+ date: 2017-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  version: '0'
222
222
  requirements: []
223
223
  rubyforge_project:
224
- rubygems_version: 2.2.2
224
+ rubygems_version: 2.6.10
225
225
  signing_key:
226
226
  specification_version: 4
227
227
  summary: The easy way to integrate the IoT in your web app.