forked from globalize/globalize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globalize3.gemspec
36 lines (31 loc) · 1.29 KB
/
globalize3.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
require File.expand_path('../lib/globalize3/version', __FILE__)
Gem::Specification.new do |s|
s.name = 'globalize3'
s.version = Globalize3::VERSION
s.authors = ['Sven Fuchs', 'Joshua Harvey', 'Clemens Kofler', 'John-Paul Bader', 'Tomasz Stachewicz', 'Philip Arndt']
s.email = '[email protected]'
s.homepage = 'http://github.com/svenfuchs/globalize3'
s.summary = 'Rails I18n de-facto standard library for ActiveRecord 3 model/data translation'
s.description = "#{s.summary}."
s.files = Dir['{lib/**/*,[A-Z]*}']
s.platform = Gem::Platform::RUBY
s.require_path = 'lib'
s.rubyforge_project = '[none]'
if ENV['RAILS_3_0']
s.add_dependency 'activerecord', '~> 3.0.0'
s.add_dependency 'activemodel', '~> 3.0.0'
elsif ENV['RAILS_3_1']
s.add_dependency 'activerecord', '~> 3.1.0'
s.add_dependency 'activemodel', '~> 3.1.0'
else
# normal case
s.add_dependency 'activerecord', '>= 3.0.0'
s.add_dependency 'activemodel', '>= 3.0.0'
end
s.add_dependency 'paper_trail', '~> 2'
s.add_development_dependency 'database_cleaner', '0.5.2'
s.add_development_dependency 'mocha'
s.add_development_dependency 'pathname_local'
s.add_development_dependency 'test_declarative'
s.add_development_dependency 'sqlite3'
end