rtask 003 → 004
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +7 -3
- data/bin/rtask.rb +28 -0
- metadata +5 -4
data/History.txt
CHANGED
@@ -1,12 +1,16 @@
|
|
1
|
-
==
|
1
|
+
== 004: 2008-04-11
|
2
|
+
* Keita Yamaguchi
|
3
|
+
* Fixed Manifest.txt
|
4
|
+
|
5
|
+
== 003: 2008-04-10
|
2
6
|
* Keita Yamaguchi
|
3
7
|
* Added bin/rtask
|
4
8
|
|
5
|
-
==
|
9
|
+
== 002: 2008-04-10
|
6
10
|
* Keita Yamaguchi
|
7
11
|
* Fixed some bugs
|
8
12
|
|
9
|
-
==
|
13
|
+
== 001: 2008-04-10
|
10
14
|
|
11
15
|
* Keita Yamaguchi
|
12
16
|
* Initial release
|
data/bin/rtask.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
require "rubygems"
|
4
|
+
require "rtask"
|
5
|
+
require "optparse"
|
6
|
+
|
7
|
+
$task = RTask.new
|
8
|
+
|
9
|
+
OptionParser.new(nil, 18) do |opt|
|
10
|
+
opt.on("-r", "--release", "Release the packages") do
|
11
|
+
puts "Release"
|
12
|
+
$task.real_release
|
13
|
+
exit
|
14
|
+
end
|
15
|
+
|
16
|
+
opt.on("-p", "--package", "Create gem and tgz packages") do
|
17
|
+
puts "Create gem and tgz packages"
|
18
|
+
$task.real_gem
|
19
|
+
$task.real_tgz
|
20
|
+
end
|
21
|
+
|
22
|
+
opt.on("-h", "--help", "Show this message") do
|
23
|
+
puts opt.help
|
24
|
+
exit
|
25
|
+
end
|
26
|
+
|
27
|
+
opt.parse!(ARGV)
|
28
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtask
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "
|
4
|
+
version: "004"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keita Yamaguchi
|
@@ -32,8 +32,8 @@ dependencies:
|
|
32
32
|
version:
|
33
33
|
description:
|
34
34
|
email: keita.yamaguchi@gmail.com
|
35
|
-
executables:
|
36
|
-
|
35
|
+
executables:
|
36
|
+
- rtask.rb
|
37
37
|
extensions: []
|
38
38
|
|
39
39
|
extra_rdoc_files: []
|
@@ -43,6 +43,7 @@ files:
|
|
43
43
|
- README.txt
|
44
44
|
- License.txt
|
45
45
|
- Rakefile
|
46
|
+
- bin/rtask.rb
|
46
47
|
- lib/rtask.rb
|
47
48
|
- setup.rb
|
48
49
|
has_rdoc: true
|
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
68
|
requirements: []
|
68
69
|
|
69
70
|
rubyforge_project: rtask
|
70
|
-
rubygems_version: 1.1.
|
71
|
+
rubygems_version: 1.1.1
|
71
72
|
signing_key:
|
72
73
|
specification_version: 2
|
73
74
|
summary: RTask provides useful Rake tasks for releasing gem packages.
|