rspec-dns 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/rspec-dns/have_dns.rb +2 -2
- data/rspec-dns.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NWZlNDcxN2JiNWZiMmY4OWVmZDdjZDJmMmNiMGQwYmQ2OTI5OTAwMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWUyZWRmMTQwOWU4ZDVhYjM3YTIzMTQ5ZWY2NGQwMTU0ODYzNDMzZg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODk0NGEwYThiMThmNGQyY2ZiYWE4NmY5MWViMWU1NzM4ZDM5YThjM2JlM2U0
|
10
|
+
MzU3MjcyYThjODNkNGQxNDgxMGQyZDc2YTA5ZWQ3NGMzYmNmZGEzOGQ0YjQ2
|
11
|
+
ZDJlNjdiNjc4NmJmNWQ4ODhiZjllMjE4MjU0MDMxYmE4NGFjNmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDRjNTFhNTY1ZTRkNWNkYzViMWU1YjY5NGJmZDIwNjdkODgxMjQ1OWJjNGM2
|
14
|
+
NjliZmI0MzAzYTc0NDgwMGRhMjE0OTU1Y2M1NzlkYThmYWE3OGE0ZDkxY2I4
|
15
|
+
ZjQyMjc3OTAyMzJkMTUyYjk1Y2MwNjNmYTVjMjIyZDY4Mzk2OWY=
|
data/lib/rspec-dns/have_dns.rb
CHANGED
@@ -42,7 +42,7 @@ RSpec::Matchers.define :have_dns do
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
|
45
|
+
failure_message do |actual|
|
46
46
|
if !@exceptions.empty?
|
47
47
|
"tried to look up #{actual} but got #{@exceptions.size} exception(s): #{@exceptions.join(", ")}"
|
48
48
|
elsif @refuse_request
|
@@ -54,7 +54,7 @@ RSpec::Matchers.define :have_dns do
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
-
|
57
|
+
failure_message_when_negated do |actual|
|
58
58
|
if !@exceptions.empty?
|
59
59
|
"got #{@exceptions.size} exception(s):\n#{@exceptions.join("\n")}"
|
60
60
|
elsif @refuse_request
|
data/rspec-dns.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-dns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Vargo
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-06-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|