Sha256: 7e34622e80b0d84d615e62cbeccf5e63d89f78f7b1663d85e020d331522357c6
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
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 "pkg/framingham-" + version + ".gem", "framingham.gem" require 'version' Gem::Specification.new{ |_| _.name = "framingham" _.version = Framingham::VERSION _.author = "3PoundHealth" _.homepage = "https://github.com/3poundhealth/framingham#framingham" _.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
framingham-0.1.20130712221655 | framingham.gemspec |
framingham-0.1.20130711193533 | framingham.gemspec |