forked from romanbsd/translate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
33 lines (29 loc) · 1.08 KB
/
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
26
27
28
29
30
31
32
33
require 'rspec/core/rake_task'
desc 'Default: run specs.'
task :default => :spec
desc 'Run the specs'
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ['--color --format progress']
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'translate-rails3'
gem.summary = %Q{Newsdesk translate plugin for Rails 3}
gem.description = <<EOF
This plugin provides a web interface for translating Rails I18n texts
(requires Rails 3.0 or higher) from one locale to another.
The plugin has been tested only with the simple I18n backend that ships
with Rails.
I18n texts are read from and written to YAML files under config/locales.
This gem is a fork of the original https://github.com/mynewsdesk/translate
and also includes work from this fork: https://github.com/milann/translate
EOF
gem.email = '[email protected]'
gem.homepage = 'https://github.com/romanbsd/translate'
gem.authors = ['Peter Marklund', 'Milan Novota', 'Roman Shterenzon']
gem.add_dependency 'ya2yaml', '~> 0.30' # For UTF-8 support in YAML
end
Jeweler::GemcutterTasks.new
rescue LoadError
end