Sha256: fff27191898e2550c4147dfc9db9106782953aa7984f098e4902b273e22e6762

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

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

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

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "<%= name %>"
  s.version     = <%= camelized_modules %>::VERSION
  s.authors     = ["Patrice Lebel"]
  s.email       = ["patleb@users.noreply.github.com"]
  s.homepage    = "https://github.com/patleb/<%= name %>"
  s.summary     = "<%= camelized_modules %>"
  s.description = "<%= camelized_modules %>"
  s.license     = "MIT"

<% if options.assets_only? -%>
  s.files = Dir["{app,lib,vendor}/**/*", "Bowerfile", "MIT-LICENSE", "Rakefile", "README.md"]
<% else -%>
  s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
<% end -%>
  s.test_files = Dir["spec/**/*"]

  <%= '# ' if options.dev? || options.edge? -%>s.add_dependency "rails", "~> 5.0"
<% if options.assets_only? -%>
  s.add_dependency 'bower-rails', '~> 0.11'
<% else -%>
  <%- unless options[:skip_active_record] -%>

  s.add_development_dependency "<%= gem_for_database[0] %>"
  <%- end -%>
  s.add_development_dependency 'rspec-rails', '~> 3.5'
  s.add_development_dependency 'fantaskspec', '~> 1.0'
  s.add_development_dependency 'shoulda-matchers', '~> 3.1'
  s.add_development_dependency 'shoulda-callback-matchers', '~> 1.1'
  s.add_development_dependency 'rails-controller-testing'
  s.add_development_dependency 'email_spec', '~> 2.1'
<% end -%>
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pluginizer-0.3.1 templates/%name%.gemspec.tt