Sha256: c37d100d20f6fff184d44937a7a8a68be11c91c7423c93c490f9c4e77a008db1

Contents?: true

Size: 881 Bytes

Versions: 1

Compression:

Stored size: 881 Bytes

Contents

# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
 
require 'active_wrapper/gems'
ActiveWrapper::Gems.gemset ||= :default

Gem::Specification.new do |s|
  ActiveWrapper::Gems.gemspec.hash.each do |key, value|
    unless %w(dependencies development_dependencies).include?(key)
      s.send "#{key}=", value
    end
  end

  ActiveWrapper::Gems.gemspec.dependencies.each do |g|
    s.add_dependency g.to_s, ActiveWrapper::Gems.versions[g]
  end
  
  ActiveWrapper::Gems.gemspec.development_dependencies.each do |g|
    s.add_development_dependency g.to_s, ActiveWrapper::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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_wrapper-0.4.0 active_wrapper.gemspec