rjp-jabber_cat 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/jabber_cat.rb +4 -0
  2. metadata +1 -1
data/bin/jabber_cat.rb CHANGED
@@ -50,6 +50,10 @@ end
50
50
  # TODO handle failing here with exceptions
51
51
  config = YAML::load(open($options[:config]))
52
52
 
53
+ unless config['options'].nil? then
54
+ $options.merge!(config['options'])
55
+ end
56
+
53
57
  # make sure we always have a filters list
54
58
  if config['filters'].nil? then
55
59
  config['filters'] = []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rjp-jabber_cat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Partington