Sha256: b1418f6c4a3b003bcff6e367618a7d6efed8cff3409b4e3d2031dab54c0e4332

Contents?: true

Size: 1.32 KB

Versions: 5

Compression:

Stored size: 1.32 KB

Contents

source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

<% if options[:skip_gemspec] -%>
<%= "# " if options.dev? || options.edge? || options.main? -%>gem "rails", "<%= Array(rails_version_specifier).join("', '") %>"
<% else -%>
# Specify your gem's dependencies in <%= name %>.gemspec.
gemspec
<% end -%>
<% unless options[:skip_active_record] -%>

group :development do
  gem "<%= gem_for_database[0] %>"
end
<% end -%>

<% if options.dev? || options.edge? -%>
# Your gem is dependent on dev or edge Rails. Once you can lock this
# dependency down to a specific version, move it to your gemspec.
<% max_width = gemfile_entries.map { |g| g.name.length }.max -%>
<% gemfile_entries.each do |gem| -%>
<% if gem.comment -%>

# <%= gem.comment %>
<% end -%>
<%= gem.commented_out ? "# " : "" %>gem "<%= gem.name %>"<%= %(, "#{gem.version}") if gem.version -%>
<% if gem.options.any? -%>
, <%= gem.options.map { |k,v|
  "#{k}: #{v.inspect}" }.join(", ") %>
<% end -%>
<% end -%>

<% end -%>
<% if RUBY_ENGINE == "ruby" -%>
# Start debugger with binding.b -- Read more: https://github.com/ruby/debug
# gem "debug", ">= 1.0.0", group: %i[ development test ]
<% end -%>
<% if RUBY_PLATFORM.match(/bccwin|cygwin|emx|mingw|mswin|wince|java/) -%>

gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby]
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
railties-7.0.0.rc3 lib/rails/generators/rails/plugin/templates/Gemfile.tt
railties-7.0.0.rc2 lib/rails/generators/rails/plugin/templates/Gemfile.tt
railties-7.0.0.rc1 lib/rails/generators/rails/plugin/templates/Gemfile.tt
railties-7.0.0.alpha2 lib/rails/generators/rails/plugin/templates/Gemfile.tt
railties-7.0.0.alpha1 lib/rails/generators/rails/plugin/templates/Gemfile.tt