Sha256: 7c76fed6197b7b86c33db8e2a9292a734e6484d1f5f460fd0ad5e6ecd8825afb

Contents?: true

Size: 916 Bytes

Versions: 3

Compression:

Stored size: 916 Bytes

Contents

task :default => :spec
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = '--backtrace --color'
end

task :benchmark do
  puts "Running on #{RUBY}"
  %w[baseline ideal fast_gettext original i18n_simple].each do |bench|
    puts `ruby benchmark/#{bench}.rb`
    puts ""
  end
end

task :namespaces do
  puts `ruby benchmark/namespace/original.rb`
  puts `ruby benchmark/namespace/fast_gettext.rb`
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = 'fast_gettext'
    gem.summary = "A simple, fast, memory-efficient and threadsafe implementation of GetText"
    gem.email = "michael@grosser.it"
    gem.homepage = "http://github.com/grosser/#{gem.name}"
    gem.authors = ["Michael Grosser"]
  end

  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fast_gettext-0.5.13 Rakefile
fast_gettext-0.5.12 Rakefile
fast_gettext-0.5.11 Rakefile