Skip to content

Commit

Permalink
resolves #3044 don't distribute test suite in gem [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Feb 6, 2019
1 parent 190faaa commit 8e71915
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Expand Up @@ -83,6 +83,7 @@ Build / Infrastructure::
* remove compat folder (removes the AsciiDoc Python config file that provides pseudo-compliance with Asciidoctor and a stylesheet for an old Font Awesome migration)
* add Ruby 2.6.0 to build matrix
* stop running CI job on unsupported versions of Ruby
* exclude test suite, build script, and Gemfile from gem (#3044)

// tag::compact[]
== 1.5.8 (2018-10-28) - @mojavelinux
Expand Down
8 changes: 3 additions & 5 deletions asciidoctor.gemspec
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.email = ['dan.j.allen@gmail.com']
s.homepage = 'https://asciidoctor.org'
s.license = 'MIT'
# NOTE the required ruby version is informational only; we don't enforce it because it can't be overridden and can cause builds to break
# NOTE required ruby version is informational only; it's not enforced since it can't be overridden and can cause builds to break
#s.required_ruby_version = '>= 2.3.0'
s.metadata = {
'bug_tracker_uri' => 'https://github.com/asciidoctor/asciidoctor/issues',
Expand All @@ -28,12 +28,10 @@ Gem::Specification.new do |s|
rescue
Dir['**/*']
end
s.files = files.grep %r/^(?:(?:data|lib|man)\/.+|Gemfile|Rakefile|LICENSE|(?:CHANGELOG|CONTRIBUTING|README(?:-\w+)?)\.adoc|#{s.name}\.gemspec)$/
s.files = files.grep %r/^(?:(?:data|lib|man)\/.+|LICENSE|(?:CHANGELOG|README(?:-\w+)?)\.adoc|#{s.name}\.gemspec)$/
s.executables = (files.grep %r/^bin\//).map {|f| File.basename f }
s.require_paths = ['lib']
s.test_files = files.grep %r/^(?:(?:features|test)\/.+)$/
s.rdoc_options = ['--charset=UTF-8']
s.extra_rdoc_files = ['CHANGELOG.adoc', 'CONTRIBUTING.adoc', 'LICENSE']
#s.test_files = files.grep %r/^(?:(?:features|test)\/.+)$/

# asciimath is needed for testing AsciiMath in DocBook backend
s.add_development_dependency 'asciimath', '~> 1.0.0'
Expand Down

0 comments on commit 8e71915

Please sign in to comment.