overlay 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 308bee5e4978a94a01bba2547226f9e2fa013bd3
4
- data.tar.gz: 891554e5dff016a1f3edcaeaa03c038a6c98b962
3
+ metadata.gz: 3ed05419c605456a3e589d764edffffd9bf2e948
4
+ data.tar.gz: 2a2aa2902a7ea17e2edfaf86096e3b08b8ea474b
5
5
  SHA512:
6
- metadata.gz: 88064c3dc172ae0e3dd1752e2ece105f106c8a720aed9d7978fcaa5d8513e8882ad5c521282178e516656db84caddc48dcfddf9bad4b981dd3d10d23203bb434
7
- data.tar.gz: 3d2a8662e8d20206e9334112a9b89bd7375bbb8bd1413bc8794853c29dad3555616f5d4291e2c4250dc8ccde51405a9f3da95ebbfdcd63e0fad3b9eb065b28d3
6
+ metadata.gz: f20b278a41aa09ebf5859f0cea3d82279a0f940be37625d0323761494d6988e9609a7eac44ad78aa5a799418af1281a2a8bd855bd58f1751e169c59b8814204c
7
+ data.tar.gz: c07ba69e4cff6fcdb1c36d110ee2acd48dbf338b3310212bea99f86917fcf42a93058b3e800cbc018c7b7197045a06afbf3c6da9851865d9038dc3c72ec84f76
@@ -5,11 +5,14 @@ module Overlay
5
5
  def update
6
6
  render nothing: true
7
7
 
8
+ logger.info "Received update post for repo: #{params[:repository]} and ref: #{params[:ref]}"
8
9
  Overlay.configuration.repositories.each do |repo_config|
10
+ logger.info "Processing config for repo: #{repo_config[:repo]} and branch: #{repo_config[:branch] || 'master'}"
9
11
  next unless repo_config.class == GithubRepo
10
12
  branch = repo_config[:branch] || 'master'
11
13
  if (params[:repository] && params[:ref])
12
14
  if (params[:repository][:name] == repo_config[:repo]) && (params[:ref] == "refs/heads/#{branch}")
15
+ logger.info "Processing overlay for repo: #{repo_config[:repo]} and branch: #{repo_config[:branch] || 'master'}"
13
16
  Overlay::Github.process_overlays
14
17
  end
15
18
  end
@@ -129,6 +129,7 @@ module Overlay
129
129
  include SuckerPunch::Job
130
130
 
131
131
  def perform(repo_config)
132
+ Rails.logger.info "SuckerPunch processing job for #{repo_config[:repo]}"
132
133
  Github.overlay_repo repo_config
133
134
  end
134
135
  end
@@ -1,3 +1,3 @@
1
1
  module Overlay
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: overlay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Saarinen