Sha256: d0f73212764e2e68252848cc997b10f94b79e2470bb534d63594823d1947c583

Contents?: true

Size: 875 Bytes

Versions: 1

Compression:

Stored size: 875 Bytes

Contents

$:.unshift Dir.pwd
require File.expand_path("./lib/<%= @options[:gem_file_name] %>")

Gem::Specification.new do |s|
  s.name        = "<%= @options[:name] %>"
  s.version     = <%= @options[:gem_class_name] %>::VERSION
  s.authors     = ["<%= @options[:author] %>"]
  s.email       = ["<%= @options[:email] %>"]
  s.homepage    = "<%= @options[:homepage] %>"
  s.summary     = "<%= @options[:summary] %>"
  s.description = "<%= @options[:description] %>"

  <% if @options[:executable] %>
  s.executables = ["<%= @options[:gem_file_name] %>"]
  <% end %>
  s.files             = Dir["{lib,test}/**/*", "[A-Z]*", "init.rb"] - ["Gemfile.lock"]
  s.require_path      = 'lib'

  # s.add_dependency "another_gem", "0.1"
  s.add_development_dependency 'minitest', '>2.0'
  
  s.rubyforge_project         = "<%= @options[:gem_file_name] %>"
  s.platform    = Gem::Platform::RUBY
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemstone-0.4.1 template/sample.gemspec