Skip to content

Commit

Permalink
Move zonefile version info into its own file as there are bundler + g…
Browse files Browse the repository at this point in the history
…emspec issues under Ruby 1.9 otherwise.
  • Loading branch information
aeden authored and craigw committed Oct 26, 2011
1 parent 2d5bce7 commit 3d8e70b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dns-zonefile.gemspec
@@ -1,5 +1,5 @@
$:.unshift File.dirname(__FILE__) + '/lib'
require 'dns/zonefile'
require 'dns/zonefile_version'

spec = Gem::Specification.new do |s|
s.name = 'dns-zonefile'
Expand All @@ -15,4 +15,4 @@ spec = Gem::Specification.new do |s|
s.author = "Craig R Webster"
s.email = "craig@barkingiguana.com"
s.homepage = "http://barkingiguana.com/"
end
end
2 changes: 0 additions & 2 deletions lib/dns/zonefile.rb
Expand Up @@ -4,8 +4,6 @@ module DNS
class ParsingError < RuntimeError ; end
class UnknownRecordType < RuntimeError ; end
class Zonefile
VERSION = "0.5.0"

attr_reader :origin, :soa

class << self
Expand Down
5 changes: 5 additions & 0 deletions lib/dns/zonefile_version.rb
@@ -0,0 +1,5 @@
module DNS
class Zonefile
VERSION = "0.5.0"
end
end
1 change: 1 addition & 0 deletions spec/spec_helper.rb
@@ -1,2 +1,3 @@
require 'rspec'
require 'dns/zonefile'
require 'dns/zonefile_version'

0 comments on commit 3d8e70b

Please sign in to comment.