summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVít Ondruch <v.ondruch@tiscali.cz>2016-11-29 07:39:49 +0100
committerDan Allen <dan.j.allen@gmail.com>2016-11-28 23:39:49 -0700
commitfd602b75cabf9023aaab5306a7a4eb5ffcc54bf5 (patch)
treebdd919b97c9a1e86950980cc0b6a80caf4bfdcba
parent23555f585d6034cf2e491b83ead4ebab09fd2728 (diff)
include entire test suite in gem (PR #1952)
-rw-r--r--asciidoctor.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/asciidoctor.gemspec b/asciidoctor.gemspec
index 942d3926..7a2c4362 100644
--- a/asciidoctor.gemspec
+++ b/asciidoctor.gemspec
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
end
s.files = files.grep(/^(?:(?:data|lib|man)\/.+|Gemfile|Rakefile|(?:CHANGELOG|CONTRIBUTING|LICENSE|README(?:-\w+)?)\.adoc|#{s.name}\.gemspec)$/)
s.executables = files.grep(/^bin\//).map {|f| File.basename f }
- s.test_files = files.grep(/^(?:test\/.*_test\.rb|features\/.*\.(?:feature|rb))$/)
s.require_paths = ['lib']
+ s.test_files = files.grep(/^(?:(?:features|test)\/.+)$/)
s.has_rdoc = true
s.rdoc_options = ['--charset=UTF-8']
s.extra_rdoc_files = ['CHANGELOG.adoc', 'CONTRIBUTING.adoc', 'LICENSE.adoc']