migr8 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/README.md +7 -1
  2. data/Rakefile +2 -2
  3. data/bin/migr8.rb +2 -2
  4. data/lib/migr8.rb +14 -6
  5. data/migr8.gemspec +3 -3
  6. metadata +2 -2
data/README.md CHANGED
@@ -287,6 +287,12 @@ TODO
287
287
  Changes
288
288
  -------
289
289
 
290
+ ### Release 0.4.3 (2014-02-28) ###
291
+
292
+ * [bugfix] fix reporting error when there is a migration which is
293
+ applied but migration file doesn't exist.
294
+
295
+
290
296
  ### Release 0.4.2 (2014-02-05) ###
291
297
 
292
298
  * [bugfix] re-packaging gem file
@@ -363,4 +369,4 @@ $License: MIT License $
363
369
  Copyright
364
370
  ---------
365
371
 
366
- $Copyright: copyright(c) 2013 kuwata-lab.com all rights reserved $
372
+ $Copyright: copyright(c) 2013-2014 kuwata-lab.com all rights reserved $
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  project = "migr8"
4
- release = ENV['RELEASE'] || "0.4.2"
5
- copyright = "copyright(c) 2013 kuwata-lab.com all rights reserved"
4
+ release = ENV['RELEASE'] || "0.4.3"
5
+ copyright = "copyright(c) 2013-2014 kuwata-lab.com all rights reserved"
6
6
  license = "MIT License"
7
7
 
8
8
  require 'fileutils'
data/bin/migr8.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  # -*- coding: utf-8 -*-
3
3
 
4
4
  ###
5
- ### $Release: 0.4.2 $
6
- ### $Copyright: copyright(c) 2013 kuwata-lab.com all rights reserved $
5
+ ### $Release: 0.4.3 $
6
+ ### $Copyright: copyright(c) 2013-2014 kuwata-lab.com all rights reserved $
7
7
  ### $License: MIT License $
8
8
  ###
9
9
 
data/lib/migr8.rb CHANGED
@@ -4,8 +4,8 @@
4
4
  ###
5
5
  ### migr8.py -- DB schema version management tool
6
6
  ###
7
- ### $Release: 0.4.2 $
8
- ### $Copyright: copyright(c) 2013 kuwata-lab.com all rights reserved $
7
+ ### $Release: 0.4.3 $
8
+ ### $Copyright: copyright(c) 2013-2014 kuwata-lab.com all rights reserved $
9
9
  ### $License: MIT License $
10
10
  ###
11
11
 
@@ -16,7 +16,7 @@ require 'etc'
16
16
 
17
17
  module Migr8
18
18
 
19
- RELEASE = "$Release: 0.4.2 $".split()[1]
19
+ RELEASE = "$Release: 0.4.3 $".split()[1]
20
20
 
21
21
  DEBUG = false
22
22
 
@@ -360,8 +360,10 @@ Please run `#{File.basename($0)} unapply #{version}` at first if you want to del
360
360
  s << _to_line(mig)
361
361
  end
362
362
  if ! mig_dict.empty?
363
- puts "## Applied to DB but not exist in history file:"
364
- mig_dict.each {|mig| s << _to_line(mig) }
363
+ s << "##\n"
364
+ s << "## Applied to DB but not exist in history file:\n"
365
+ s << "##\n"
366
+ mig_dict.each {|ver, mig| s << _to_line(mig) }
365
367
  end
366
368
  return s
367
369
  end
@@ -2566,6 +2568,12 @@ TODO
2566
2568
  Changes
2567
2569
  -------
2568
2570
 
2571
+ ### Release 0.4.3 (2014-02-28) ###
2572
+
2573
+ * [bugfix] fix reporting error when there is a migration which is
2574
+ applied but migration file doesn't exist.
2575
+
2576
+
2569
2577
  ### Release 0.4.2 (2014-02-05) ###
2570
2578
 
2571
2579
  * [bugfix] re-packaging gem file
@@ -2642,7 +2650,7 @@ $License: MIT License $
2642
2650
  Copyright
2643
2651
  ---------
2644
2652
 
2645
- $Copyright: copyright(c) 2013 kuwata-lab.com all rights reserved $
2653
+ $Copyright: copyright(c) 2013-2014 kuwata-lab.com all rights reserved $
2646
2654
  README_DOCUMENT
2647
2655
 
2648
2656
 
data/migr8.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/ruby
2
2
 
3
3
  ###
4
- ### $Release: 0.4.2 $
4
+ ### $Release: 0.4.3 $
5
5
  ### $License: MIT License $
6
- ### $Copyright: copyright(c) 2013 kuwata-lab.com all rights reserved $
6
+ ### $Copyright: copyright(c) 2013-2014 kuwata-lab.com all rights reserved $
7
7
  ###
8
8
 
9
9
  require 'rubygems'
@@ -14,7 +14,7 @@ spec = Gem::Specification.new do |s|
14
14
  s.author = "makoto kuwata"
15
15
  s.email = "kwa(at)kuwata-lab.com"
16
16
  s.rubyforge_project = 'migr8'
17
- s.version = "$Release: 0.4.2 $".split()[1]
17
+ s.version = "$Release: 0.4.3 $".split()[1]
18
18
  s.platform = Gem::Platform::RUBY
19
19
  s.homepage = "https://github.com/kwatch/migr8/tree/ruby-release"
20
20
  s.summary = "database schema version management tool"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: migr8
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-05 00:00:00.000000000 Z
12
+ date: 2014-02-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! 'Migr8.rb is a database schema version management tool.
15
15