bonethug 0.0.45 → 0.0.51

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/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
1
  require "bundler/gem_tasks"
2
2
 
3
- root_path = File.expand_path(File.dirname(__FILE__))
4
- # import root_path+"/lib/tasks/setup.rake"
3
+ root_path = File.expand_path File.dirname(__FILE__)
4
+ import root_path + "/lib/tasks/bonethug.rake"
data/lib/bonethug/cli.rb CHANGED
@@ -14,7 +14,7 @@ module Bonethug
14
14
 
15
15
  when 'version'
16
16
 
17
- puts VERSION
17
+ puts 'bonethug v' + VERSION + ' - build date: ' + BUILD_DATE
18
18
  exit
19
19
 
20
20
  when 'install'
@@ -1,4 +1,6 @@
1
- module Bonethug
2
- VERSION = "0.0.45"
3
- BUILD_DATE = "2013-10-13 00:09"
4
- end
1
+
2
+ module Bonethug
3
+ VERSION = "0.0.51"
4
+ BUILD_DATE = "2013-10-13 01:02:42 +1300"
5
+ end
6
+
data/lib/bonethug.rb CHANGED
@@ -5,4 +5,9 @@ require "bonethug/cli"
5
5
 
6
6
  module Bonethug
7
7
 
8
+ def self.update_version(value)
9
+ remove_const 'VERSION'
10
+ const_set 'VERSION', value
11
+ end
12
+
8
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bonethug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.45
4
+ version: 0.0.51
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: