saj_collector 0.4.1 → 0.4.2

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: 86ccfdffcdae1a39e2dd6c63f08c0e228bfa7442
4
- data.tar.gz: 8d8553bdd74cb798b03118318ec8d60d79ebdb5d
3
+ metadata.gz: 84b1f089d21fe7b2607831604bd73b5f6ce2ea1a
4
+ data.tar.gz: 60476102c4dc01e536dd3631e9a4c6f3f59c2301
5
5
  SHA512:
6
- metadata.gz: d67f7578cd202ad46023b255fc82148237164980fcbf67c50c0a131fed5522ee67827c6e26c812907fcb98afe9bcdddc2dabc17fbd8571b80d22606e39d0e9d5
7
- data.tar.gz: fc8fdec7be11c55303163e1e6ae0e6ab7012cf94a76d666b33a04f625613fc2247e1bbde116e6abda19aa183e8829df21f4b25d9bb6ba3422f4da5c118a3b087
6
+ metadata.gz: 7974f3241aec861265b0c8808cc95903db5dca1bbfbc499d34b03096ccb777f1a92e0b2067fe41605e4fed8ad9e45fe27ebc376aad7b268882993b51de34d3a6
7
+ data.tar.gz: 45bc659c9ff52c432c3221b4b8d6f486ff1f06be4f0362bc892c07d396df1e1b9247e992c40d0de1a06117b43c3558c0b9ca010947f79620cda67181bf193811
data/README.md CHANGED
@@ -46,7 +46,7 @@ that the ``saj_collector.yaml`` file can be found. For example when you put the
46
46
  in /usr/local/bin (and also the gem) and want to run it each 5 minutes between 6AM and 10PM you should
47
47
  add to your crontab
48
48
 
49
- */5 6-22 * * * cd /usr/local/bin && ruby /usr/local/bin/saj_collector
49
+ */5 6-21 * * * cd /usr/local/bin && ruby /usr/local/bin/saj_collector
50
50
 
51
51
  ## Development
52
52
 
@@ -29,7 +29,7 @@ options = {
29
29
  }
30
30
 
31
31
  counter = 0
32
- current_day = '00"'
32
+ current_day = '00'
33
33
 
34
34
  while counter < days
35
35
  value = {
@@ -44,7 +44,7 @@ while counter < days
44
44
  end
45
45
 
46
46
  options.each do |date, values|
47
- puts "Energy generated #{date} :#{values[:energy_generated]} WH"
47
+ puts "Energy generated #{date}: #{values[:energy_generated]} WH"
48
48
  end
49
49
 
50
50
  pvoutput.add_batch_output(options)
@@ -1,3 +1,3 @@
1
1
  module SAJCollector
2
- VERSION = '0.4.1'.freeze
2
+ VERSION = '0.4.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saj_collector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johnny Willemsen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-16 00:00:00.000000000 Z
11
+ date: 2016-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pvoutput