require 'json' module Ember extend self package = File.read(File.expand_path('../../../package.json', __FILE__)) VERSION = JSON.parse(package)['version'].strip.gsub(/[-\+]/, '.') end