Sha256: d7b9062b210f23f8fa66499d9ca6e6b42b3988c70f1ca493d24407ebb54e7d16
Contents?: true
Size: 964 Bytes
Versions: 1
Compression:
Stored size: 964 Bytes
Contents
lib = File.expand_path('./framingham') $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) $LOAD_PATH << lib require 'date' require 'fileutils' version = "0.1." + DateTime.now.new_offset(0).strftime("%Y%m%d%H%M%S") File.open('framingham/version.rb','w'){ |_| _.puts "module Framingham" _.puts " VERSION = \"" + version + "\"" _.puts "end" } FileUtils.ln_sf "framingham-" + version + ".gem", "framingham.gem" require 'version' Gem::Specification.new{ |_| _.name = "framingham" _.version = Framingham::VERSION _.author = "3PoundHealth" _.summary = "Gem to implement Framingham Heart Study calculators" _.license = "MIT" _.files = `git ls-files`.split($/) _.executables = _.files.grep(%r{^/}) { |f| File.basename(f) } _.test_files = _.files.grep(%r{^(test|spec|features)/}) _.require_path = "." _.add_development_dependency "bundler", "~> 1.3" _.add_development_dependency "rake" }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
framingham-0.1.20130710222706 | framingham.gemspec |