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 18, 2020
1 parent 8ee406d commit 0327f3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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
5 changes: 2 additions & 3 deletions faraday.gemspec
Expand Up @@ -21,9 +21,8 @@ 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.require_paths = %w[lib spec/external_adapters]
spec.files = Dir['CHANGELOG.md', '{examples,lib}/**/*', 'LICENSE.md', 'README.md']
spec.require_paths = ['lib']
spec.metadata = {
'homepage_uri' => 'https://lostisland.github.io/faraday',
'changelog_uri' =>
Expand Down

0 comments on commit 0327f3d

Please sign in to comment.