Skip to content
This repository
Newer
Older
100644 27 lines (22 sloc) 0.882 kb
31e9a071 »
2010-02-05 add gemspec file so I can install this git repo as a gem using Bundler
1 # -*- encoding: utf-8 -*-
a94936fb »
2010-12-29 No longer need Gems.config.testing option, making gemspec so it can b…
2 lib = File.expand_path('../lib/', __FILE__)
3 $:.unshift lib unless $:.include?(lib)
4
6bdf0540 »
2010-12-29 Fixing gem_template merge
5 require 'acts_as_archive/gems'
6 ActsAsArchive::Gems.gemset ||= :default
a94936fb »
2010-12-29 No longer need Gems.config.testing option, making gemspec so it can b…
7
e9cd7b6b »
2010-12-05 Merge branch 'rails' of github.com:winton/gem_template
8 Gem::Specification.new do |s|
2f258924 »
2010-12-29 Merge branch 'rails' of github.com:winton/gem_template
9 ActsAsArchive::Gems.gemspec.hash.each do |key, value|
eca33a46 »
2010-12-28 New system for specifying gem versions, gemspec info, activating gems
10 unless %w(dependencies development_dependencies).include?(key)
11 s.send "#{key}=", value
12 end
13 end
31e9a071 »
2010-02-05 add gemspec file so I can install this git repo as a gem using Bundler
14
2f258924 »
2010-12-29 Merge branch 'rails' of github.com:winton/gem_template
15 ActsAsArchive::Gems.gemspec.dependencies.each do |g|
16 s.add_dependency g.to_s, ActsAsArchive::Gems.versions[g]
31e9a071 »
2010-02-05 add gemspec file so I can install this git repo as a gem using Bundler
17 end
e9cd7b6b »
2010-12-05 Merge branch 'rails' of github.com:winton/gem_template
18
2f258924 »
2010-12-29 Merge branch 'rails' of github.com:winton/gem_template
19 ActsAsArchive::Gems.gemspec.development_dependencies.each do |g|
20 s.add_development_dependency g.to_s, ActsAsArchive::Gems.versions[g]
e9cd7b6b »
2010-12-05 Merge branch 'rails' of github.com:winton/gem_template
21 end
22
eca33a46 »
2010-12-28 New system for specifying gem versions, gemspec info, activating gems
23 s.executables = `git ls-files -- {bin}/*`.split("\n").collect { |f| File.basename(f) }
24 s.files = `git ls-files`.split("\n")
25 s.require_paths = %w(lib)
26 s.test_files = `git ls-files -- {features,test,spec}/*`.split("\n")
e9cd7b6b »
2010-12-05 Merge branch 'rails' of github.com:winton/gem_template
27 end
Something went wrong with that request. Please try again.