-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbundler-private_install.gemspec
27 lines (24 loc) · 1.16 KB
/
bundler-private_install.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
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "bundler/private_install/version"
Gem::Specification.new do |s|
s.name = "bundler-private_install"
s.version = Bundler::PrivateInstall::VERSION
s.authors = ["Philipe Fatio"]
s.email = ["[email protected]"]
s.summary = %q{A Bundler plugin that installs gems in an additional private Gemfile after bundle install.}
s.description = s.summary
s.homepage = "https://github.com/fphilipe/bundler-private_install"
s.license = "MIT"
s.metadata["homepage_uri"] = s.homepage
s.metadata["source_code_uri"] = s.homepage
s.metadata["changelog_uri"] = s.homepage + "/blob/master/CHANGELOG.md"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|s|features)/}) }
end
s.bindir = "exe"
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.require_paths = ["lib"]
end