Sha256: e2358a62c097bbf851742a0f13021faf9ad145db3a254160cb0d60db5bacea4a

Contents?: true

Size: 902 Bytes

Versions: 7

Compression:

Stored size: 902 Bytes

Contents

$:.push File.expand_path("../lib", __FILE__)

# Maintain your gem's version:
require "<%= name %>/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "<%= name %>"
  s.version     = <%= camelized %>::VERSION
  s.authors     = ["TODO: Your name"]
  s.email       = ["TODO: Your email"]
  s.homepage    = "TODO"
  s.summary     = "TODO: Summary of <%= camelized %>."
  s.description = "TODO: Description of <%= camelized %>."
  s.license     = "MIT"

  s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
<% unless options.skip_test_unit? -%>
  s.test_files = Dir["test/**/*"]
<% end -%>

  <%= '# ' if options.dev? || options.edge? -%>s.add_dependency "rails", "~> <%= Rails::VERSION::STRING %>"
<% unless options[:skip_active_record] -%>

  s.add_development_dependency "<%= gem_for_database[0] %>"
<% end -%>
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
railties-4.1.15 lib/rails/generators/rails/plugin/templates/%name%.gemspec
railties-4.1.15.rc1 lib/rails/generators/rails/plugin/templates/%name%.gemspec
railties-4.1.14.2 lib/rails/generators/rails/plugin/templates/%name%.gemspec
railties-4.1.14.1 lib/rails/generators/rails/plugin/templates/%name%.gemspec
railties-4.1.14 lib/rails/generators/rails/plugin/templates/%name%.gemspec
railties-4.1.14.rc2 lib/rails/generators/rails/plugin/templates/%name%.gemspec
railties-4.1.14.rc1 lib/rails/generators/rails/plugin/templates/%name%.gemspec