overlay 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/overlay/configuration.rb +1 -1
- data/lib/overlay/github.rb +2 -2
- data/lib/overlay/version.rb +1 -1
- 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: 57ce8e2bb142c8cf1216a383f35cce09485bae10
|
4
|
+
data.tar.gz: f49790e3f36cbb0cdfb592e1e5936f54252ead5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6845ca97031f8650414d0a0a2265b3419e7693703084c708c4ea09a7bd0fe769a49e189155fc20dabf283b7256853aae2549fb7d672a4815dee6ef7bafac380
|
7
|
+
data.tar.gz: 6c17fc5734d908e5205b828736e3c2a3ee63e9ede8792ffb9d76988e02c0cbb909e4257042f7d90d790f677a9238b657b346ff7e4c40dff1cbfc441953615e87
|
data/lib/overlay/github.rb
CHANGED
@@ -40,8 +40,8 @@ module Overlay
|
|
40
40
|
Rails.application.reload_routes!
|
41
41
|
|
42
42
|
# Build hook url
|
43
|
-
host = config.
|
44
|
-
port = config.host_port || ENV['
|
43
|
+
host = config.host_name || ENV['SERVER_HOST_NAME'] || Socket.gethostname
|
44
|
+
port = config.host_port || ENV['SERVER_HOST_PORT'] || Rails::Server.new.options[:Port]
|
45
45
|
path = Overlay::Engine.routes.url_for({:controller=>"overlay/github", :action=>"update", :only_path => true})
|
46
46
|
uri = ActionDispatch::Http::URL::url_for({:host => host, :port => port, :path => "#{config.relative_root_url}#{path}"})
|
47
47
|
|
data/lib/overlay/version.rb
CHANGED
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: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Saarinen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|