Rakefile in json_pure-1.1.6 vs Rakefile in json_pure-1.1.7
- old
+ new
@@ -132,15 +132,17 @@
desc "Testing library (pure ruby and extension)"
task :test => [ :test_pure, :test_ext ]
desc "Benchmarking parser"
task :benchmark_parser do
+ ENV['RUBYOPT'] = "-Ilib:ext #{ENV['RUBYOPT']}"
ruby 'benchmarks/parser_benchmark.rb'
end
desc "Benchmarking generator"
task :benchmark_generator do
+ ENV['RUBYOPT'] = "-Ilib:ext #{ENV['RUBYOPT']}"
ruby 'benchmarks/generator_benchmark.rb'
end
desc "Benchmarking library"
task :benchmark => [ :benchmark_parser, :benchmark_generator ]
@@ -158,11 +160,11 @@
if defined?(Gem) and defined?(Rake::GemPackageTask) and defined?(Rake::ExtensionTask)
spec_pure = Gem::Specification.new do |s|
s.name = 'json_pure'
s.version = PKG_VERSION
s.summary = "A JSON implementation in Ruby"
- s.description = ""
+ s.description = "This is a JSON implementation in pure Ruby."
s.files = PKG_FILES
s.require_path = 'lib'
@@ -189,10 +191,10 @@
spec_ext = Gem::Specification.new do |s|
s.name = 'json'
s.version = PKG_VERSION
s.summary = "A JSON implementation as a Ruby extension"
- s.description = ""
+ s.description = "This is a JSON implementation as a Ruby extension in C."
s.files = PKG_FILES
s.extensions = FileList['ext/**/extconf.rb']