promotion 1.4.3 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/CHANGELOG +3 -0
  2. data/lib/promotion/evolver.rb +2 -4
  3. metadata +4 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == Version 1.4.4
2
+ - Allow for database asking for a password
3
+
1
4
  == Version 1.4.3
2
5
  - Added Subversion element to allow for auto-deployment of working copies.
3
6
 
@@ -54,7 +54,7 @@ class Evolver
54
54
  versionFile = File.new(versionFilename, 'w')
55
55
  versionFile.puts(completed)
56
56
  versionFile.close()
57
- puts(" to version #{completed} ")
57
+ puts("Evolved the database to version #{completed} ")
58
58
  end
59
59
 
60
60
  # Starts the database evolution:
@@ -69,9 +69,7 @@ class Evolver
69
69
  migrations.reject! { |v| v <= @currentVersion }
70
70
  migrations.reject! { |v| v > @target } unless @target == 0
71
71
  @target = migrations.last.to_i
72
- if @target > @currentVersion
73
- print("Evolving the database")
74
- else
72
+ if @target <= @currentVersion
75
73
  puts("Already at version #{@currentVersion}.")
76
74
  exit 0
77
75
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promotion
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 3
10
- version: 1.4.3
9
+ - 4
10
+ version: 1.4.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Kernahan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-01-08 00:00:00 Z
18
+ date: 2013-04-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: log4r