Class: Prick::MigrationPrerelease

Inherits:
Prerelease show all
Defined in:
lib/prick/build.rb

Instance Attribute Summary

Attributes inherited from Prerelease

#target_release

Attributes inherited from AbstractRelease

#archive, #node

Attributes inherited from Branch

#base_version, #directory, #migration, #name, #schema, #version

Instance Method Summary collapse

Methods inherited from Prerelease

#create, #prepare_migration, #release_dir

Methods inherited from AbstractRelease

#<=>, #cache, #cached?, #checkout_release, #create, #dump, #load, #loaded?, #prepare, #release_dir, #tag, #tag!, #uncache, #unload

Methods inherited from Branch

#<=>, #build, #checkout_release, #create, #database, directory, #dump, #exist?, exist?, #feature?, #include, load, #migrate, #migrate_features, #migration?, #prepare, #prepared?, #prerelease?, #present?, present?, #release?

Constructor Details

#initialize(project, base_release, version, target_version = version.truncate(:pre)) ⇒ MigrationPrerelease

Returns a new instance of MigrationPrerelease.



299
300
301
# File 'lib/prick/build.rb', line 299

def initialize(project, base_release, version, target_version = version.truncate(:pre))
  release_dir = "/migrations/..."
end