Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 2a2c93293f
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (22 sloc) 0.877 kB
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'gem_template/gems'
GemTemplate::Gems.gemset ||= :default
Gem::Specification.new do |s|
ActsAsArchive::Gems.gemspec.hash.each do |key, value|
unless %w(dependencies development_dependencies).include?(key)
s.send "#{key}=", value
end
end
ActsAsArchive::Gems.gemspec.dependencies.each do |g|
s.add_dependency g.to_s, ActsAsArchive::Gems.versions[g]
end
ActsAsArchive::Gems.gemspec.development_dependencies.each do |g|
s.add_development_dependency g.to_s, ActsAsArchive::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
Jump to Line
Something went wrong with that request. Please try again.