Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 74e0e654a4
Fetching contributors…

Cannot retrieve contributors at this time

file 21 lines (18 sloc) 0.715 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
  GemTemplate::Gems.gemspec.hash.each do |key, value|
    unless %w(dependencies development_dependencies).include?(key)
      s.send "#{key}=", value
    end
  end

  GemTemplate::Gems.gemspec.dependencies.each do |g|
    s.add_dependency g.to_s, GemTemplate::Gems.versions[g]
  end
  
  GemTemplate::Gems.gemspec.development_dependencies.each do |g|
    s.add_development_dependency g.to_s, GemTemplate::Gems.versions[g]
  end

  s.executables = `git ls-files -- {bin}/*`.split("\n").collect { |f| File.basename(f) }
  s.files = `git ls-files`.split("\n")
  s.require_paths = %w(lib)
  s.test_files = `git ls-files -- {features,test,spec}/*`.split("\n")
end
Something went wrong with that request. Please try again.