Sha256: 110127fda2b86a0c74474ef133a3cfcebb256f97b5a9b0267a9135d310e0579a

Contents?: true

Size: 413 Bytes

Versions: 2

Compression:

Stored size: 413 Bytes

Contents

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, ruby_version: RUBY_VERSION, ruby_engine: RUBY_ENGINE} }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.0.0 app/controllers/version_controller.rb
maestrano-connector-rails-2.0.0.pre.RC13 app/controllers/version_controller.rb