consul 0.14.0 → 0.14.1
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 +4 -4
- data/.travis.yml +2 -2
- data/CHANGELOG.md +16 -0
- data/gemfiles/Gemfile.3-2.lock +2 -2
- data/gemfiles/Gemfile.4-2.lock +1 -1
- data/gemfiles/Gemfile.5-2.lock +1 -1
- data/lib/consul/controller.rb +11 -1
- data/lib/consul/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a0c42a9a9684010d1fcd680da678ea97753a939de594896a266998c6c5cb9a89
|
|
4
|
+
data.tar.gz: f709cf39da16e75cca2ac91b5a02b96c4c8bd390bed2c9ef09ed5a198bc532bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e466ada94582cb6355859b0ee38c3a31c3d30a15d8116f4226757723692b8ddd9425362617b82b433e6e312b88f710451ff4cff0714a2b92025597ebcfe8280c
|
|
7
|
+
data.tar.gz: 0b4ae948652757242a9e9b67a90e033b720b3020dc43297eb1932602ece00dcd8ef838605c98e9e752accbbdccd979f7191345620804e1781450ca15d5fa42cb
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -13,6 +13,22 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
|
13
13
|
|
|
14
14
|
-
|
|
15
15
|
|
|
16
|
+
## 0.14.1 - 2017-11-13
|
|
17
|
+
|
|
18
|
+
### Compatible changes
|
|
19
|
+
|
|
20
|
+
- inherit power guards upon controller inheritance (fixes #40)
|
|
21
|
+
|
|
22
|
+
## 0.14.0 - 2017-10-09
|
|
23
|
+
|
|
24
|
+
### Breaking changes
|
|
25
|
+
|
|
26
|
+
- drop support for Rails 2.3
|
|
27
|
+
|
|
28
|
+
### Compatible changes
|
|
29
|
+
|
|
30
|
+
- migrate tests to Gemika
|
|
31
|
+
|
|
16
32
|
## 0.13.2 - 2017-10-02
|
|
17
33
|
|
|
18
34
|
### Compatible changes
|
data/gemfiles/Gemfile.3-2.lock
CHANGED
data/gemfiles/Gemfile.4-2.lock
CHANGED
data/gemfiles/Gemfile.5-2.lock
CHANGED
data/lib/consul/controller.rb
CHANGED
|
@@ -67,8 +67,18 @@ module Consul
|
|
|
67
67
|
end
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
+
attr_writer :consul_guards
|
|
71
|
+
|
|
70
72
|
def consul_guards
|
|
71
|
-
@
|
|
73
|
+
unless @consul_guards_initialized
|
|
74
|
+
if superclass && superclass.respond_to?(:consul_guards, true)
|
|
75
|
+
@consul_guards = superclass.send(:consul_guards).dup
|
|
76
|
+
else
|
|
77
|
+
@consul_guards = []
|
|
78
|
+
end
|
|
79
|
+
@consul_guards_initialized = true
|
|
80
|
+
end
|
|
81
|
+
@consul_guards
|
|
72
82
|
end
|
|
73
83
|
|
|
74
84
|
def power(*args)
|
data/lib/consul/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: consul
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.14.
|
|
4
|
+
version: 0.14.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Henning Koch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-11-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: memoizer
|