bob_the_builder 0.1.0 → 0.1.1

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bob_the_builder}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Ivan Valdes (@ivanvc)}]
12
- s.date = %q{2011-11-04}
12
+ s.date = %q{2011-11-07}
13
13
  s.description = %q{longer description of your gem}
14
14
  s.email = %q{ivan@ooyala.com}
15
15
  s.executables = [%q{bobify}]
@@ -120,7 +120,8 @@ module BobTheBuilder
120
120
  end
121
121
 
122
122
  def next_version(change_type = 'patch')
123
- version = current_version.split('.').map(&:to_i) | [0, 0, 0]
123
+ version = current_version.split('.').map(&:to_i)
124
+ (0...3).each { |i| version[i] ||= 0 }
124
125
 
125
126
  case change_type
126
127
  when 'patch'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bob_the_builder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ivan Valdes (@ivanvc)
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-04 00:00:00 Z
18
+ date: 2011-11-07 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement