This repository was archived by the owner on Dec 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrestore_bundled_with.gemspec
More file actions
47 lines (42 loc) · 1.52 KB
/
restore_bundled_with.gemspec
File metadata and controls
47 lines (42 loc) · 1.52 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'restore_bundled_with/version'
Gem::Specification.new do |spec|
spec.name = 'restore_bundled_with'
spec.version = RestoreBundledWith::VERSION
spec.authors = ['sanemat']
spec.email = ['o.gata.ken@gmail.com']
spec.summary = \
'Restore BUNDLED WITH section in Gemfile.lock from git repository.'
spec.description = <<-'EOS'.gsub("\n") { ' ' }
We should use latest Bundler,
but sometimes we are afraid we have to use older Bundler.
RestoreBundledWith solves these conflicts.
EOS
spec.homepage = 'https://github.com/packsaddle/ruby-restore_bundled_with'
spec.license = 'MIT'
spec.files = \
`git ls-files -z`
.split("\x0")
.reject { |f| f.match(%r{^(test|spec|features)/}) }
.reject do |f|
[
'.rubocop.yml',
'.rubocop_todo.yml',
'.travis.yml',
'circle.yml',
'.tachikoma.yml',
'package.json'
].include?(f)
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_runtime_dependency 'thor', '>= 0'
spec.add_runtime_dependency 'restore_from_repository'
spec.add_development_dependency 'bundler', '>= 1.3', '< 2.0'
spec.add_development_dependency 'rake', '>= 0'
spec.add_development_dependency 'test-unit', '>= 0'
spec.add_development_dependency 'test-unit-rr', '>= 0'
end