paperclip-globalize3.gemspec in paperclip-globalize3-2.3.0 vs paperclip-globalize3.gemspec in paperclip-globalize3-3.0.0
- old
+ new
@@ -1,31 +1,37 @@
-# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'paperclip/globalize3/version'
+require 'English'
Gem::Specification.new do |spec|
- spec.name = "paperclip-globalize3"
+ spec.name = 'paperclip-globalize3'
spec.version = Paperclip::Globalize3::VERSION
- spec.authors = ["Maximilian Herold"]
- spec.email = ["herold@emjot.de"]
- spec.description = %q{locale-specific attachments with paperclip and globalize}
- spec.summary = %q{locale-specific attachments with paperclip and globalize}
- spec.homepage = "https://github.com/emjot/paperclip-globalize3"
- spec.license = "MIT"
+ spec.authors = ['Maximilian Herold']
+ spec.email = ['herold@emjot.de']
+ spec.description = 'locale-specific attachments with paperclip and globalize'
+ spec.summary = 'locale-specific attachments with paperclip and globalize'
+ spec.homepage = 'https://github.com/emjot/paperclip-globalize3'
+ spec.license = 'MIT'
- spec.files = `git ls-files`.split($/)
+ spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
- spec.require_paths = ["lib"]
+ spec.require_paths = ['lib']
- spec.add_dependency "activerecord", ['>= 4.0', '< 5.1']
- spec.add_dependency "globalize", ">= 4.0.0"
- spec.add_dependency "paperclip", "~> 4.1"
+ spec.required_ruby_version = '>= 2.2.2'
- spec.add_development_dependency "bundler", "~> 1.3"
- spec.add_development_dependency "appraisal", "~> 0.5.1"
- spec.add_development_dependency "rspec-rails", ["~> 2.14.1", "< 2.99"]
- spec.add_development_dependency "sqlite3"
- spec.add_development_dependency "rake", '< 12'
- spec.add_development_dependency "wwtd", "~> 0.5"
+ spec.add_dependency 'activerecord', ['>= 4.2', '< 5.2']
+ spec.add_dependency 'globalize', '>= 5.0.0'
+ spec.add_dependency 'paperclip', ['>= 4.2', '< 5.3']
+
+ spec.add_development_dependency 'appraisal', '~> 2.2'
+ spec.add_development_dependency 'bundler', '~> 1.13'
+ spec.add_development_dependency 'database_cleaner'
+ spec.add_development_dependency 'rake'
+ spec.add_development_dependency 'rspec', '~> 3.7'
+ spec.add_development_dependency 'rubocop'
+ spec.add_development_dependency 'rubocop-rspec'
+ spec.add_development_dependency 'sqlite3'
+ spec.add_development_dependency 'wwtd', '~> 1.3'
+ spec.add_development_dependency 'yard'
end