kibo 0.4.6 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -93,8 +93,6 @@ class Kibo::Instance < String
93
93
  def initialize(config, role, number)
94
94
  super config, role, 1, number
95
95
  @number = number
96
-
97
- concat "#{@number}"
98
96
  end
99
97
  end
100
98
  end
@@ -1,3 +1,23 @@
1
1
  module Kibo
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.8"
3
+ # Note: Keep the '"' string characters here!
4
+ end
5
+
6
+ if $0 == __FILE__
7
+
8
+ def next_version
9
+ parts = Kibo::VERSION.split(".")
10
+ parts[parts.length - 1] = parts[parts.length - 1].to_i + 1
11
+ parts.join(".")
12
+ end
13
+
14
+ rex = Regexp.new("VERSION.*" + Regexp.escape(Kibo::VERSION.inspect))
15
+
16
+ lines = File.readlines(__FILE__).map do |line|
17
+ next line unless line =~ rex
18
+ " VERSION = #{next_version.inspect}\n"
19
+ end
20
+
21
+ puts lines.join
22
+
3
23
  end
data/man/kibo.1 CHANGED
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KIBO" "1" "October 2012" "Kibo 0.4.6" "Kibo Manual"
4
+ .TH "KIBO" "1" "October 2012" "Kibo 0.4.8" "Kibo Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBkibo\fR \- manage heroku applications
@@ -172,7 +172,7 @@ kibo -e production spindown
172
172
 
173
173
 
174
174
  <ol class='man-decor man-foot man foot'>
175
- <li class='tl'>Kibo 0.4.6</li>
175
+ <li class='tl'>Kibo 0.4.8</li>
176
176
  <li class='tc'>October 2012</li>
177
177
  <li class='tr'>kibo(1)</li>
178
178
  </ol>
@@ -0,0 +1,15 @@
1
+ desc "Bump the version number"
2
+ task :bump do
3
+ version_file = File.expand_path("../../lib/kibo/version.rb", __FILE__)
4
+ sh "ruby #{version_file} > #{version_file}.new"
5
+ sh "mv #{version_file}.new #{version_file}"
6
+ end
7
+
8
+ desc "Bump the version number and release the gem"
9
+ task :publish do
10
+ sh "rake bump"
11
+ version_file = File.expand_path("../../lib/kibo/version.rb", __FILE__)
12
+ sh "git commit -m 'automatically bumped version number' #{version_file}"
13
+ sh "rake release"
14
+ end
15
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kibo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -164,6 +164,7 @@ files:
164
164
  - man/kibo.1.markdown
165
165
  - man/kibo.1.ronn
166
166
  - tasks/doc.rake
167
+ - tasks/version.rake
167
168
  - test/Kibofile
168
169
  - test/kibo_test.rb
169
170
  - test/test_helper.rb
@@ -181,7 +182,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
182
  version: '0'
182
183
  segments:
183
184
  - 0
184
- hash: 1075402584898748100
185
+ hash: 3344497689154052451
185
186
  required_rubygems_version: !ruby/object:Gem::Requirement
186
187
  none: false
187
188
  requirements: