forked from romanbsd/translate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
35 lines (31 loc) · 1.17 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
34
35
require 'rspec/core/rake_task'
require "bundler/gem_tasks"
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 https://github.com/romanbsd/translate.
From the original https://github.com/mynewsdesk/translate
which also includes work from this fork: https://github.com/milann/translate
EOF
gem.email = 'gsmedley@kanayo.com'
gem.homepage = 'https://github.com/gsmedley/translate'
gem.authors = ['Peter Marklund', 'Milan Novota', 'Roman Shterenzon', 'Garth Smedley']
gem.add_dependency 'ya2yaml', '~> 0.30' # For UTF-8 support in YAML
end
Jeweler::GemcutterTasks.new
rescue LoadError
end