Use standard Rails layout for gemspec

上级 4687c86b
# frozen_string_literal: true
version = File.read(File.expand_path("../RAILS_VERSION", __dir__)).strip
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "activestorage" s.platform = Gem::Platform::RUBY
s.version = "0.1" s.name = "activejob"
s.authors = "David Heinemeier Hansson" s.version = version
s.email = "david@basecamp.com" s.summary = "Local and cloud file storage framework."
s.summary = "Attach cloud and local files in Rails applications" s.description = "Attach cloud and local files in Rails applications."
s.homepage = "https://github.com/rails/activestorage"
s.license = "MIT"
s.required_ruby_version = ">= 2.2.2" s.required_ruby_version = ">= 2.2.2"
s.add_dependency "rails", ">= 5.2.0.alpha" s.license = "MIT"
s.author = "David Heinemeier Hansson"
s.email = "david@loudthinking.com"
s.homepage = "http://rubyonrails.org"
s.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.md", "lib/**/*", "app/**/*", "config/**/*"]
s.require_path = "lib"
s.add_development_dependency "bundler", "~> 1.15" s.metadata = {
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/activestorage",
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/activestorage/CHANGELOG.md"
}
s.files = `git ls-files`.split("\n") s.add_dependency "actionpack", version
s.test_files = `git ls-files -- test/*`.split("\n") s.add_dependency "activerecord", version
end end
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册