Sha256: 9b7277f755409be8f4db498a602ad8e3bead571635604056680362234071dbc1

Contents?: true

Size: 875 Bytes

Versions: 29

Compression:

Stored size: 875 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.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 %>"
<% end -%>
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
railties-4.0.13 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.13.rc1 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.11.1 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.12 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.11 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.10 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.10.rc2 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.10.rc1 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.9 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.8 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.7 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.6 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.6.rc3 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.6.rc2 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.6.rc1 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.5 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.4 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.4.rc1 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.3 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
railties-4.0.2 lib/rails/generators/rails/plugin_new/templates/%name%.gemspec