city-watch 0.7.7 → 0.7.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -65,7 +65,7 @@ module Watchman
65
65
  end
66
66
 
67
67
  def get_watchman_options
68
- CityWatch.config[:watchmen] && CityWatch.config[:watchmen][self.name.to_sym] && CityWatch.config[:watchmen][self.name.to_sym].is_a?(Hash) ? CityWatch.config[:watchmen][self.name.to_sym] : {}
68
+ CityWatch.config[:watchmen] && CityWatch.config[:watchmen].is_a?(Hash) && CityWatch.config[:watchmen][self.name.to_sym] && CityWatch.config[:watchmen][self.name.to_sym].is_a?(Hash) ? CityWatch.config[:watchmen][self.name.to_sym] : {}
69
69
  end
70
70
 
71
71
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CityWatch
2
- VERSION = "0.7.7"
2
+ VERSION = "0.7.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: city-watch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.7
4
+ version: 0.7.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: