synapse-config 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/synapse/config/haproxy.rb +4 -3
- data/lib/synapse/config/updateable.rb +2 -1
- data/lib/synapse/config/version.rb +1 -1
- data/synapse-config.gemspec +3 -7
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae2900d66837aa683aceba9e6daa371880ccfeac
|
4
|
+
data.tar.gz: 0fd7eafc7ad6b7e36b13639bc4dab7414146dcac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d74d197cb679ad4299633151e1d113eb1bbaa341ec8f146943c0805593a5520d3384e837c943085cb940e99174df88fe93750a448b7ee2a34d108b42ad45c1be
|
7
|
+
data.tar.gz: a6183ae4396ade41a881213acb78fe5cc2cc22e735952bfba62432c378411267aa3b0c33911be3979aa50932337a70e6d504303fc58b092de3e66ee8fc461612
|
@@ -7,15 +7,16 @@ module Synapse
|
|
7
7
|
class Haproxy
|
8
8
|
include Updateable
|
9
9
|
include Emitting
|
10
|
-
def initialize
|
11
|
-
@haproxy=
|
10
|
+
def initialize arg=nil
|
11
|
+
@haproxy=arg
|
12
|
+
@haproxy||={
|
12
13
|
do_reloads:true,
|
13
14
|
do_socket:true,
|
14
15
|
do_writes:true,
|
15
16
|
defaults:[],
|
16
17
|
global:[],
|
17
18
|
extra_sections:{}
|
18
|
-
}
|
19
|
+
}.with_indifferent_access
|
19
20
|
observe :haproxy
|
20
21
|
end
|
21
22
|
end
|
data/synapse-config.gemspec
CHANGED
@@ -9,19 +9,15 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Mathias Kaufmann"]
|
10
10
|
spec.email = ["me@stei.gr"]
|
11
11
|
|
12
|
-
spec.summary = %q{
|
13
|
-
spec.description = %q{
|
14
|
-
spec.homepage = "https://synapse.stei.gr"
|
12
|
+
spec.summary = %q{Configuration with callbacks on update (or read).}
|
13
|
+
spec.description = %q{Configuration with callbacks on update (or read).}
|
14
|
+
spec.homepage = "https://synapse.stei.gr/config"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
17
|
spec.bindir = "exe"
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
# if spec.respond_to?(:metadata)
|
22
|
-
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any server."
|
23
|
-
# end
|
24
|
-
|
25
21
|
spec.add_dependency "activesupport","~> 4"
|
26
22
|
spec.add_development_dependency "bundler", "~> 1.8"
|
27
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synapse-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Kaufmann
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
|
-
description:
|
55
|
+
description: Configuration with callbacks on update (or read).
|
56
56
|
email:
|
57
57
|
- me@stei.gr
|
58
58
|
executables: []
|
@@ -73,7 +73,7 @@ files:
|
|
73
73
|
- lib/synapse/config/updateable.rb
|
74
74
|
- lib/synapse/config/version.rb
|
75
75
|
- synapse-config.gemspec
|
76
|
-
homepage: https://synapse.stei.gr
|
76
|
+
homepage: https://synapse.stei.gr/config
|
77
77
|
licenses: []
|
78
78
|
metadata: {}
|
79
79
|
post_install_message:
|
@@ -95,5 +95,5 @@ rubyforge_project:
|
|
95
95
|
rubygems_version: 2.4.6
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
|
-
summary:
|
98
|
+
summary: Configuration with callbacks on update (or read).
|
99
99
|
test_files: []
|