Sha256: 6cb79b050cee9973549de0b16eb3235b01fb608abdba584db0b1a28040202692

Contents?: true

Size: 918 Bytes

Versions: 2

Compression:

Stored size: 918 Bytes

Contents




require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rubygems/package_task'

Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['test/*.rb']
  t.verbose = true
end

GEM = "abnf-parsing"

spec = Gem::Specification.new do |s|
  s.name = GEM
  s.version = "0.2.0"
  s.platform = Gem::Platform::RUBY
  s.has_rdoc = true
  s.extra_rdoc_files = ["README", "TODO"]
  s.summary = "ABNF parsing in Ruby"
  s.description = "A Ruby library for implementing parsers specified with Augmented Backus Naur Form (ABNF)."
  s.authors = ["Rob Day", "Ryan Tecco"]
  s.homepage = "https://github.com/rkday/ruby-abnf"
  s.email = "ruby-abnf@rkd.me.uk"
  s.require_path = "lib"
  s.files = %w{README Rakefile TODO} + Dir.glob("{lib,test}/*")
end

Gem::PackageTask.new(spec) do |pkg|

end

desc "Create the gemspec file."
task :gemspec do
  File.open("#{GEM}.gemspec", "w"){|f| f.puts spec.to_ruby}
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
abnf-parsing-0.2.2 Rakefile
abnf-parsing-0.2.0 Rakefile