smart_energy_group 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/smart_energy_group/client.rb +1 -1
- data/lib/smart_energy_group/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 916b9c68eb2bb0b97c6036198da6bf6817c82e0f
|
4
|
+
data.tar.gz: 7184f9cf619b63a72abf313f6e683dec1df1a2d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8456d64e7c1416169fb342eab88cb933d3c545ddd8d28590a80d24dc2891d3426bbe84707862278e42cce776e81cfb67c0f1fd5bf39e141cfcb5bf2c71e2557a
|
7
|
+
data.tar.gz: d7541be7bcbabec500e99b26095238deede6451d19befce353be0e092dda4699ec2fbcbdf4452f9224a8972942e943f1b2f5af6abbb34959be326531b742fdaa
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Smart Energy Group
|
2
2
|
|
3
3
|
[![Circle CI](https://circleci.com/gh/johnf/smart_energy_group.svg?style=svg)](https://circleci.com/gh/johnf/smart_energy_group)
|
4
|
-
[![Coverage Status](https://coveralls.io/repos/johnf/smart_energy_group/badge.svg?branch=master
|
4
|
+
[![Coverage Status](https://coveralls.io/repos/github/johnf/smart_energy_group/badge.svg?branch=master)](https://coveralls.io/github/johnf/smart_energy_group?branch=master)
|
5
5
|
|
6
6
|
Ruby library for talking to the Smart Energy Group API.
|
7
7
|
|
@@ -26,7 +26,7 @@ module SmartEnergyGroup
|
|
26
26
|
|
27
27
|
def send_data(node_name, options)
|
28
28
|
time = options[:when] || Time.now
|
29
|
-
time = time.strftime('%FT%T')
|
29
|
+
time = time.utc.strftime('%FT%T')
|
30
30
|
|
31
31
|
data = generate_data(options)
|
32
32
|
msg = "(site #{@site_token} (node #{node_name} #{time} #{data}))"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_energy_group
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Ferlito
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|