pugin 1.6.18 → 1.6.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43850520a9dafd803ed6bf055c3caef626180702
4
- data.tar.gz: ef45b188c82d7803b61d169ca7ccf40e46ec7384
3
+ metadata.gz: 34ef0d9f72b61f77c26af41d344f9141d6465942
4
+ data.tar.gz: bca96446c049c408f536e7eccda3f4d178fd3346
5
5
  SHA512:
6
- metadata.gz: b17178662a4eba0f3546be5fb58b8ffa6a89f8cd3d464bdf6ea35dc7276b976e3821468fc6ac40c498560238cecee964debbd4ae5e773162ef9cfbf517e70b77
7
- data.tar.gz: ada6a3ed8172aee76bd769c6e1ba30bc6ff72f35926665b0f98634ca5d8ff11e3287debea5aadb392596e2e6a8c383e487d5f95fa5f5d1b9a17a9e85136e7307
6
+ metadata.gz: e7a324341dff94c1027e4f201bc99c0ef8b945eab1388757d49573f56aad692d21045c9393c5e75beffb2512e71048956541fe4dfdd1a54e058f7f0476ef0eb3
7
+ data.tar.gz: b38eee7981d077790431ca6e8fdb074e2f0b28f55983b9ab9278c2c27cc6339a83a1a8eef39ca74fc0bd7ff615a91919c1d79a2dc5af6c32ebe8ee4f913c6345
@@ -47,6 +47,11 @@ module Pugin
47
47
  @features.fetch('show-activity-links', false)
48
48
  end
49
49
 
50
+ def show_lords_ineligibility_banner?
51
+ get_features
52
+ @features.fetch('show-lords-ineligibility-banner', false)
53
+ end
54
+
50
55
  # Reset cached features
51
56
  def reset
52
57
  @features = nil
data/lib/pugin/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pugin
2
- VERSION = '1.6.18'.freeze
2
+ VERSION = '1.6.19'.freeze
3
3
  end
@@ -12,7 +12,8 @@ describe 'The bandiera client feature set' do
12
12
  'show-committees': :show_committees?,
13
13
  'show-government-roles': :show_government_roles?,
14
14
  'show-opposition-roles': :show_opposition_roles?,
15
- 'show-activity-links': :show_activity_links?
15
+ 'show-activity-links': :show_activity_links?,
16
+ 'show-lords-ineligibility-banner': :show_lords_ineligibility_banner?
16
17
  }
17
18
 
18
19
  method_hash.each do |flag_name, method_name|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.18
4
+ version: 1.6.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Rayner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails