Sha256: 27dea24cf0c5b0de3af8c052dcd23baeec5c29aa29b414058a37f0c4b2bceec6

Contents?: true

Size: 1.08 KB

Versions: 13

Compression:

Stored size: 1.08 KB

Contents

desc "Run all specs in spec directory"
task :default do |t|
  options = "--colour --format progress --loadby --reverse"
  files = FileList['spec/**/*_spec.rb']
  system("spec #{options} #{files}")
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 and threadsafe implementation of GetText"
    gem.email = "grosser.michael@gmail.com"
    gem.homepage = "http://github.com/grosser/fast_gettext"
    gem.authors = ["Michael Grosser"]
    gem.files += (FileList["{vendor,lib,spec}/**/*"] + FileList["VERSION.yml"] + FileList["README.markdown"]).to_a.sort
  end
rescue LoadError
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
grosser-fast_gettext-0.4.10 Rakefile
grosser-fast_gettext-0.4.11 Rakefile
grosser-fast_gettext-0.4.12 Rakefile
grosser-fast_gettext-0.4.13 Rakefile
grosser-fast_gettext-0.4.14 Rakefile
grosser-fast_gettext-0.4.15 Rakefile
grosser-fast_gettext-0.4.16 Rakefile
grosser-fast_gettext-0.4.3 Rakefile
grosser-fast_gettext-0.4.4 Rakefile
grosser-fast_gettext-0.4.5 Rakefile
grosser-fast_gettext-0.4.7 Rakefile
grosser-fast_gettext-0.4.8 Rakefile
grosser-fast_gettext-0.4.9 Rakefile