Sha256: b4289dac32e5e922bb6cd52d451396fe6321b90dc9f037e576d24ca8e87d40c1
Contents?: true
Size: 973 Bytes
Versions: 4
Compression:
Stored size: 973 Bytes
Contents
task :default do sh "AR='~>2' && (bundle || bundle install) && bundle exec rspec spec" # ActiveRecord 2 sh "AR='~>3' && (bundle || bundle install) && 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fast_gettext-0.6.4 | Rakefile |
fast_gettext-0.6.3 | Rakefile |
fast_gettext-0.6.2 | Rakefile |
fast_gettext-0.6.1 | Rakefile |