Sha256: af5bc3dfeaa4addaf02052a9a1b5f3a197f4d70a8e086a2a2c9c775d66d53d65
Contents?: true
Size: 595 Bytes
Versions: 4
Compression:
Stored size: 595 Bytes
Contents
require_dependency "overlay/application_controller" module Overlay class GithubController < ApplicationController def update Overlay.configuration.repositories.each do |repo_config| next unless repo_config.class == GithubRepo branch = repo_config[:branch] || 'master' if (params[:repository] && params[:ref]) if (params[:repository][:name] == repo_config[:repo]) && (params[:ref] == "refs/heads/#{branch}") Overlay::Github.process_overlays end end end render :inline => github_update_url end end end
Version data entries
4 entries across 4 versions & 1 rubygems