odania 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/odania/consul.rb +2 -1
- data/lib/odania/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: b671c7072f85953afe30ec8589a8f984cc8a8183
|
4
|
+
data.tar.gz: e704fd38e458253a9608c2766100891df7c78336
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a6bd18be224b93924931348883e82bb4a7775359cd210dfab21b1b61dcfbd5f6be0fadccbdab87c609ad65a111e87084c74485fa980457b62cae14988dba64b
|
7
|
+
data.tar.gz: 1228bdbf0dfc98098ecf36dc071fb612a93226ab19b2aa162709a1f2981cb1ef1c3b06dd627455e0ad3cb13ef1c513df92b00e552a4da09af4e57da1ec28d858
|
data/Gemfile.lock
CHANGED
data/lib/odania/consul.rb
CHANGED
@@ -3,7 +3,8 @@ module Odania
|
|
3
3
|
attr_reader :service, :config, :event, :health
|
4
4
|
|
5
5
|
def initialize(consul_url)
|
6
|
-
consul_url =
|
6
|
+
consul_url = ENV['CONSUL_ADDR'] if consul_url.nil?
|
7
|
+
consul_url = 'http://consul:8500' if consul_url.nil?
|
7
8
|
puts "Consul URL: #{consul_url}" if $debug
|
8
9
|
Diplomat.configure do |config|
|
9
10
|
# Set up a custom Consul URL
|
data/lib/odania/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: odania
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Petersen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|