Sha256: 80efa900a8d9e1e902cd28469da00358cef9057461e57642bd32dd54a94b84b2
Contents?: true
Size: 927 Bytes
Versions: 1
Compression:
Stored size: 927 Bytes
Contents
task :default do sh "AR='~>2' bundle && bundle exec rspec spec" # ActiveRecord 2 sh "AR='~>3' bundle && bundle exec rspec spec" # ActiveRecord 3 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: gem install jeweler" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fast_gettext-0.6.0 | Rakefile |