apiotics 0.1.122 → 0.1.123

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: 83daf9859cf2ab87995fdebb95403583d3fd2645
4
- data.tar.gz: 1bebe28f5a689d0c18be459fad6e4ea4423e9a23
3
+ metadata.gz: 82b8b2b02b65b8994a5e1d38eea9d10da59bb9ee
4
+ data.tar.gz: 9dab62a959c38005ef8e513702e7039dd8305047
5
5
  SHA512:
6
- metadata.gz: 56f1641844eb04e734530544c7f39fb9bc89b012329ee6d976a3568690fc9f9c3addfa74afb5779c9843dd45d8f022aad6eac8a224584ba43592abcecd4b448b
7
- data.tar.gz: adfe3db7f0b0c55155a4989349aad190260260a07bf03acb3ba163e23762e244abb3e0f11f953ef35c8c6279f3763de5ccdb65588fb9fe0cdc993ea4f443a8c3
6
+ metadata.gz: 7cd97f52f742c37fb6e74b29fe3346ef6ac807285d769ab11f27d635777f0cc7d350d32a22a6955d56bd7f37393bec6a66e188d8897e167fc68ed9bf67719bf8
7
+ data.tar.gz: 8741a22150a6a266669c87a20771fa5d1bb08fd0ef8925c714f31d5846ca98a0457988f3e2497669db93e097420a7e3ebeaadadcc1c7cf94de7c641fe6f68a0b
@@ -65,7 +65,7 @@ module Apiotics
65
65
  i = "#{object.class.parent.name}".underscore.gsub(" ","_").downcase + "_id"
66
66
  msg = {
67
67
  "action" => a,
68
- "instance" => k.find(object.send(i)).apiotics_instance,
68
+ "instance_id" => k.find(object.send(i)).apiotics_instance,
69
69
  "driver" => object.class.name.to_s,
70
70
  "interface" => interfaces,
71
71
  }
@@ -6,9 +6,9 @@
6
6
 
7
7
  module Apiotics
8
8
  class Insert
9
- def initialize(hash = {"action" => "set-complete", "instance" => 1, "driver" => "test_driver", "interface" => "control", "value" => 72, "timestamp" => "1000000000000", "status" => "ok"})
9
+ def initialize(hash = {"action" => "set-complete", "instance_id" => 1, "driver" => "test_driver", "interface" => "control", "value" => 72, "timestamp" => "1000000000000", "status" => "ok"})
10
10
  @action = hash["action"]
11
- @id = hash["instance"]
11
+ @id = hash["instance_id"]
12
12
  @class = hash["driver"]
13
13
  @methods = hash["interface"]
14
14
  @value = hash["value"]
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.122'
2
+ VERSION = '0.1.123'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiotics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.122
4
+ version: 0.1.123
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-22 00:00:00.000000000 Z
11
+ date: 2018-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -250,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  version: '0'
251
251
  requirements: []
252
252
  rubyforge_project:
253
- rubygems_version: 2.2.2
253
+ rubygems_version: 2.6.10
254
254
  signing_key:
255
255
  specification_version: 4
256
256
  summary: IoT For Everybody.