Module: GeoserverMigrations

Defined in:
lib/geoserver_migrations.rb,
lib/geoserver_migrations/base.rb,
lib/geoserver_migrations/version.rb,
lib/geoserver_migrations/migrator.rb,
lib/geoserver_migrations/migration.rb,
lib/geoserver_migrations/sld_helpers.rb,
lib/geoserver_migrations/layer_config.rb,
lib/geoserver_migrations/api_connector.rb,
lib/geoserver_migrations/test_connector.rb,
lib/geoserver_migrations/migration_proxy.rb,
lib/geoserver_migrations/layergroup_config.rb,
lib/generators/geoserver_migrations/add/add_generator.rb,
lib/generators/geoserver_migrations/redo/redo_generator.rb,
lib/generators/geoserver_migrations/status/status_generator.rb,
lib/generators/geoserver_migrations/install/install_generator.rb,
lib/generators/geoserver_migrations/migrate/migrate_generator.rb,
lib/generators/geoserver_migrations/rollback/rollback_generator.rb

Defined Under Namespace

Modules: Base, ExceptionsMixin, Generators, SldHelpers Classes: APIConnector, ArgumentError, Engine, IllegalMigrationNameError, LayerConfig, LayergroupConfig, Migration, MigrationProxy, Migrator, TestConnector

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.assets_pathObject



40
41
42
# File 'lib/geoserver_migrations.rb', line 40

def self.assets_path
  "#{self.migrations_rootpath}/assets"
end

.configObject



44
45
46
# File 'lib/geoserver_migrations.rb', line 44

def self.config
  ::GEOSERVER_MIGRATIONS_CONFIG
end

.migrations_rootpathObject



36
37
38
# File 'lib/geoserver_migrations.rb', line 36

def self.migrations_rootpath
  (!GeoserverMigrations.config.nil? && GeoserverMigrations.config[:migrations_path]) || 'geoserver/migrate'
end