Sha256: 4f57867dda14be3b5863a64d5c1fa5efe7822c26763242bb12a9041e62b28ba9

Contents?: true

Size: 1.46 KB

Versions: 137

Compression:

Stored size: 1.46 KB

Contents

# This class defines the private API of the MigrationChecker support.
# @api private
#
class Puppet::Pops::Migration::MigrationChecker

  def initialize()
  end

  def self.singleton
    @null_checker ||= self.new
  end

  # Produces a hash of available migrations; a map from a symbolic name in string form to a brief description.
  # This version has no such supported migrations.
  def available_migrations()
    { }
  end

  # For 3.8/4.0
  def report_ambiguous_integer(o)
    raise Puppet::DevError, "Unsupported migration method called"
  end

  # For 3.8/4.0
  def report_ambiguous_float(o)
    raise Puppet::DevError, "Unsupported migration method called"
  end

  # For 3.8/4.0
  def report_empty_string_true(value, o)
    raise Puppet::DevError, "Unsupported migration method called"
  end

  # For 3.8/4.0
  def report_uc_bareword_type(value, o)
    raise Puppet::DevError, "Unsupported migration method called"
  end

  # For 3.8/4.0
  def report_equality_type_mismatch(left, right, o)
    raise Puppet::DevError, "Unsupported migration method called"
  end

  # For 3.8/4.0
  def report_option_type_mismatch(test_value, option_value, option_expr, matching_expr)
    raise Puppet::DevError, "Unsupported migration method called"
  end

  # For 3.8/4.0
  def report_in_expression(o)
    raise Puppet::DevError, "Unsupported migration method called"
  end

  # For 3.8/4.0
  def report_array_last_in_block(o)
    raise Puppet::DevError, "Unsupported migration method called"
  end
end

Version data entries

137 entries across 137 versions & 3 rubygems

Version Path
puppet-retrospec-1.8.0 vendor/pup410/lib/puppet/pops/migration/migration_checker.rb
puppet-retrospec-1.7.0 vendor/pup410/lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.12 lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.12-x86-mingw32 lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.12-x64-mingw32 lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.12-universal-darwin lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.11 lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.11-x86-mingw32 lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.11-x64-mingw32 lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.11-universal-darwin lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.10 lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.10-x86-mingw32 lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.10-x64-mingw32 lib/puppet/pops/migration/migration_checker.rb
puppet-4.10.10-universal-darwin lib/puppet/pops/migration/migration_checker.rb
bolt-0.15.0 vendored/puppet/lib/puppet/pops/migration/migration_checker.rb
bolt-0.14.0 vendored/puppet/lib/puppet/pops/migration/migration_checker.rb
bolt-0.13.0 vendored/puppet/lib/puppet/pops/migration/migration_checker.rb
puppet-retrospec-1.6.1 vendor/pup410/lib/puppet/pops/migration/migration_checker.rb
bolt-0.12.0 vendored/puppet/lib/puppet/pops/migration/migration_checker.rb
bolt-0.11.0 vendored/puppet/lib/puppet/pops/migration/migration_checker.rb