plek 2.1.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/lib/plek.rb +1 -1
- data/lib/plek/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 32f009f7c15f4e0b0fa5a5b5f3866e327101ff3ed1a7cc4527e5d3346398bcf3
|
4
|
+
data.tar.gz: 8ed2fcfc3453d92b3a049f0941bf6026d0f6294f33b51bab9e0d69bfa6608af7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7f2980ae077e50f4f277ad26ece95057c9f486f8f1883e24cb80f47f60b02fc35cd58ab7812642a7348a90d648b2223572609702220e281180e0f5e3b4a8610
|
7
|
+
data.tar.gz: 48664f58cd9f619b78dea7db04afe260153ac596ce79977d5e07911ef23a68f0e308f9e71ff135ee4636c7ebc6eb9f85880bdf88ec94515a874bac2f2c32a57a
|
data/README.md
CHANGED
@@ -48,7 +48,7 @@ For example, the variable for `static` would be `PLEK_SERVICE_STATIC_URI`.
|
|
48
48
|
|
49
49
|
#### Others
|
50
50
|
|
51
|
-
To
|
51
|
+
To domain is based on the environment, and defaults to 'dev.gov.uk'. The environment can be set using either `RAILS_ENV` or `RACK_ENV`.
|
52
52
|
|
53
53
|
You can prepend strings to the hostnames generated using: `PLEK_HOSTNAME_PREFIX`.
|
54
54
|
|
data/lib/plek.rb
CHANGED
@@ -17,7 +17,7 @@ class Plek
|
|
17
17
|
class NoConfigurationError < StandardError; end
|
18
18
|
|
19
19
|
# The fallback parent domain to use in development mode.
|
20
|
-
DEV_DOMAIN =
|
20
|
+
DEV_DOMAIN = 'dev.gov.uk'
|
21
21
|
|
22
22
|
# Domains to return http URLs for.
|
23
23
|
HTTP_DOMAINS = [ DEV_DOMAIN ]
|
data/lib/plek/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -55,7 +55,7 @@ dependencies:
|
|
55
55
|
description: Find the right hostname for each service in an environment-dependent
|
56
56
|
manner
|
57
57
|
email:
|
58
|
-
-
|
58
|
+
- govuk-dev@digital.cabinet-office.gov.uk
|
59
59
|
executables: []
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.5.1
|
86
|
+
rubygems_version: 3.0.1
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: Locations for services
|