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.
- data/Rakefile +3 -4
- 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.
|
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
|
-
|
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
|
-
|
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