Sha256: f24f34e713e6def134fc4c3989a5a80bac431d55236705a6041782b07e8287a1
Contents?: true
Size: 1.98 KB
Versions: 1
Compression:
Stored size: 1.98 KB
Contents
$:.push File.expand_path("../lib", __FILE__) require "<%=config[:gem_name]%>/version" Gem::Specification.new do |s| s.name = "<%= config[:gem_name] %>" s.version = <%= config[:gem_class] %>::VERSION s.platform = <%= config[:gem_platform] %> s.author = "<%= config[:author_name] %>" s.email = "<%= config[:author_email] %>" s.homepage = "<%= config[:gem_url] %>" s.summary = "TODO: Add gem summary here." s.description = "TODO: Add gem description here." s.license = "MIT" <%- if config[:post_install_message] -%> s.post_install_message = "<%= config[:post_install_message] %>" <%- end -%> unless ENV["TRAVIS"] s.signing_key = File.expand_path("~/.ssh/gem-private.pem") s.cert_chain = ["gem-public.pem"] end s.required_ruby_version = "~> <%= config[:ruby_version] %>" <%- if config[:bin] -%> s.add_dependency "thor" s.add_dependency "thor_plus" <%- end -%> <%- if config[:rails] -%> s.add_dependency "rails", "~> <%= config[:rails_version] %>" <%- end -%> <%- if config[:travis] -%> s.add_development_dependency "rake" <%- end -%> <%- if config[:pry] -%> s.add_development_dependency "pry" s.add_development_dependency "pry-byebug" s.add_development_dependency "pry-rescue" s.add_development_dependency "pry-stack_explorer" s.add_development_dependency "pry-vterm_aliases" <%- end -%> <%- if config[:rspec] -%> <%- rspec_gem = config[:rails] ? "rspec-rails" : "rspec" -%> s.add_development_dependency "<%= rspec_gem %>" <%- end -%> <%- if config[:bin] -%> s.add_development_dependency "aruba" <%- end -%> <%- if config[:guard] -%> s.add_development_dependency "rb-fsevent" # Guard file events for OSX. s.add_development_dependency "guard-rspec" <%- end -%> s.files = Dir["lib/**/*", "vendor/**/*"] s.extra_rdoc_files = Dir["README*", "LICENSE*"] <%- if config[:bin] -%> s.executables << "<%= config[:gem_name] %>" <%- end -%> s.require_paths = ["lib"] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemsmith-2.2.0 | lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt |