Skip to content
Browse files

Fix gemspec to not include tmp or log files, closes #1632.

  • Loading branch information...
1 parent dc37b82 commit 86c8e5455a3777ee18d583f21080326210c10eb9 @josevalim josevalim committed
Showing with 4 additions and 4 deletions.
  1. +2 −2 .gitignore
  2. +2 −2 devise.gemspec
View
4 .gitignore
@@ -1,5 +1,5 @@
-**/*/log/*
-**/*/tmp/*
+test/rails_app/log/*
+test/rails_app/tmp/*
*~
coverage/*
*.sqlite3
View
4 devise.gemspec
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
s.rubyforge_project = "devise"
- s.files = Dir["CHANGELOG.rdoc", "MIT-LICENSE", "README.rdoc", "app/**/*", "config/**/*", "lib/**/*"]
- s.test_files = Dir["test/**/*"]
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- test/*`.split("\n")
s.require_paths = ["lib"]
s.add_dependency("warden", "~> 1.1")

1 comment on commit 86c8e54

@georgeguimaraes
Plataformatec member

and the git ls-files returns again! =)

Please sign in to comment.
Something went wrong with that request. Please try again.