Sha256: ae6bdc460a555dec4c9474bb3263fe706d7e14233a8dbf644bb2d07b540065fd
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
module Tapestry module_function VERSION = "0.5.0".freeze def version """ Tapestry v#{Tapestry::VERSION} watir: #{gem_version('watir')} selenium-webdriver: #{gem_version('selenium-webdriver')} """ end def dependencies Gem.loaded_specs.values.map { |spec| "#{spec.name} #{spec.version}\n" } .uniq.sort.join(",").split(",") end def gem_version(name) Gem.loaded_specs[name].version rescue NoMethodError puts "No gem loaded for #{name}." end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tapestry-0.5.0 | lib/tapestry/version.rb |