Created
January 7, 2015 15:23
-
-
Save kennethkalmer/1c4e67258f844c288c5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/audited-activerecord.gemspec b/audited-activerecord.gemspec | |
index 089c94a..2a1e86e 100644 | |
--- a/audited-activerecord.gemspec | |
+++ b/audited-activerecord.gemspec | |
@@ -20,6 +20,7 @@ Gem::Specification.new do |gem| | |
gem.files = `git ls-files lib`.split($\).grep(/(active_?record|generators)/) | |
gem.files << 'LICENSE' | |
+ gem.test_files = `git ls-files -- {test,spec}/*`.split($\).reject { |f| f =~ /mongo_mapper/ } | |
gem.require_paths = ['lib'] | |
end | |
diff --git a/audited-mongo_mapper.gemspec b/audited-mongo_mapper.gemspec | |
index 6405ba8..7ca4936 100644 | |
--- a/audited-mongo_mapper.gemspec | |
+++ b/audited-mongo_mapper.gemspec | |
@@ -20,6 +20,7 @@ Gem::Specification.new do |gem| | |
gem.files = `git ls-files lib`.split($\).grep(/mongo_mapper/) | |
gem.files << 'LICENSE' | |
+ gem.test_files = `git ls-files -- {spec}/*`.split($\).reject { |f| f =~ /(active_?record|generator)/ } | |
gem.require_paths = ['lib'] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment