milk_maid 0.2.2 → 0.2.3

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: ee607dbdab5e0380477816c98e12ca6d9a7f914f
4
- data.tar.gz: ac3908795bad583a1f6c798689887d851a43d21c
3
+ metadata.gz: e36de2b675a62fa2bc4fe2991617982e04def569
4
+ data.tar.gz: d72aed67eef50011e2750e0a89f052978d342cbc
5
5
  SHA512:
6
- metadata.gz: 1cec82b406eb82dbaf39a0809cac67e2d28510f1695da8d90b6b4e8897c2b028ece4e18176cae0dacf218222e64498f6f088273415fdb5794e5551456351274f
7
- data.tar.gz: 0474e7930dac0360bd001528ef09be6df99ddda2a78778696dcfc2546eb2790de526db0c54a21d4111be83db20ad2a32aa37b45d41a0d6692a2267071f00c163
6
+ metadata.gz: a2ee52a4689d57a9fa4b628a25be2fb74c0f1096bb23e54a14861ff2daf301c565fd8c063e65fb80d82d8d6109d7ad8c70ec1303150eff595002e215ac11a718
7
+ data.tar.gz: 824afc8826c58cdd6ceb1e4db4cba256ef1ba224046e59c80f4495964258bc265cb99ae06e77dbce8664e8fce6835ed8934976d92679edc7436753325c958a0c
@@ -9,7 +9,7 @@ module MilkMaid
9
9
  CACHE_THRESHOLD = 20
10
10
 
11
11
  def initialize
12
- @firebase = ::Firebase::Client.new(::YAML.load_file(File.join(CONFIG_DIR, 'firebase.yml'))['firebase_url'])
12
+ @firebase = ::Firebase::Client.new(::YAML.load_file(File.join(CONFIG_DIR, '.firebase.yml'))['firebase_url'])
13
13
  end
14
14
 
15
15
  def start(batch_data = {})
@@ -1,3 +1,3 @@
1
1
  module MilkMaid
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
data/lib/milk_maid.rb CHANGED
@@ -7,7 +7,7 @@ require 'milk_maid/firebase_notifier/batch_record'
7
7
  require 'milk_maid/temperature_sensor'
8
8
  require 'milk_maid/version'
9
9
 
10
- CONFIG_DIR = File.join('.')
10
+ CONFIG_DIR = File.join('~')
11
11
 
12
12
  module MilkMaid
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: milk_maid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Newell