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 Build

#database, #migration, #project, #schema, #version

Instance Method Summary collapse

Methods inherited from Prerelease

#create, #prepare_migration, #release_dir

Methods inherited from AbstractRelease

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

Methods inherited from Build

#<=>, #active?, #base_release, #build, #built?, #checkback, #checkout, #create, deref_node_file, #destroy, #exist?, #features, #history, #include_feature, #name, #node, #present?, #rebuild, #remove_feature, #snapshot, #to_s

Methods included from Ensure

#ensure_state, #ensure_state_value, #revoke_state

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