consul 0.14.0 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of consul might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5ba7636495878fa5484c2389e08fc82f573e56ac5aa1347195aeba5683f70b0
4
- data.tar.gz: 1647fa81dd5224213f34720b8c98c9d78f43836f2778a96a4f3677e3dde3dc7e
3
+ metadata.gz: a0c42a9a9684010d1fcd680da678ea97753a939de594896a266998c6c5cb9a89
4
+ data.tar.gz: f709cf39da16e75cca2ac91b5a02b96c4c8bd390bed2c9ef09ed5a198bc532bd
5
5
  SHA512:
6
- metadata.gz: 40f19203c3bf503dac19996eff88b7fc2fb40ef31c3ce58824978d590833200e23d09eee1f90499d7f7fdd2fd973bf57a3b0477da456061b073947237ce045b4
7
- data.tar.gz: 3d0cba17bc333ce38a397703e0c61b72c5baf26b0945c204a46add87517061607ae8214fb3f886c7880fcc8c6bac76d68faa2412d58f1a589307fa5a576ade3a
6
+ metadata.gz: e466ada94582cb6355859b0ee38c3a31c3d30a15d8116f4226757723692b8ddd9425362617b82b433e6e312b88f710451ff4cff0714a2b92025597ebcfe8280c
7
+ data.tar.gz: 0b4ae948652757242a9e9b67a90e033b720b3020dc43297eb1932602ece00dcd8ef838605c98e9e752accbbdccd979f7191345620804e1781450ca15d5fa42cb
@@ -20,9 +20,9 @@ matrix:
20
20
  rvm: 2.4.1
21
21
  - gemfile: gemfiles/Gemfile.4-2
22
22
  rvm: 1.8.7
23
- - gemfile: gemfiles/Gemfile.5-1
23
+ - gemfile: gemfiles/Gemfile.5-2
24
24
  rvm: 1.8.7
25
- - gemfile: gemfiles/Gemfile.5-1
25
+ - gemfile: gemfiles/Gemfile.5-2
26
26
  rvm: 2.1.8
27
27
 
28
28
 
@@ -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
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- consul (0.13.2)
4
+ consul (0.14.1)
5
5
  edge_rider (>= 0.3.0)
6
6
  memoizer
7
- rails
7
+ rails (>= 3.2)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- consul (0.14.0)
4
+ consul (0.14.1)
5
5
  edge_rider (>= 0.3.0)
6
6
  memoizer
7
7
  rails (>= 3.2)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- consul (0.13.2)
4
+ consul (0.14.1)
5
5
  edge_rider (>= 0.3.0)
6
6
  memoizer
7
7
  rails (>= 3.2)
@@ -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
- @consul_guards ||= []
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)
@@ -1,3 +1,3 @@
1
1
  module Consul
2
- VERSION = '0.14.0'
2
+ VERSION = '0.14.1'
3
3
  end
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.0
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-10-09 00:00:00.000000000 Z
11
+ date: 2018-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memoizer