-
Notifications
You must be signed in to change notification settings - Fork 2
/
vendorise.gemspec
29 lines (25 loc) · 1.07 KB
/
vendorise.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'vendorise/version'
Gem::Specification.new do |spec|
spec.name = "vendorise"
spec.version = Vendorise::VERSION
spec.authors = ["Iain Beeston"]
spec.email = ["[email protected]"]
spec.description = %q{A reusable rake task to vendorise a gem hosted in a private git repo}
spec.summary = %q{Uses git subtree to download the source for a gem into /vendor/gems}
spec.homepage = "http://github.com/iainbeeston/vendorise"
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(spec)/})
spec.require_paths = ["lib"]
if RUBY_ENGINE == "rbx"
spec.add_dependency "rubysl-rake"
spec.add_development_dependency "rubysl-bundler"
end
spec.add_dependency "rake"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rspec"
end