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 CHANGED
@@ -1,3 +1,11 @@
1
+ == 0.0.3 2010-04-22
2
+
3
+ * Add install task.
4
+
5
+ == 0.0.2 2010-04-12
6
+
7
+ * Fix push_gem task.
8
+
1
9
  == 0.0.1 2010-04-12
2
10
 
3
11
  * Hi.
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 patch version and do the release ritual."
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
@@ -1,3 +1,3 @@
1
1
  module Ritual
2
- VERSION = [0, 0, 2]
2
+ VERSION = [0, 0, 3]
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
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-12 00:00:00 -04:00
17
+ date: 2010-04-22 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20