Sha256: d2d12300790ba8354efc60f15bac257ffcc09f004cb0a156d3b2095cd4443e50

Contents?: true

Size: 754 Bytes

Versions: 107

Compression:

Stored size: 754 Bytes

Contents

require 'puppet/util/feature'

# We have a version of RDoc compatible with our module documentation tool.
# That is to say, we have the version that comes with Ruby 1.8.7 and earlier,
# and not the version that comes with Ruby 1.9.1 or later.
#
# 1.8 => require 'rdoc/rdoc'; p RDoc::RDoc::VERSION_STRING
#        => "RDoc V1.0.1 - 20041108"
# 1.9 => require 'rdoc'; p RDoc::VERSION
#        => "3.9.4"  # 1.9.2 has 2.5, 1.9.3 has 3.9
#
# Anything above that whole 1.0.1 thing is no good for us, and since that
# ships with anything in the 1.8 series that we care about (eg: .5, ,7) we can
# totally just use that as a proxy for the correct version of rdoc being
# available. --daniel 2012-03-08
Puppet.features.add(:rdoc1) { RUBY_VERSION[0,3] == "1.8" }

Version data entries

107 entries across 107 versions & 3 rubygems

Version Path
puppet-retrospec-0.12.2 vendor/gems/puppet-3.7.3/lib/puppet/feature/rdoc1.rb
puppet-3.8.7 lib/puppet/feature/rdoc1.rb
puppet-3.8.7-x86-mingw32 lib/puppet/feature/rdoc1.rb
puppet-3.8.7-x64-mingw32 lib/puppet/feature/rdoc1.rb
puppet-3.8.6 lib/puppet/feature/rdoc1.rb
puppet-3.8.6-x86-mingw32 lib/puppet/feature/rdoc1.rb
puppet-retrospec-0.12.1 vendor/gems/puppet-3.7.3/lib/puppet/feature/rdoc1.rb
puppet-3.8.6-x64-mingw32 lib/puppet/feature/rdoc1.rb
puppet-retrospec-0.12.0 vendor/gems/puppet-3.7.3/lib/puppet/feature/rdoc1.rb
puppet-3.8.5 lib/puppet/feature/rdoc1.rb
puppet-3.8.5-x86-mingw32 lib/puppet/feature/rdoc1.rb
puppet-3.8.5-x64-mingw32 lib/puppet/feature/rdoc1.rb
puppet-3.8.4 lib/puppet/feature/rdoc1.rb
puppet-3.8.4-x86-mingw32 lib/puppet/feature/rdoc1.rb
puppet-3.8.4-x64-mingw32 lib/puppet/feature/rdoc1.rb
puppet-retrospec-0.11.0 vendor/gems/puppet-3.7.3/lib/puppet/feature/rdoc1.rb
puppet-retrospec-0.10.0 vendor/gems/puppet-3.7.3/lib/puppet/feature/rdoc1.rb
puppet-retrospec-0.9.1 vendor/gems/puppet-3.7.3/lib/puppet/feature/rdoc1.rb
puppet-retrospec-0.9.0 vendor/gems/puppet-3.7.3/lib/puppet/feature/rdoc1.rb
puppet-retrospec-0.8.1 vendor/gems/puppet-3.7.3/lib/puppet/feature/rdoc1.rb