migration_test_helper 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/Rakefile +3 -4
  2. metadata +1 -1
data/Rakefile CHANGED
@@ -16,7 +16,7 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
16
16
  rdoc.rdoc_files.include('lib/**/*.rb')
17
17
  end
18
18
 
19
- GEM_VERSION = '1.2.0'
19
+ GEM_VERSION = '1.2.1'
20
20
 
21
21
  Hoe.new('migration_test_helper',GEM_VERSION) do |p|
22
22
  p.author = "Micah Alles"
@@ -33,7 +33,6 @@ test database.
33
33
  p.gem_files = FileList["{test,lib,tasks}/**/*"] + %w|LICENSE README Rakefile init.rb install.rb uninstall.rb|
34
34
 
35
35
  p.changes = <<-EOS
36
- * turned off migration output. you can get it back with migrate :verbose => true
37
36
  EOS
38
37
  p.rubyforge_name = 'migrationtest'
39
38
  end
@@ -52,11 +51,11 @@ task :plugin_release do
52
51
  status = `svn status`
53
52
  raise "Please clean up before releasing.\n#{status}" unless status == ""
54
53
 
55
- if `svn ls svn+ssh://alles@rubyforge.org/var/svn/migrationtest/tags/rel-#{GEM_VERSION} -m` =~ /migration_test_helper/
54
+ unless `svn ls svn+ssh://alles@rubyforge.org/var/svn/migrationtest/tags/rel-#{GEM_VERSION} -m`.strip.empty?
56
55
  sh "svn del svn+ssh://alles@rubyforge.org/var/svn/migrationtest/tags/rel-#{GEM_VERSION} -m 'Preparing to update stable release tag'"
57
56
  end
58
57
  sh "svn cp . svn+ssh://alles@rubyforge.org/var/svn/migrationtest/tags/rel-#{GEM_VERSION} -m 'Releasing version #{GEM_VERSION}'"
59
- if `svn ls svn+ssh://alles@rubyforge.org/var/svn/migrationtest/tags/migration_test_helper` =~ /migration_test_helper/
58
+ unless `svn ls svn+ssh://alles@rubyforge.org/var/svn/migrationtest/tags/migration_test_helper`.strip.empty?
60
59
  sh "svn del svn+ssh://alles@rubyforge.org/var/svn/migrationtest/tags/migration_test_helper -m 'Preparing to update stable release tag'"
61
60
  end
62
61
  sh "svn cp . svn+ssh://alles@rubyforge.org/var/svn/migrationtest/tags/migration_test_helper -m 'Updating stable tag to version #{GEM_VERSION}'"
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: migration_test_helper
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.2.0
6
+ version: 1.2.1
7
7
  date: 2007-02-03 00:00:00 -05:00
8
8
  summary: A Rails plugin for testing migrations
9
9
  require_paths: