Sha256: 602ce0db4a961fae15844189c3af81acebda23b804b1cf90cda9bcdce46ae903

Contents?: true

Size: 374 Bytes

Versions: 13

Compression:

Stored size: 374 Bytes

Contents

class ReloaderController < ApplicationController
  def index
    @version = <%= new_version %>

    new_version = params[:version]
    template = ERB.new(File.read(File.join(File.dirname(__FILE__), 'reloader_controller.rb.erb')))
    File.open(File.join(File.dirname(__FILE__), 'reloader_controller.rb'), 'w') do |f|
      f.write template.result(binding)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
jubilee-3.0.0.beta2-java spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-2.1.0.rc1-java spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-2.1.0.beta-java spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-2.1.0.Alpha1-java spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-2.0.0-java spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-2.0.0.beta-java spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-2.0.0.alpha1-java spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-1.1.3-java spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-1.1.2-java spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-1.1.0-java spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-1.1.0.rc3 spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-1.1.0.rc2 spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb
jubilee-1.1.0.rc1 spec/apps/rails4/basic/app/controllers/reloader_controller.rb.erb