homeschool 0.0.1.8 → 0.0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +14 -6
- data/bin/homeschool +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -4,25 +4,26 @@ require 'rake/gempackagetask'
|
|
4
4
|
task :default => :package
|
5
5
|
|
6
6
|
REV = `svn up && svn info`[/Revision:\s(\d+)/, 1] rescue nil
|
7
|
-
|
7
|
+
PKG_NAME = 'homeschool'
|
8
|
+
PKG_VERSION = ENV['VERSION'] || `ruby -Ilib bin/homeschool -v`.chomp + (REV ? ".#{REV}" : "")
|
9
|
+
PKG_RUBYFORGE_PROJECT = 'homeschool'
|
10
|
+
|
8
11
|
|
9
|
-
#PKG_VERSION = '0.0.1' #{}`ruby -Ilib bin/homeschool -v`.chomp
|
10
12
|
|
11
|
-
summary = "The homeschool gem"
|
12
13
|
dependencies = [
|
13
14
|
# ['rails', '>= 1.2.2'],
|
14
15
|
['metaid', '>= 1.0']
|
15
16
|
]
|
16
17
|
|
17
18
|
spec = Gem::Specification.new do |s|
|
18
|
-
s.name =
|
19
|
+
s.name = PKG_NAME
|
19
20
|
s.version = PKG_VERSION
|
20
21
|
s.platform = Gem::Platform::RUBY
|
21
22
|
s.author = ['Paul Nicholson', 'Austin Taylor']
|
22
23
|
s.email = 'paul@webpowerdesign.net'
|
23
24
|
s.homepage = 'http://homeschool.rubyforge.org/'
|
24
|
-
s.rubyforge_project =
|
25
|
-
s.summary =
|
25
|
+
s.rubyforge_project = PKG_RUBYFORGE_PROJECT
|
26
|
+
s.summary = "The homeschool gem"
|
26
27
|
s.description = <<EOF
|
27
28
|
The Homeschool Way
|
28
29
|
EOF
|
@@ -69,4 +70,11 @@ task :install => :package do
|
|
69
70
|
else
|
70
71
|
sh %(sudo gem install pkg/homeschool-#{PKG_VERSION}.gem)
|
71
72
|
end
|
73
|
+
end
|
74
|
+
|
75
|
+
desc "Publish the release files to RubyForge."
|
76
|
+
task :release => :package do
|
77
|
+
%w( gem tgz zip ).each do |ext|
|
78
|
+
`rubyforge #{ext == 'gem'? 'add_release': 'add_file'} #{PKG_RUBYFORGE_PROJECT} #{PKG_NAME} #{PKG_NAME}-#{PKG_VERSION} pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}`
|
79
|
+
end
|
72
80
|
end
|
data/bin/homeschool
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
2
|
+
puts '0.0.1'
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: homeschool
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.1.
|
7
|
-
date: 2007-09-
|
6
|
+
version: 0.0.1.10
|
7
|
+
date: 2007-09-08 00:00:00 -04:00
|
8
8
|
summary: The homeschool gem
|
9
9
|
require_paths:
|
10
10
|
- lib
|