Sha256: 0132012eb917634ef4f6b66870690c669a4c702109f460a4f0a58874ce75ae6e

Contents?: true

Size: 1.58 KB

Versions: 60

Compression:

Stored size: 1.58 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "numerizer"
    gem.summary = "Numerizer is a gem to help with parsing numbers in natural language from strings (ex forty two)."
    gem.description = "Numerizer is a gem to help with parsing numbers in natural language from strings (ex forty two). It was extracted from the awesome Chronic gem http://github.com/evaryont/chronic."
    gem.email = "duff.john@gmail.com"
    gem.homepage = "http://github.com/jduff/numerizer"
    gem.authors = ["John Duff"]
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "numerizer #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

60 entries across 57 versions & 14 rubygems

Version Path
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/numerizer-0.1.1/Rakefile
logstash-filter-csharp-0.1.0 vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/Rakefile
logstash-filter-htmlentities-0.1.0 vendor/bundle/jruby/1.9/gems/numerizer-0.1.1/Rakefile
logstash-output-icinga-1.0.0 vendor/jruby/1.9/gems/numerizer-0.1.1/Rakefile
logstash-input-fifo-0.9.1 vendor/bundle/jruby/1.9/gems/numerizer-0.1.1/Rakefile
logstash-input-fifo-0.9.0 vendor/bundle/jruby/1.9/gems/numerizer-0.1.1/Rakefile
logstash-input-salesforce-3.0.0 vendor/jruby/1.9/gems/numerizer-0.1.1/Rakefile
ivanvc-logstash-input-s3-3.1.1.4 vendor/local/gems/numerizer-0.1.1/Rakefile
ivanvc-logstash-input-s3-3.1.1.3 vendor/local/gems/numerizer-0.1.1/Rakefile
ivanvc-logstash-input-s3-3.1.1.2 vendor/local/gems/numerizer-0.1.1/Rakefile
logstash-filter-delta-1.1.0 vendor/bundle/jruby/2.2.0/gems/numerizer-0.1.1/Rakefile
logstash-filter-delta-1.0.1 vendor/bundle/jruby/2.2.0/gems/numerizer-0.1.1/Rakefile
logstash-filter-base64-1.0.4 vendor/bundle/jruby/2.2.0/gems/numerizer-0.1.1/Rakefile
logstash-filter-base64-1.0.3 vendor/bundle/jruby/2.2.0/gems/numerizer-0.1.1/Rakefile
logstash-filter-delta-1.0.0 vendor/bundle/jruby/2.2.0/gems/numerizer-0.1.1/Rakefile
logstash-filter-base64-1.0.2 vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/Rakefile
logstash-filter-base64-1.0.1 vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/Rakefile
logstash-filter-base64-1.0.0 vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/Rakefile
numerizer-0.1.1 Rakefile
numerizer-0.1.0 Rakefile