Class: Prick::MigrationPrerelease
- Inherits:
-
Prerelease
- Object
- Build
- AbstractRelease
- Prerelease
- Prick::MigrationPrerelease
- Defined in:
- lib/prick/build.rb
Instance Attribute Summary
Attributes inherited from Prerelease
Attributes inherited from AbstractRelease
Attributes inherited from Build
#database, #migration, #project, #schema, #version
Instance Method Summary collapse
-
#initialize(project, base_release, version, target_version = version.truncate(:pre)) ⇒ MigrationPrerelease
constructor
A new instance of MigrationPrerelease.
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 |