|
| 1 | +# frozen_string_literal: true |
| 2 | + |
1 | 3 | # Copyright 2015 Square Inc. |
2 | 4 |
|
3 | 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
|
14 | 16 |
|
15 | 17 | require 'date' |
16 | 18 |
|
17 | | -$:.push File.expand_path("../lib", __FILE__) |
| 19 | +$LOAD_PATH.push File.expand_path('lib', __dir__) |
18 | 20 | require 'git-fastclone/version' |
19 | 21 |
|
20 | 22 | Gem::Specification.new do |gem| |
21 | 23 | gem.name = 'git-fastclone' |
22 | 24 | gem.version = GitFastCloneVersion::VERSION |
23 | 25 | gem.date = Date.today.to_s |
24 | | - gem.summary = %q(git-clone --recursive on steroids!) |
25 | | - gem.description = %q(A git command that uses reference repositories and threading to quickly and recursively clone repositories with many nested submodules) |
| 26 | + gem.summary = 'git-clone --recursive on steroids!' |
| 27 | + gem.description = 'A git command that uses reference repositories and threading to quickly' \ |
| 28 | + 'and recursively clone repositories with many nested submodules' |
26 | 29 | gem.authors = ['Michael Tauraso', 'James Chang'] |
27 | 30 | |
28 | | - gem.files = Dir['Rakefile', '{bin,lib,man,test,spec}/**/*', 'README*', 'LICENSE*'] & `git ls-files -z`.split("\0") |
29 | | - gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } |
| 31 | + gem.files = Dir['Rakefile', '{bin,lib,man,test,spec}/**/*', 'README*', 'LICENSE*'] & |
| 32 | + `git ls-files -z`.split("\0") |
| 33 | + gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) } |
30 | 34 | gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) |
31 | 35 | gem.require_paths = ['lib'] |
32 | 36 | gem.homepage = 'http://square.github.io/git-fastclone/' |
33 | 37 | gem.license = 'Apache' |
34 | 38 |
|
35 | | - gem.add_runtime_dependency 'cocaine' |
36 | 39 | gem.add_runtime_dependency 'colorize' |
| 40 | + gem.add_runtime_dependency 'terrapin', '~> 0.6.0' |
37 | 41 | end |
0 commit comments