Sha256: 21d5ebc29af3718932c89e8457b667b293c3b9237e99cae168bbd287f38e1982

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 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} }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.0.0.pre.RC12 app/controllers/version_controller.rb
maestrano-connector-rails-2.0.0.pre.RC11 app/controllers/version_controller.rb
maestrano-connector-rails-2.0.0.pre.RC10 app/controllers/version_controller.rb
maestrano-connector-rails-2.0.0.pre.RC9 app/controllers/version_controller.rb