slimmer 8.2.0 → 8.2.1

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: de4ea5a6673650c31b5613056cbac7816e452625
4
- data.tar.gz: 3e7e91bfb46e696633c49ad69f90134f595ce4fe
3
+ metadata.gz: 46a2a04477ecb7b2e25f6f8a8520a964d807f3ca
4
+ data.tar.gz: 495aadd6a619f7a99afb251ba8721853d6a10fc6
5
5
  SHA512:
6
- metadata.gz: 9da4cde4824bd875a80cedf528dcef1b393f147b2378cbba036392f9dd3cc759674a28c1106b25af25c490c047f21e1de00ff9792e1d6c23d0c86b5a318c1758
7
- data.tar.gz: f16fd65c66c3531208e757ebd2b5c8f7c64f25b3dec77bba3a08eaa8a621ecb65c91832d23f9915cc78e4c5ccb3b7f19d9d8e0cf091c5a845e240a25c735b30e
6
+ metadata.gz: 4d30eb170ac7b5c922b151277a4ba889b03e7b5ec4064046a3afdfc4dca445b0b64840fc65f5394054fee167b853a4ec94bdea31009f5bab811350a84bc2a893
7
+ data.tar.gz: 2bd1343c6b444347d9b5fe03562a6a98b10381b7a1097bd1ac2b7f66d836236c13b1edfd7769ffadc9886e22664ba21aba662736a15b2c2cce1ceeed14dad5a3
@@ -1,3 +1,7 @@
1
+ # 8.2.1
2
+
3
+ * Update rendering app meta tag to use GOVUK_APP_NAME env variable if available
4
+
1
5
  # 8.2.0
2
6
 
3
7
  * Add meta tag for currently running application
@@ -5,7 +5,7 @@ module Slimmer
5
5
  initializer "slimmer.configure" do |app|
6
6
  slimmer_config = app.config.slimmer.to_hash
7
7
 
8
- app_name = app.class.parent_name
8
+ app_name = ENV['GOVUK_APP_NAME'] || app.class.parent_name
9
9
  slimmer_config = slimmer_config.reverse_merge(app_name: app_name)
10
10
 
11
11
  app.middleware.use Slimmer::App, slimmer_config
@@ -1,3 +1,3 @@
1
1
  module Slimmer
2
- VERSION = '8.2.0'
2
+ VERSION = '8.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slimmer
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.2.0
4
+ version: 8.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Griffiths
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-29 00:00:00.000000000 Z
12
+ date: 2015-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri