overlay 1.0.5 → 1.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5974dc66b5c1c614856d9a2c5d9211532d75f81
4
- data.tar.gz: ba9cdd7a1c2af5e57b34b931604fa3a2d0334818
3
+ metadata.gz: 57ce8e2bb142c8cf1216a383f35cce09485bae10
4
+ data.tar.gz: f49790e3f36cbb0cdfb592e1e5936f54252ead5e
5
5
  SHA512:
6
- metadata.gz: 4a4aed83caa4a223b96677bfe86141bdabe7b4896299803bec9db433e24d18038e9dbebf36ae6e493a97df676e05c2c4d1f58393a7787ffe063209b1d06c1376
7
- data.tar.gz: d65c388005e61c1badf3913c56d81d065921772ccf4024abeaf77b97d80b3a02bd2b520dea2c31257d8a81eb79eaa0ab31e6dacf612cb6656967ca820051cef9
6
+ metadata.gz: f6845ca97031f8650414d0a0a2265b3419e7693703084c708c4ea09a7bd0fe769a49e189155fc20dabf283b7256853aae2549fb7d672a4815dee6ef7bafac380
7
+ data.tar.gz: 6c17fc5734d908e5205b828736e3c2a3ee63e9ede8792ffb9d76988e02c0cbb909e4257042f7d90d790f677a9238b657b346ff7e4c40dff1cbfc441953615e87
@@ -6,7 +6,7 @@ module Overlay
6
6
  :user,
7
7
  :auth,
8
8
  :repositories,
9
- :hostname,
9
+ :host_name,
10
10
  :host_port,
11
11
  :relative_root_url
12
12
  ].freeze
@@ -40,8 +40,8 @@ module Overlay
40
40
  Rails.application.reload_routes!
41
41
 
42
42
  # Build hook url
43
- host = config.hostname || ENV['HOST_NAME'] || Socket.gethostname
44
- port = config.host_port || ENV['HOST_PORT'] || Rails::Server.new.options[:Port]
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
 
@@ -1,3 +1,3 @@
1
1
  module Overlay
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
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.5
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 00:00:00.000000000 Z
11
+ date: 2013-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails