Commit 86fc38a21f3b9c1e0c3bdac7124b5b57d93afda6

Authored by Thiago Ribeiro
1 parent 3d5a4517
Exists in master

Apply correct gem.files with Dir

- Removing gem.files with git
- Removing unecessary gem.test_files
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
omniauth-remote-user.gemspec
... ... @@ -10,8 +10,8 @@ Gem::Specification.new do |gem|
10 10 gem.homepage = 'http://beta.softwarepublico.gov.br/gitlab/softwarepublico/omniauth-remote-user'
11 11 gem.authors = ['Lucas Kanashiro', 'Thiago Ribeiro', 'Rodrigo Siqueira','Macartur Sousa', 'Antonio Terceiro']
12 12 gem.require_paths = %w(lib)
13   - gem.files = `git ls-files -z`.split("\x0")
14   - gem.test_files = `git ls-files -- {test,spec,feature}/*`.split("\n")
  13 + gem.files = %w{Rakefile LICENSE.md README.md config.ru Gemfile} + Dir.glob("*.gemspec") +
  14 + Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
15 15 gem.license = "Expat"
16 16 gem.required_rubygems_version = '>= 1.3.5'
17 17 end
... ...