homeschool 0.0.1.12 → 0.0.1.13

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 +10 -1
  2. metadata +3 -3
data/Rakefile CHANGED
@@ -72,10 +72,19 @@ task :install => :package do
72
72
  end
73
73
  end
74
74
 
75
+ desc "Update the homeschool gem package"
76
+ task :update => :package do
77
+ if RUBY_PLATFORM =~ /mswin32/
78
+ sh %(gem.bat update pkg\\homeschool-#{PKG_VERSION}.gem)
79
+ else
80
+ sh %(sudo gem update pkg/homeschool-#{PKG_VERSION}.gem)
81
+ end
82
+ end
83
+
75
84
  desc "Publish the release files to RubyForge."
76
85
  task :release => :package do
77
86
  rubyforge do
78
- throw RubyForgeNotConfigured if userconfig[:username] == 'username'
87
+ raise "rubyforge not configured" if userconfig[:username] == 'username'
79
88
  puts %{Preparing to release #{PKG_NAME}-#{PKG_VERSION}}
80
89
  [:gem, :tgz, :zip].each_with_index do |ext, index|
81
90
  send(index<1? :add_release : :add_file, PKG_RUBYFORGE_PROJECT, PKG_NAME, [PKG_NAME, PKG_VERSION]*'-', "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}")
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
2
+ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: homeschool
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1.12
7
- date: 2007-09-08 00:00:00 -04:00
6
+ version: 0.0.1.13
7
+ date: 2007-09-10 00:00:00 -04:00
8
8
  summary: The homeschool gem
9
9
  require_paths:
10
10
  - lib