ritual 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +8 -0
- data/lib/ritual.rb +8 -1
- data/lib/ritual/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/lib/ritual.rb
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
|
3
|
+
desc "Build and install the gem."
|
4
|
+
task :install => %w'ritual:build ritual:install_gem'
|
5
|
+
|
3
6
|
desc "Select a major version bump."
|
4
7
|
task :major do
|
5
8
|
Ritual.component = 0
|
@@ -15,7 +18,7 @@ task :patch do
|
|
15
18
|
Ritual.component = 2
|
16
19
|
end
|
17
20
|
|
18
|
-
desc "Bump the
|
21
|
+
desc "Bump the selected version component and do the release ritual."
|
19
22
|
task :release => %w'ritual:check_release_args ritual:bump ritual:tag ritual:push ritual:build ritual:push_gem'
|
20
23
|
|
21
24
|
# Private helper tasks.
|
@@ -48,6 +51,10 @@ namespace :ritual do
|
|
48
51
|
task :push_gem do
|
49
52
|
sh "gem push #{library_name}-#{version}.gem"
|
50
53
|
end
|
54
|
+
|
55
|
+
task :install_gem do
|
56
|
+
sh "gem install #{library_name}-#{version}.gem"
|
57
|
+
end
|
51
58
|
end
|
52
59
|
|
53
60
|
module Ritual
|
data/lib/ritual/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- George Ogata
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-22 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|