plek 2.1.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +1 -1
  3. data/lib/plek.rb +1 -1
  4. data/lib/plek/version.rb +1 -1
  5. metadata +5 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 42c206eb83b9c41dc31647b2d72dc48efaaff889
4
- data.tar.gz: 5c8371aed356ad734c2ce789e488e3a2c473d794
2
+ SHA256:
3
+ metadata.gz: 32f009f7c15f4e0b0fa5a5b5f3866e327101ff3ed1a7cc4527e5d3346398bcf3
4
+ data.tar.gz: 8ed2fcfc3453d92b3a049f0941bf6026d0f6294f33b51bab9e0d69bfa6608af7
5
5
  SHA512:
6
- metadata.gz: dee761715a61b7ab2cd78b874b3ca0e22810893b31cdd9273b10ff629fdf5451572e409ed5015ca3685259197e74a2c3a2c14d83ebf942a84352c850b233ab26
7
- data.tar.gz: 4049d5ad0a3f9b58a14109e0f47c677c80314b385b34ad1e78e3dfa11934c4d82012db7de2d9e9918d819274642ca4367411649a426a7113bc8888e3869e6cc7
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 override the development environment base domain, set `DEV_DOMAIN`. The default is `dev.gov.uk`. The environment can be set using either `RAILS_ENV` or `RACK_ENV`.
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
 
@@ -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 = ENV['DEV_DOMAIN'] || 'dev.gov.uk'
20
+ DEV_DOMAIN = 'dev.gov.uk'
21
21
 
22
22
  # Domains to return http URLs for.
23
23
  HTTP_DOMAINS = [ DEV_DOMAIN ]
@@ -1,3 +1,3 @@
1
1
  class Plek
2
- VERSION = '2.1.1'
2
+ VERSION = '3.0.0'
3
3
  end
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: 2.1.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - Craig R Webster
7
+ - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-05 00:00:00.000000000 Z
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
- - craig@barkingiguana.com
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
- rubyforge_project:
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