dory 0.3.1 → 0.3.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: 9fdd77014e44c075e3a0ffe2c8e661271d9ed26c
4
- data.tar.gz: 20f5e19d1083d691b27fb571d08c4aa8ccc9d8c5
3
+ metadata.gz: d2932482ce53a36eeed36a29f88c864d849bd415
4
+ data.tar.gz: 64b1db166bceb3747abd0ee36945c3fffd955206
5
5
  SHA512:
6
- metadata.gz: 6a92ba1f5b33a89ba6f9e3f6e5f5b386e7d68d53b78f032e0e9d6e57dfe4d0344772f717f7f09afe0d03de5b105757998e027f21996e402c2cf0eec6cbd478eb
7
- data.tar.gz: 5bcffd46a82bbd7a5a847cb53d7e7405206b1fb21e0784bcd88841da17e282b9f00f7bd806911e4d96fea3761653368437366e016605efa776df8cf0a72b6211
6
+ metadata.gz: 0f50c59d0b6511df98592f419110399515282190c5fd6aec9755cefd4eadf84ecefde9d03a8c2f9dd70855c765e98417d7589bed39ff7ccb51f6c84f7ae2a92e
7
+ data.tar.gz: 65b7ed1f699bd2a7156606f530a35468c2fd841eb3516b438339c478e69de2408d8aef3e381113729f5d1fad0062b9e60eea52c38f22d2ae7d23676575a92d6d
@@ -79,7 +79,11 @@ module Dory
79
79
 
80
80
  def self.has_our_nameserver?
81
81
  self.resolv_files.all? do |filename|
82
- self.contents_has_our_nameserver?(File.read(filename))
82
+ if File.exist?(filename)
83
+ self.contents_has_our_nameserver?(File.read(filename))
84
+ else
85
+ false
86
+ end
83
87
  end
84
88
  end
85
89
 
data/lib/dory/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Dory
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  DATE = '2016-06-30'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Porter
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  version: '0'
169
169
  requirements: []
170
170
  rubyforge_project:
171
- rubygems_version: 2.4.8
171
+ rubygems_version: 2.2.5
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: slackbot_frd provides a dirt-simple framework for implementing one or more