Class: Prick::MigrationPrerelease
- Inherits:
-
Prerelease
- Object
- Branch
- AbstractRelease
- Prerelease
- Prick::MigrationPrerelease
- Defined in:
- lib/prick/build.rb
Instance Attribute Summary
Attributes inherited from Prerelease
Attributes inherited from AbstractRelease
Attributes inherited from Branch
#base_version, #directory, #migration, #name, #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?, #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 |