Sha256: dae51b1500c08173b681b3a2d1deb39b4b63568dc0839aafab5415885ba6dbc3

Contents?: true

Size: 635 Bytes

Versions: 6

Compression:

Stored size: 635 Bytes

Contents

class VersionController < ApplicationController
  def index
    framework_version = Gem.loaded_specs['maestrano-connector-rails'].version.version
    branch = ENV['GIT_BRANCH']
    commit = ENV['GIT_COMMIT_ID']

    respond_to do |format|
      format.html { render text: "framework_version=#{framework_version}\nci_branch=#{branch}\nci_commit=#{commit}\nenv=#{Rails.env}\nruby_version=#{RUBY_VERSION}\nruby_engine=#{RUBY_ENGINE}\n" }
      format.json { render json: {framework_version: framework_version, ci_branch: branch, ci_commit: commit, env: Rails.env, ruby_version: RUBY_VERSION, ruby_engine: RUBY_ENGINE} }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.3.6 app/controllers/version_controller.rb
maestrano-connector-rails-2.3.5 app/controllers/version_controller.rb
maestrano-connector-rails-2.3.4 app/controllers/version_controller.rb
maestrano-connector-rails-2.3.3 app/controllers/version_controller.rb
maestrano-connector-rails-2.3.2 app/controllers/version_controller.rb
maestrano-connector-rails-2.3.1 app/controllers/version_controller.rb