robit 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/bin/robit +5 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5168fe77859d3de13b5525fdaf1995bf5a44a15
4
- data.tar.gz: d5ec1a204602168bea3c0e7d8c32a022240e981f
3
+ metadata.gz: e8ed22a21f7018fba8137c37e5c0dbbf2601e1e3
4
+ data.tar.gz: c09330121340b4092bb2569d07cc4fd6fc320e3b
5
5
  SHA512:
6
- metadata.gz: c984d2e9af9ed534c6c1e46d676121ec797cea973cb89ca6a5841166e2861e5798d9559458390ea6c2e4ba594054f9e9706949207dcd9b266353759559d74ad5
7
- data.tar.gz: 70077929b0a779ed1958832e2e67659d3dc7fa29f44e386a3e303c60ec65fdf93584fed18f3f973dc34ea821397c44145b3db662ae39d3440e302fe37e454ff8
6
+ metadata.gz: e7b668cdd9b9358c19225f6cc5e69c5b3fe23de35a7e49dba7bc1543b662f2ecffaed57277b04f1184a200aec17146e44bc38c2f2f50c49a6dcaacf41b40e089
7
+ data.tar.gz: 4d493f212ce1ab5ccb9326bdb7aaa0c985a282f0c76a738a52566115b8ecde2d94816b2c5f58965e78e0dfbfba6263221995c4263972e1d1bf60f89077b72a57
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/bin/robit CHANGED
@@ -34,17 +34,20 @@ end
34
34
 
35
35
  Config = JSON::parse File::read(Opts[:config]), symbolize_names: true
36
36
 
37
+ Config[:store_yaml] ||= '/tmp/robut-store.yml'
38
+ Config[:store_nick] ||= '/tmp/robut-nick.db'
39
+
37
40
  Robut::Connection.configure do |config|
38
41
  config.jid = Config[:jabber_user]
39
42
  config.password = Config[:jabber_pass]
40
43
  config.mention_name = Config[:hipchat_nick]
41
44
  config.nick = Config[:hipchat_name]
42
45
  config.rooms = Config[:hipchat_rooms]
43
- Robut::Storage::YamlStore.file = ".robut_store"
46
+ Robut::Storage::YamlStore.file = Config[:store_yaml]
44
47
  config.store = Robut::Storage::YamlStore
45
48
  config.logger = Logger.new(STDOUT)
46
49
 
47
- config.nick_db = Daybreak::DB.new '.nick.db', default: []
50
+ config.nick_db = Daybreak::DB.new Config[:store_nick], default: []
48
51
 
49
52
  config.hipchat = HipChat::Client.new Config[:hipchat_api_key]
50
53
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: robit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer