apiotics 0.1.120 → 0.1.121

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: 41c0adbd3fd359d4d9e2afd8211e5c6103dd4332
4
- data.tar.gz: c7c27ed4fb0136e8806c88541a442ab97cefe061
3
+ metadata.gz: fa2eec379a6740eea0ba092219a190d225a0af57
4
+ data.tar.gz: 92859fb86b4845505d91063342b9d9b0bf25388b
5
5
  SHA512:
6
- metadata.gz: 13806bd52c115a6083ba70594b8168423a2eb12c3e7f28d02e90cfa2eb552c71b3753fefa19f5e65bb9c483482d324d4d97f6d6b923b9cc2839cfb8e0c28738f
7
- data.tar.gz: 6e082927f31b74bf4880acefe742bbeb50531538b2893070fac684cb12ad414d3d19480b27884d78d014a768f272a9471d79b7447446df91fc2ff4024386995b
6
+ metadata.gz: fdce7b9e0b50718449f61148c31584fb173fab5a60ada76c82b65c65cf1af45c23d8528e9d3a92559138ffa8cd609b3715c5d66a10076011548772b42517a26e
7
+ data.tar.gz: 2160936b365e57766ebe48dd99fb7b81c2f3f1e675363231f9ebdc837d1c1507f36a9396a2ce208926d08a66a478b94643e0f19fa7320553fdd4e53b1c1c4b23
data/README.md CHANGED
@@ -18,7 +18,7 @@ And then execute:
18
18
  $ bundle
19
19
  $ rails generate apiotics:install
20
20
  ```
21
- On the Apiotics portal located at www.apiotics.com, you can create a Hive for your project. Hives have Workers (each type of IoT device in your project will have a corresponding worker in the Hive). Workers have Drivers and, optionally, Scripts. Drivers and Scripts have interfaces. An example worker might be a Thermostat. The Thermostat has a Control Script with two interfaces: temperature and target temperature. If you set the target temperature to 72 and the temperature is 65, the Thermostat will turn the heat on. We'll use this example again and flesh it out below.
21
+ On the Apiotics portal located at portal.apiotics.com, you can create a Hive for your project. Hives have Workers (each type of IoT device in your project will have a corresponding worker in the Hive). Workers have Drivers and, optionally, Scripts. Drivers and Scripts have interfaces. An example worker might be a Thermostat. The Thermostat has a Control Script with two interfaces: temperature and target temperature. If you set the target temperature to 72 and the temperature is 65, the Thermostat will turn the heat on. We'll use this example again and flesh it out below.
22
22
 
23
23
  Once you have created a Hive, it will give you a public and a private API key. Best practice is to set environment variables in your development, test and production environments to equal these API keys. Then, set config.public_key and config.private_key in config/initializers/apiotics.rb to those environment variables. You can enter the API keys directly into the configuration file, but you should only do this if you never plan to put your Rails application and Hive into production, as it is a significant security risk.
24
24
 
@@ -11,7 +11,7 @@ module Apiotics
11
11
  @local_port = 8001
12
12
  @server = "rgs.microarx.com"
13
13
  @server_port = 8000
14
- @portal = "https://www.apiotics.com/"
14
+ @portal = "https://portal.apiotics.com/"
15
15
  @push = false
16
16
  @tls = true
17
17
  @verify_peer = true
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.120'
2
+ VERSION = '0.1.121'
3
3
  end
@@ -14,7 +14,7 @@ Apiotics.configure do |config|
14
14
  config.server_port = 8000
15
15
 
16
16
  # The Apiotics portal. Again, very few reasons to change this.
17
- config.portal = "https://www.apiotics.com/"
17
+ config.portal = "https://portal.apiotics.com/"
18
18
 
19
19
  # Secure communications parameters. The defaults should be appropriate for almost all use cases.
20
20
  config.tls = true
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.120
4
+ version: 0.1.121
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-01-08 00:00:00.000000000 Z
11
+ date: 2018-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails