overlay 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/overlay/github_controller.rb +3 -0
- data/lib/overlay/github.rb +1 -0
- data/lib/overlay/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ed05419c605456a3e589d764edffffd9bf2e948
|
4
|
+
data.tar.gz: 2a2aa2902a7ea17e2edfaf86096e3b08b8ea474b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/overlay/github.rb
CHANGED
data/lib/overlay/version.rb
CHANGED