Sha256: 9fa2a59a27eaf928f0af6b6b2e6b9783efabc7fd0803688802c290a0e2704418

Contents?: true

Size: 718 Bytes

Versions: 4

Compression:

Stored size: 718 Bytes

Contents

class Posgra::DSL
  def self.convert_roles(exported, options = {})
    Posgra::DSL::Converter.convert_roles(exported, options)
  end

  def self.convert_grants(exported, options = {})
    Posgra::DSL::Converter.convert_grants(exported, options)
  end

  def self.convert_databases(exported, options = {})
    Posgra::DSL::Converter.convert_databases(exported, options)
  end

  def self.parse_roles(dsl, path, options = {})
    Posgra::DSL::Roles.eval(dsl, path, options).result
  end

  def self.parse_grants(dsl, path, options = {})
    Posgra::DSL::Grants.eval(dsl, path, options).result
  end

  def self.parse_databases(dsl, path, options = {})
    Posgra::DSL::Database.eval(dsl, path, options).result
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
posgra-0.2.3.beta lib/posgra/dsl.rb
posgra-0.2.2 lib/posgra/dsl.rb
posgra-0.2.1 lib/posgra/dsl.rb
posgra-0.2.0 lib/posgra/dsl.rb