wattics-api-client 0.1.5 → 0.1.6
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 +4 -4
- data/lib/wattics-api-client/agent.rb +2 -1
- data/lib/wattics-api-client/processor.rb +1 -1
- data/lib/wattics-api-client/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: 929b5d9091b5a0d19c2f56a96c4e25c8f18c549d
|
|
4
|
+
data.tar.gz: 85271fdb53525bbb0ee4056b9efbad2ca382de5e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b54c9aa7066b5a29331e7466fb1204cf6d3ee01a76480577fd11c89353446a217d4dc9858e9431a778b46537f76953c5064d323a767d63aa6222e05f98e7742d
|
|
7
|
+
data.tar.gz: b8cbae70a659bcca1019011458d8e39e3e5b28f23be12d531b284e16c3519bb4ceea28036e0cca8fd8a57d15fc3972b97fe6475863a29c0d4e3739914c1d2d26
|
|
@@ -103,7 +103,8 @@ class Agent
|
|
|
103
103
|
end
|
|
104
104
|
|
|
105
105
|
def report_sent_measurement(measurement, response)
|
|
106
|
-
|
|
106
|
+
#Dont need to send to the measurement handler, <=400 erros are reported on the processor
|
|
107
|
+
@sent_measurements_with_context << [measurement, response] if response.code <= 400
|
|
107
108
|
@wait_semaphore.acquire
|
|
108
109
|
end
|
|
109
110
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wattics-api-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Wattics
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|