baby-bro 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.0.9
data/baby-bro.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{baby-bro}
8
- s.version = "0.0.8"
8
+ s.version = "0.0.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bill Doughty"]
data/lib/baby-bro.rb CHANGED
@@ -2,7 +2,9 @@ $:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) ||
2
2
  $:.unshift(File.join(File.dirname(__FILE__), 'baby-bro')) unless $:.include?( $:.unshift(File.join(File.dirname(__FILE__), 'baby-bro')) )
3
3
 
4
4
  module BabyBro
5
- VERSION = '0.0.1'
5
+ def self.version
6
+ File.read(File.join(File.dirname(__FILE__),'..','VERSION'))
7
+ end
6
8
  end
7
9
 
8
10
  require 'extensions/fixnum'
@@ -45,7 +45,7 @@ module BabyBro
45
45
  version_file = File.join(@data_directory, '.version')
46
46
  unless File.exist?(version_file)
47
47
  File.open(version_file, 'w') do |f|
48
- f.write(::BabyBro::VERSION.to_s)
48
+ f.write(::BabyBro.version)
49
49
  end
50
50
  end
51
51
  @projects.map!{|p| Project.new(p, @config)}
data/lib/baby-bro/exec.rb CHANGED
@@ -118,7 +118,7 @@ END
118
118
  end
119
119
 
120
120
  opts.on_tail("-v", "--version", "Print version") do
121
- puts("BabyBro v#{File.read(File.join(File.dirname(__FILE__),'..','..','VERSION'))}")
121
+ puts("BabyBro v#{::BabyBro.version}")
122
122
  exit
123
123
  end
124
124
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baby-bro
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bill Doughty