Skip to content

Commit

Permalink
Drop git ls-files in gemspec
Browse files Browse the repository at this point in the history
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
  • Loading branch information
utkarsh2102 committed Sep 22, 2020
1 parent 8ee406d commit 235aa5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
@@ -1,6 +1,7 @@
inherit_from: .rubocop_todo.yml

require:
- rubocop-packaging
- rubocop-performance

AllCops:
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -13,6 +13,7 @@ end

group :lint, :development do
gem 'rubocop', '~> 0.90.0'
gem 'rubocop-packaging', '~> 0.4'
gem 'rubocop-performance', '~> 1.0'
end

Expand Down
3 changes: 1 addition & 2 deletions faraday.gemspec
Expand Up @@ -21,8 +21,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'multipart-post', '>= 1.2', '< 3'
spec.add_dependency 'ruby2_keywords'

files = %w[CHANGELOG.md LICENSE.md README.md Rakefile examples lib spec]
spec.files = `git ls-files -z #{files.join(' ')}`.split("\0")
spec.files = Dir['CHANGELOG.md', '{examples,lib,spec}/**/*', 'LICENSE.md', 'Rakefile', 'README.md']
spec.require_paths = %w[lib spec/external_adapters]
spec.metadata = {
'homepage_uri' => 'https://lostisland.github.io/faraday',
Expand Down

0 comments on commit 235aa5e

Please sign in to comment.