forked from globalize/globalize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globalize.gemspec
51 lines (42 loc) · 1.91 KB
/
globalize.gemspec
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
require File.expand_path('../lib/globalize/version', __FILE__)
Gem::Specification.new do |s|
s.name = 'globalize'
s.version = Globalize::Version
s.authors = ['Sven Fuchs', 'Joshua Harvey', 'Clemens Kofler', 'John-Paul Bader', 'Tomasz Stachewicz', 'Philip Arndt', 'Chris Salzberg']
s.email = 'nobody@globalize-rails.org'
s.homepage = 'http://github.com/globalize/globalize'
s.summary = 'Rails I18n de-facto standard library for ActiveRecord model/data translation'
s.description = "#{s.summary}."
s.license = "MIT"
s.files = Dir['{lib/**/*,[A-Z]*}']
s.platform = Gem::Platform::RUBY
s.require_path = 'lib'
s.rubyforge_project = '[none]'
if ENV['RAILS_4_0']
s.add_dependency 'activerecord', '~> 4.0.0'
s.add_dependency 'activemodel', '~> 4.0.0'
elsif ENV['RAILS_4_1']
s.add_dependency 'activerecord', '~> 4.1.0.beta1'
s.add_dependency 'activemodel', '~> 4.1.0.beta1'
else
s.add_dependency 'activerecord', '>= 4.0.0', '< 5'
s.add_dependency 'activemodel', '>= 4.0.0', '< 5'
end
s.add_development_dependency 'database_cleaner', '~> 1.2.0'
s.add_development_dependency 'minitest'
s.add_development_dependency 'minitest-reporters'
s.add_development_dependency 'sqlite3'
s.add_development_dependency 'rdoc'
s.add_development_dependency 'rake'
s.post_install_message = <<-END
Globalize has extracted versioning support to a separate gem named
globalize-versioning. If you are using versioning (with paper_trail
or any other versioning gem), please add the line
"gem 'globalize-versioning'" to your Gemfile and go to the github
page at globalize/globalize-versioning if you encounter any problems.
Note that the globalize-versioning gem does not delegate versions to
the translation table, so you will have to update your syntax to
the form: `post.translation.versions`. See the globalize-versioning
readme for details.
END
end