overlay 2.2.2 → 2.2.3
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 +4 -1
- data/lib/overlay/version.rb +1 -1
- data/spec/dummy/log/test.log +38 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0196cac93ca14970e72c2fd161f6f8efc2c14d1
|
4
|
+
data.tar.gz: 10b91bc9e4eafd22c5898bac7d0a9e0f92224d73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 871fce47300bdf5ff9b0efd3f606a6bf7bf6f972a4e51583fc64d3286e0a320a7f2739cb954b914dfbf3887a516d0571fee659216c81be524c66621d95f74810
|
7
|
+
data.tar.gz: 96a74a0b26d62aaae727d6c587328cec323044988c64b5785337a73784635286f6b9cbd98a2325675955c19753269faad692ce34e5db9cb9d2c78073b15b82a8
|
data/lib/overlay/github.rb
CHANGED
@@ -217,6 +217,9 @@ module Overlay
|
|
217
217
|
# The subscribe call is persistent.
|
218
218
|
begin
|
219
219
|
redis.subscribe(key) do |on|
|
220
|
+
on.subscribe do |channel, subscriptions|
|
221
|
+
Rails.logger.info "'#{channel}' channel subscription established for key '#{key}'. Subscriptions: #{subscriptions}"
|
222
|
+
end
|
220
223
|
on.message do |channel, msg|
|
221
224
|
Rails.logger.info "Overlay received publish event for channel #{key} with payload: #{msg}"
|
222
225
|
hook = JSON.parse(msg)
|
@@ -274,4 +277,4 @@ module Overlay
|
|
274
277
|
end
|
275
278
|
end
|
276
279
|
end
|
277
|
-
end
|
280
|
+
end
|
data/lib/overlay/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -2502,3 +2502,41 @@ Overlay finished processing repo with config #<Overlay::GithubRepo:0x007ffe3f2af
|
|
2502
2502
|
Processing by Overlay::GithubController#update as HTML
|
2503
2503
|
Parameters: {"ref"=>"refs/heads/master", "repository"=>{"name"=>"test_repo"}}
|
2504
2504
|
Completed 200 OK in 0ms (Views: 0.2ms)
|
2505
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2506
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2507
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2508
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2509
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2510
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2511
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2512
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2513
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2514
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2515
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2516
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2517
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2518
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2519
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2520
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2521
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2522
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2523
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2524
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2525
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2526
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2527
|
+
Overlay subscribe closed for unknown reason.
|
2528
|
+
Overlay subscribing to redis channel: test_key
|
2529
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fcaf62f97e8 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fcaf62f96d0 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.2", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.2", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2530
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2531
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2532
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2533
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2534
|
+
Overlay finished processing repo with config #<Overlay::GithubRepo:0x007fcaf62f97e8 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fcaf62f96d0 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.2", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.2", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2535
|
+
Overlay register webhook for repo: org => test_org, repo => test_repo
|
2536
|
+
Overlay register webhook for repo: org => test_org, repo => test_repo
|
2537
|
+
Processing by Overlay::GithubController#update as HTML
|
2538
|
+
Rendered text template (0.0ms)
|
2539
|
+
Completed 200 OK in 7ms (Views: 6.4ms)
|
2540
|
+
Processing by Overlay::GithubController#update as HTML
|
2541
|
+
Parameters: {"ref"=>"refs/heads/master", "repository"=>{"name"=>"test_repo"}}
|
2542
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overlay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Saarinen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|