app/controllers/version_controller.rb in maestrano-connector-rails-2.0.0.pre.RC12 vs app/controllers/version_controller.rb in maestrano-connector-rails-2.0.0.pre.RC13
- old
+ new
@@ -1,9 +1,9 @@
class VersionController < ApplicationController
def index
framework_version = Gem.loaded_specs['maestrano-connector-rails'].version.version
respond_to do |format|
format.html { render text: "framework_version=#{framework_version}\n" }
- format.json { render json: {framework_version: framework_version, env: Rails.env} }
+ format.json { render json: {framework_version: framework_version, env: Rails.env, ruby_version: RUBY_VERSION, ruby_engine: RUBY_ENGINE} }
end
end
end