framingham 0.0 → 0.1.20130710222706

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/framingham.gemspec CHANGED
@@ -2,6 +2,17 @@ lib = File.expand_path('./framingham')
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
  $LOAD_PATH << lib
4
4
 
5
+ require 'date'
6
+ require 'fileutils'
7
+
8
+ version = "0.1." + DateTime.now.new_offset(0).strftime("%Y%m%d%H%M%S")
9
+ File.open('framingham/version.rb','w'){ |_|
10
+ _.puts "module Framingham"
11
+ _.puts " VERSION = \"" + version + "\""
12
+ _.puts "end"
13
+ }
14
+ FileUtils.ln_sf "framingham-" + version + ".gem", "framingham.gem"
15
+
5
16
  require 'version'
6
17
 
7
18
  Gem::Specification.new{ |_|
data/framingham.rb CHANGED
@@ -8,10 +8,6 @@ def help
8
8
  "Framingham display help info..."
9
9
  end
10
10
 
11
- def version
12
- "version: " + VERSION
13
- end
14
-
15
11
  protected
16
12
 
17
13
  def to_i value
@@ -1,3 +1,3 @@
1
1
  module Framingham
2
- VERSION = "0.0" unless defined? VERSION
2
+ VERSION = "0.1.20130710222706"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: framingham
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.0'
4
+ version: 0.1.20130710222706
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: