overlay 2.1.3 → 2.1.4
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/lib/overlay/github.rb +1 -1
- data/lib/overlay/version.rb +1 -1
- data/spec/dummy/log/test.log +21 -0
- 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: 8479a9240cb271370971581ea99894ba3464648a
|
|
4
|
+
data.tar.gz: c8d636d1baf6a65e27f7446c430a47239cc78dca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3b600fa435fb66f6efc679bee29ebc75f69f77d8fad8bf3eab56ec747d64b72b35f7805f4805a4c32190c22b0cb743ad250e3b2bbaa387816720e2b91f5cef6
|
|
7
|
+
data.tar.gz: 32a6d3df5db389f516ebe736d0cd68c7fd10798de560602d0a461c66357c990cf3a89a2062781dd1488dfb1a24c80991b13b3374d2b353dca49d031bc1485004
|
data/lib/overlay/github.rb
CHANGED
|
@@ -173,7 +173,7 @@ module Overlay
|
|
|
173
173
|
end
|
|
174
174
|
|
|
175
175
|
def overlay_directory path, repo_config
|
|
176
|
-
FileUtils.mkdir_p destination_path(path, repo_config)
|
|
176
|
+
FileUtils.mkdir_p(destination_path(path, repo_config)) unless File.exists?(destination_path(path, repo_config))
|
|
177
177
|
directory_entries = repo_config.github_api.contents.get(repo_config.org, repo_config.repo, path, ref: repo_config.branch).response.body
|
|
178
178
|
|
|
179
179
|
directory_entries.each do |entry|
|
data/lib/overlay/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
|
@@ -1818,3 +1818,24 @@ Overlay found deleted file in hook: lib/test/test.rb
|
|
|
1818
1818
|
Overlay found added file in hook: lib/test/test.rb
|
|
1819
1819
|
Overlay found modified file in hook: lib/test/test.rb
|
|
1820
1820
|
Overlay found deleted file in hook: lib/test/test.rb
|
|
1821
|
+
Overlay found added file in hook: lib/test/test.rb
|
|
1822
|
+
Overlay found modified file in hook: lib/test/test.rb
|
|
1823
|
+
Overlay found deleted file in hook: lib/test/test.rb
|
|
1824
|
+
Overlay found added file in hook: lib/test/test.rb
|
|
1825
|
+
Overlay found modified file in hook: lib/test/test.rb
|
|
1826
|
+
Overlay found deleted file in hook: lib/test/test.rb
|
|
1827
|
+
Overlay found added file in hook: lib/test/test.rb
|
|
1828
|
+
Overlay found modified file in hook: lib/test/test.rb
|
|
1829
|
+
Overlay found deleted file in hook: lib/test/test.rb
|
|
1830
|
+
Overlay found added file in hook: lib/test/test.rb
|
|
1831
|
+
Overlay found modified file in hook: lib/test/test.rb
|
|
1832
|
+
Overlay found deleted file in hook: lib/test/test.rb
|
|
1833
|
+
Overlay subscribing to redis channel: test_key
|
|
1834
|
+
Overlay register webhook for repo: org => test_org, repo => test_repo
|
|
1835
|
+
Overlay register webhook for repo: org => test_org, repo => test_repo
|
|
1836
|
+
Processing by Overlay::GithubController#update as HTML
|
|
1837
|
+
Rendered text template (0.0ms)
|
|
1838
|
+
Completed 200 OK in 6ms (Views: 5.3ms)
|
|
1839
|
+
Processing by Overlay::GithubController#update as HTML
|
|
1840
|
+
Parameters: {"ref"=>"refs/heads/master", "repository"=>{"name"=>"test_repo"}}
|
|
1841
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|