forked from grosser/gettext_i18n_rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
25 lines (22 loc) · 727 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = '--backtrace --color'
end
task :default do
puts `rake spec VERSION=2.3.10 RSPEC_COLOR=1`
puts `rake spec VERSION=3.0.3 RSPEC_COLOR=1`
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'gettext_i18n_rails'
gem.summary = "Simple FastGettext Rails integration."
gem.email = "[email protected]"
gem.homepage = "https://github.com/grosser/#{gem.name}"
gem.authors = ["Michael Grosser"]
gem.add_dependency 'fast_gettext'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler"
end