doorkeepr 0.0.5 → 0.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/doorkeepr/nerve.rb +3 -2
- data/lib/doorkeepr/version.rb +1 -1
- data/test/dummy/config/routes.rb +0 -2
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -0
- data/test/dummy/log/test.log +5 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff8cc90f9dd40338f840c4f6d6142f75e68943a5
|
4
|
+
data.tar.gz: d3a2d7ab34515e329049372e0cba8698989989ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c74a918bd71525e27ccd1901a0d101d6c21509bca628d7d2bfe1ef5d2414bf225fff6694c16323e2dbbdd5a1cac8004f6bfa15ff3a71e47fd14e7fe3c29c249c
|
7
|
+
data.tar.gz: d98463f6838a66415f4f2123032ab25d7105ab2e7fddbd665a71875872d053ff56a6555bd96f7ab90efb52d5109aa5831314d4fbd0972a388ea071d27fcd1958
|
data/lib/doorkeepr/nerve.rb
CHANGED
@@ -76,8 +76,9 @@ module Doorkeepr
|
|
76
76
|
@instance_id ||= SecureRandom.hex(8)
|
77
77
|
end
|
78
78
|
def zk_hosts
|
79
|
-
[ "
|
80
|
-
|
79
|
+
return [ Boutons.zookeeper.s("%i:%p") ] if defined? Boutons and Boutons.respond_to? :zookeeper
|
80
|
+
return Resolv::Consul.services(:zookeeper).map{|srv| "#{srv.address}:#{srv.port}" } if defined? Resolv::Consul
|
81
|
+
[ "localhost:2181" ]
|
81
82
|
end
|
82
83
|
def application
|
83
84
|
@application = Doorkeepr.config.url
|
data/lib/doorkeepr/version.rb
CHANGED
data/test/dummy/config/routes.rb
CHANGED
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doorkeepr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Kaufmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -101,6 +101,9 @@ files:
|
|
101
101
|
- test/dummy/config/locales/en.yml
|
102
102
|
- test/dummy/config/routes.rb
|
103
103
|
- test/dummy/config/secrets.yml
|
104
|
+
- test/dummy/db/test.sqlite3
|
105
|
+
- test/dummy/log/development.log
|
106
|
+
- test/dummy/log/test.log
|
104
107
|
- test/dummy/public/404.html
|
105
108
|
- test/dummy/public/422.html
|
106
109
|
- test/dummy/public/500.html
|
@@ -161,6 +164,9 @@ test_files:
|
|
161
164
|
- test/dummy/config/routes.rb
|
162
165
|
- test/dummy/config/secrets.yml
|
163
166
|
- test/dummy/config.ru
|
167
|
+
- test/dummy/db/test.sqlite3
|
168
|
+
- test/dummy/log/development.log
|
169
|
+
- test/dummy/log/test.log
|
164
170
|
- test/dummy/public/404.html
|
165
171
|
- test/dummy/public/422.html
|
166
172
|
- test/dummy/public/500.html
|