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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/slimmer/railtie.rb +1 -1
- data/lib/slimmer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46a2a04477ecb7b2e25f6f8a8520a964d807f3ca
|
4
|
+
data.tar.gz: 495aadd6a619f7a99afb251ba8721853d6a10fc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d30eb170ac7b5c922b151277a4ba889b03e7b5ec4064046a3afdfc4dca445b0b64840fc65f5394054fee167b853a4ec94bdea31009f5bab811350a84bc2a893
|
7
|
+
data.tar.gz: 2bd1343c6b444347d9b5fe03562a6a98b10381b7a1097bd1ac2b7f66d836236c13b1edfd7769ffadc9886e22664ba21aba662736a15b2c2cce1ceeed14dad5a3
|
data/CHANGELOG.md
CHANGED
data/lib/slimmer/railtie.rb
CHANGED
@@ -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
|
data/lib/slimmer/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2015-06-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|