summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-03-25 11:19:41 -0600
committerDan Allen <dan.j.allen@gmail.com>2019-03-25 11:19:41 -0600
commit7d29276eb1db617ade8055f119b86db002d6f4b6 (patch)
tree017a601cfcc581e190e7764b062fa0a6cbea2bfd
parentd92da015af270c015b249628dce45497c52bc0b0 (diff)
use consistent terminology for when gem is not available
-rw-r--r--lib/asciidoctor/converter/template.rb2
-rw-r--r--lib/asciidoctor/helpers.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/asciidoctor/converter/template.rb b/lib/asciidoctor/converter/template.rb
index a783f321..bc786ef7 100644
--- a/lib/asciidoctor/converter/template.rb
+++ b/lib/asciidoctor/converter/template.rb
@@ -71,7 +71,7 @@ class Converter::TemplateConverter < Converter::Base
end
case opts[:template_cache]
when true
- logger.warn 'gem \'concurrent-ruby\' is not installed. This gem is recommended when using the built-in template cache.' unless defined? ::Concurrent::Hash
+ logger.warn 'optional gem \'concurrent-ruby\' is not available. This gem is recommended when using the default template cache.' unless defined? ::Concurrent::Hash
@caches = self.class.caches
when ::Hash
@caches = opts[:template_cache]
diff --git a/lib/asciidoctor/helpers.rb b/lib/asciidoctor/helpers.rb
index 4f64293a..2ed14678 100644
--- a/lib/asciidoctor/helpers.rb
+++ b/lib/asciidoctor/helpers.rb
@@ -9,7 +9,7 @@ module Helpers
# passes a message to Kernel#raise if on_failure is :abort or Kernel#warn if
# on_failure is :warn to communicate to the user that processing is being
# aborted or functionality is disabled, respectively. If a gem_name is
- # specified, the message communicates that a required gem is not installed.
+ # specified, the message communicates that a required gem is not available.
#
# name - the String name of the library to require.
# gem_name - a Boolean that indicates whether this library is provided by a RubyGem,