plek 0.1.24 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/plek.rb +9 -9
  2. data/lib/plek/version.rb +1 -1
  3. metadata +5 -5
data/lib/plek.rb CHANGED
@@ -12,9 +12,9 @@ class Plek
12
12
  "production.arbiter" => "panopticon.production.alphagov.co.uk",
13
13
  "production.assets" => "static.production.alphagov.co.uk",
14
14
  "production.cdn" => "d17tffe05zdvwj.cloudfront.net",
15
- "production.publicationpreview" => "private-frontend.production.alphagov.co.uk",
15
+ "production.publication-preview" => "private-frontend.production.alphagov.co.uk",
16
16
  "production.whitehall" => "whitehall.production.alphagov.co.uk",
17
- "production.whitehallsearch" => "whitehall-search.production.alphagov.co.uk",
17
+ "production.whitehall-search" => "whitehall-search.production.alphagov.co.uk",
18
18
  "production.#{DEFAULT_PATTERN}" => "%s.production.alphagov.co.uk",
19
19
 
20
20
  "preview.frontend" => "www.preview.alphagov.co.uk",
@@ -24,10 +24,10 @@ class Plek
24
24
  "preview.arbiter" => "panopticon.preview.alphagov.co.uk",
25
25
  "preview.assets" => "static.preview.alphagov.co.uk",
26
26
  "preview.cdn" => "djb1962t8apu5.cloudfront.net",
27
- "preview.publicationpreview" => "private-frontend.preview.alphagov.co.uk",
27
+ "preview.publication-preview" => "private-frontend.preview.alphagov.co.uk",
28
28
  "preview.tariff" => "tariff.preview.alphagov.co.uk",
29
29
  "preview.whitehall" => "whitehall.preview.alphagov.co.uk",
30
- "preview.whitehallsearch" => "whitehall-search.preview.alphagov.co.uk",
30
+ "preview.whitehall-search" => "whitehall-search.preview.alphagov.co.uk",
31
31
  "preview.#{DEFAULT_PATTERN}" => "%s.preview.alphagov.co.uk",
32
32
 
33
33
  "staging.frontend" => "demo.alphagov.co.uk",
@@ -38,7 +38,7 @@ class Plek
38
38
  "staging.arbiter" => "panopticon.staging.alphagov.co.uk",
39
39
  "staging.assets" => "static.staging.alphagov.co.uk",
40
40
  "staging.assets" => "static.staging.alphagov.co.uk",
41
- "staging.publicationpreview" => "private-frontend.staging.alphagov.co.uk",
41
+ "staging.publication-preview" => "private-frontend.staging.alphagov.co.uk",
42
42
  "staging.#{DEFAULT_PATTERN}" => "%s.staging.alphagov.co.uk",
43
43
 
44
44
  "development.authentication" => "signon.dev.gov.uk",
@@ -47,17 +47,17 @@ class Plek
47
47
  "development.arbiter" => "panopticon.dev.gov.uk",
48
48
  "development.assets" => "static.dev.gov.uk",
49
49
  "development.cdn" => "static.dev.gov.uk",
50
- "development.publicationpreview" => "www.dev.gov.uk",
50
+ "development.publication-preview"=> "www.dev.gov.uk",
51
51
  "development.#{DEFAULT_PATTERN}" => "%s.dev.gov.uk",
52
52
 
53
53
  "test.authentication" => "signon.test.gov.uk",
54
54
  "test.needs" => "needotron.test.gov.uk",
55
55
  "test.data" => "imminence.test.gov.uk",
56
56
  "test.arbiter" => "panopticon.test.gov.uk",
57
- "test.publicationpreview" => "www.test.gov.uk",
57
+ "test.publication-preview" => "www.test.gov.uk",
58
58
  "test.cdn" => "static.test.gov.uk",
59
59
  "test.whitehall" => "whitehall.test.alphagov.co.uk",
60
- "test.whitehallsearch" => "whitehall-search.test.alphagov.co.uk",
60
+ "test.whitehall-search" => "whitehall-search.test.alphagov.co.uk",
61
61
  "test.#{DEFAULT_PATTERN}" => "%s.test.gov.uk",
62
62
  }.freeze
63
63
 
@@ -164,7 +164,7 @@ class Plek
164
164
  name = service.to_s.dup
165
165
  name.downcase!
166
166
  name.strip!
167
- name.gsub!(/[^a-z]+/, '')
167
+ name.gsub!(/[^a-z\.-]+/, '')
168
168
  name
169
169
  end
170
170
 
data/lib/plek/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Plek
2
- VERSION = '0.1.24'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: plek
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.24
5
+ version: 0.2.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Craig R Webster
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-06-12 00:00:00 Z
13
+ date: 2012-07-19 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: builder
@@ -71,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
- hash: -4269821268210139729
74
+ hash: -2886668596905789018
75
75
  segments:
76
76
  - 0
77
77
  version: "0"
@@ -80,14 +80,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- hash: -4269821268210139729
83
+ hash: -2886668596905789018
84
84
  segments:
85
85
  - 0
86
86
  version: "0"
87
87
  requirements: []
88
88
 
89
89
  rubyforge_project:
90
- rubygems_version: 1.8.12
90
+ rubygems_version: 1.8.24
91
91
  signing_key:
92
92
  specification_version: 3
93
93
  summary: Locations for services