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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDk3ZDBlNjQ0NTJhZmNjNjZiNWNmMWU5MzgzODg3ZjJmNjI5MmZiZA==
4
+ NWZlNDcxN2JiNWZiMmY4OWVmZDdjZDJmMmNiMGQwYmQ2OTI5OTAwMA==
5
5
  data.tar.gz: !binary |-
6
- YjZhMmQzOGJkOGYwNzhjMjZmZTE0YWIyYzcwYWJlNTBiYTQwYjE4Yw==
6
+ YWUyZWRmMTQwOWU4ZDVhYjM3YTIzMTQ5ZWY2NGQwMTU0ODYzNDMzZg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MzhjOTc4MDZmYjZlYWNkZjhjOGE1NzlhOWQ1M2I0OWE0ZmVhOWNlM2QwNDBm
10
- MTUxOTQ5N2U1YjMyOWRlMzQ0Y2RiYjU4ZDc0MDlkNmU5OWI0ODUzMWIzZWUy
11
- YzY2YzdhYTcxYzk4YzE4MDMyZDM5ZWE2MTAxNGZkYTA0MWY5MjM=
9
+ ODk0NGEwYThiMThmNGQyY2ZiYWE4NmY5MWViMWU1NzM4ZDM5YThjM2JlM2U0
10
+ MzU3MjcyYThjODNkNGQxNDgxMGQyZDc2YTA5ZWQ3NGMzYmNmZGEzOGQ0YjQ2
11
+ ZDJlNjdiNjc4NmJmNWQ4ODhiZjllMjE4MjU0MDMxYmE4NGFjNmU=
12
12
  data.tar.gz: !binary |-
13
- YzVmZjBhZTZlMzcwMjQxMDUzMTcwY2U5MjVlNjI4MjQ3MGE0NDMxYTY1ZGI4
14
- YzY4MGZlZWE2MDZlMWQ5NzIzMzA2NDI4OWY3YmMyNjNkM2NiYWZjODRiOWJj
15
- NmE0MWFmMzJjNzQyZTc4ZTk2YzY1NjU1NThjYzU0MDlhZThkZDc=
13
+ ZDRjNTFhNTY1ZTRkNWNkYzViMWU1YjY5NGJmZDIwNjdkODgxMjQ1OWJjNGM2
14
+ NjliZmI0MzAzYTc0NDgwMGRhMjE0OTU1Y2M1NzlkYThmYWE3OGE0ZDkxY2I4
15
+ ZjQyMjc3OTAyMzJkMTUyYjk1Y2MwNjNmYTVjMjIyZDY4Mzk2OWY=
@@ -42,7 +42,7 @@ RSpec::Matchers.define :have_dns do
42
42
  end
43
43
  end
44
44
 
45
- failure_message_for_should do |actual|
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
- failure_message_for_should_not do |actual|
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
@@ -1,5 +1,5 @@
1
1
  Gem::Specification.new do |s|
2
- s.version = '0.1.1'
2
+ s.version = '0.1.2'
3
3
  s.name = 'rspec-dns'
4
4
  s.authors = ['Seth Vargo', 'Alexey Lapitsky', 'Johannes Russek']
5
5
  s.email = 'alexey@spotify.com'
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.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-04-14 00:00:00.000000000 Z
13
+ date: 2014-06-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake