Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v2.6.9
Fetching contributors…

Cannot retrieve contributors at this time

66 lines (57 sloc) 2.454 kb
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = "gherkin"
# If bumping the major version here, comment out the cucumber dependency below and uncomment in the Gemfile to build against a local cucumber.
s.version = "2.6.9"
s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
s.description = "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
s.summary = "#{s.name}-#{s.version}"
s.email = "cukes@googlegroups.com"
s.homepage = "http://github.com/cucumber/gherkin"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.rdoc_options = ["--charset=UTF-8"]
s.require_path = "lib"
s.files -= Dir['ikvm/**/*']
s.files -= Dir['java/**/*']
s.files -= Dir['js/**/*']
s.files -= Dir['ext/**/*']
s.files -= Dir['lib/gherkin.jar']
s.files -= Dir['lib/**/*.dll']
s.files -= Dir['lib/**/*.bundle']
s.files -= Dir['lib/**/*.so']
if ENV['GEM_PLATFORM']
puts "GEM_PLATFORM:#{ENV['GEM_PLATFORM']}"
end
s.platform = ENV['GEM_PLATFORM'] if ENV['GEM_PLATFORM']
case s.platform.to_s
when /java/
s.files += Dir['lib/*.jar']
when /mswin|mingw32/
s.files += Dir['lib/*/*.so']
when /dotnet/
s.files += Dir['lib/*.dll']
else # MRI or Rubinius
s.files += Dir['lib/gherkin/rb_lexer/*.rb']
s.files += Dir['ext/**/*.c']
s.extensions = Dir['ext/**/extconf.rb']
s.add_development_dependency('rake-compiler', '>= 0.7.9')
end
s.files -= Dir['**/.gitignore']
s.add_runtime_dependency('json', '>= 1.4.6')
s.add_development_dependency('cucumber', '>= 1.1.3')
s.add_development_dependency('rake', '>= 0.9.2')
s.add_development_dependency('bundler', '>= 1.0.21')
s.add_development_dependency('rspec', '>= 2.7.0')
s.add_development_dependency('rubyzip', '>= 0.9.5')
unless ENV['RUBY_CC_VERSION'] || defined?(JRUBY_VERSION)
s.add_development_dependency('therubyracer', '>= 0.9.9') if ENV['GHERKIN_JS']
# For Documentation:
s.add_development_dependency('yard', '>= 0.7.4')
s.add_development_dependency('rdiscount', '>= 1.6.8')
end
# Only needed by Cucumber. Remove when Cucumber no longer needs those.
s.add_development_dependency('term-ansicolor', '>= 1.0.6')
s.add_development_dependency('builder', '>= 2.1.2')
end
Jump to Line
Something went wrong with that request. Please try again.