hansel 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
data/lib/hansel.rb CHANGED
@@ -3,6 +3,7 @@ require 'yaml'
3
3
 
4
4
  $:.unshift File.dirname(__FILE__) + "/../lib/hansel"
5
5
 
6
+ require 'version'
6
7
  require 'arg_parser'
7
8
  require 'formatting/formatting'
8
9
  require 'formatting/yaml_formatter.rb'
@@ -70,7 +70,7 @@ module HanselCore
70
70
 
71
71
  def version options
72
72
  options.on_tail("--version", "Show version") do
73
- puts "Hansel version #{IO.foreach('VERSION').first.strip}"
73
+ puts "Hansel version #{Version}"
74
74
  @options.exit = true
75
75
  end
76
76
  end
@@ -1,3 +1,3 @@
1
1
  module HanselCore
2
- Version = VERSION = '0.2.10'
2
+ Version = VERSION = '0.2.11'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hansel
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 10
10
- version: 0.2.10
9
+ - 11
10
+ version: 0.2.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Paul Mylchreest