spf 0.0.28 → 0.0.29

Sign up to get free protection for your applications and to get access to all the features.
data/lib/spf/model.rb CHANGED
@@ -451,7 +451,7 @@ class SPF::Mech < SPF::Term
451
451
  if IP === @ip_network
452
452
  @ip_netblocks << @ip_network
453
453
  @errors << SPF::InvalidMechCIDRError.new(
454
- 'Invalid CIDR netblock - bits in host portion of address'
454
+ "Invalid CIDR netblock - bits in host portion of address of #{@ip_network}"
455
455
  ) if @ip_network.offset != 0
456
456
  end
457
457
  end
@@ -484,7 +484,7 @@ class SPF::Mech < SPF::Term
484
484
  self.parse_ipv6_network(required)
485
485
  @ip_netblocks << @ip_network if IP === @ip_network
486
486
  @errors << SPF::InvalidMechCIDRError.new(
487
- 'Invalid CIDR netblock - bits in host portion of address'
487
+ "Invalid CIDR netblock - bits in host portion of address of #{@ip_network}"
488
488
  ) if @ip_network.offset != 0
489
489
  end
490
490
 
data/lib/spf/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module SPF
2
- VERSION = '0.0.28'
2
+ VERSION = '0.0.29'
3
3
  end
4
4
 
5
5
  # vim:sw=2 sts=2
data/spf.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "spf"
8
- s.version = "0.0.28"
8
+ s.version = "0.0.29"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrew Flury", "Julian Mehnle"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.28
4
+ version: 0.0.29
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: