redns 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.16
1
+ 0.1.17
@@ -28,7 +28,9 @@ class ReDNS::Record::Null < ReDNS::Fragment
28
28
 
29
29
  while (!buffer.empty?)
30
30
  if (content_length = buffer.unpack('C')[0])
31
- self.contents << buffer.unpack("a#{content_length}")[0]
31
+ if (string = buffer.unpack("a#{content_length}")[0])
32
+ self.contents << string
33
+ end
32
34
  end
33
35
  end
34
36
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "redns"
8
- s.version = "0.1.16"
8
+ s.version = "0.1.17"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["tadman"]
12
- s.date = "2012-02-13"
12
+ s.date = "2012-03-12"
13
13
  s.description = "ReDNS is a pure Ruby DNS library with drivers for reactor-model engines such as EventMachine"
14
14
  s.email = "github@tadman.ca"
15
15
  s.executables = ["redig"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-13 00:00:00.000000000 Z
12
+ date: 2012-03-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ReDNS is a pure Ruby DNS library with drivers for reactor-model engines
15
15
  such as EventMachine