govuk_app_config 4.11.0 → 4.11.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
  SHA256:
3
- metadata.gz: 9a99ab31af0eeb89e3d7b1fb7538ea6095d52d93e08dbccd8cf17a9431beaa1e
4
- data.tar.gz: f3664830daf4a0900bad8f5087daf791969a9310e6a8d39c1b71165519600d2c
3
+ metadata.gz: 3860b6855cbcf400a78ac81032a4db049ee483a6c60614eab68e19f9340331e2
4
+ data.tar.gz: 8151cbc7c4be367f57c8dbaafdc5755beb09e410f474d8a9830f1f3fc3e89382
5
5
  SHA512:
6
- metadata.gz: 13ae8c4325ed10df67460a2eabce7fd6bd9da83b0d250ac7cbbefc78ab8d32fad2370f106cb323b38c14f379c27e881300ecc63adb4971caa3acd5aaa75df13d
7
- data.tar.gz: 6b439e2ea5f9970c9e9eb7ecd38e6389ab4f4a028b62b566c107fa6b79459f62a5ddb5eae016f16b8fbd74258dee339d93e802335270e6c321c39041e56bde88
6
+ metadata.gz: c2af9398cbf1d148e39f4d48b315bb7c10443f05737713c50f933ad4e3c3f69e4e45c5d19f79cfeb1a55f102e2477702cd77edd04a7d3ba654053d8b0caf7149
7
+ data.tar.gz: 553747a1e310ab22a5ccf2cc8da122dafc8fd46402262edefdf2bd2e897f510fdc976198f505f57b8657c256621d40b3d49931ec0f0822abc877eda94fcda41a
@@ -4,9 +4,7 @@ updates:
4
4
  directory: "/"
5
5
  schedule:
6
6
  interval: daily
7
- time: "03:00"
8
- open-pull-requests-limit: 10
9
- ignore:
10
- - dependency-name: aws-xray-sdk
11
- versions:
12
- - "> 0.10.0"
7
+ - package-ecosystem: "github-actions"
8
+ directory: "/"
9
+ schedule:
10
+ interval: daily
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 4.11.1
2
+
3
+ - Remove govuk_i18n plural rules file
4
+
1
5
  # 4.11.0
2
6
 
3
7
  - Update Plek support to allow version 5
@@ -37,6 +37,6 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency "rake", "~> 13.0"
38
38
  spec.add_development_dependency "rspec", "~> 3.10"
39
39
  spec.add_development_dependency "rspec-its", "~> 1.3"
40
- spec.add_development_dependency "rubocop-govuk", "4.8.0"
40
+ spec.add_development_dependency "rubocop-govuk", "4.9.0"
41
41
  spec.add_development_dependency "webmock"
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "4.11.0".freeze
2
+ VERSION = "4.11.1".freeze
3
3
  end
@@ -3,7 +3,6 @@ require "govuk_app_config/govuk_statsd"
3
3
  require "govuk_app_config/govuk_error"
4
4
  require "govuk_app_config/govuk_proxy/static_proxy"
5
5
  require "govuk_app_config/govuk_healthcheck"
6
- require "govuk_app_config/govuk_i18n"
7
6
  # This require is deprecated and should be removed on next major version bump
8
7
  # and should be required by applications directly.
9
8
  require "govuk_app_config/govuk_unicorn"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_app_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.11.0
4
+ version: 4.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-21 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstasher
@@ -252,14 +252,14 @@ dependencies:
252
252
  requirements:
253
253
  - - '='
254
254
  - !ruby/object:Gem::Version
255
- version: 4.8.0
255
+ version: 4.9.0
256
256
  type: :development
257
257
  prerelease: false
258
258
  version_requirements: !ruby/object:Gem::Requirement
259
259
  requirements:
260
260
  - - '='
261
261
  - !ruby/object:Gem::Version
262
- version: 4.8.0
262
+ version: 4.9.0
263
263
  - !ruby/object:Gem::Dependency
264
264
  name: webmock
265
265
  requirement: !ruby/object:Gem::Requirement
@@ -308,7 +308,6 @@ files:
308
308
  - lib/govuk_app_config/govuk_healthcheck/rails_cache.rb
309
309
  - lib/govuk_app_config/govuk_healthcheck/redis.rb
310
310
  - lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
311
- - lib/govuk_app_config/govuk_i18n.rb
312
311
  - lib/govuk_app_config/govuk_logging.rb
313
312
  - lib/govuk_app_config/govuk_prometheus_exporter.rb
314
313
  - lib/govuk_app_config/govuk_proxy/static_proxy.rb
@@ -1,78 +0,0 @@
1
- module GovukI18n
2
- def self.plurals
3
- {
4
- # Azerbaijani
5
- az: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
6
- # Welsh
7
- cy: { i18n: { plural: { keys: %i[zero one two few many other],
8
- rule:
9
- lambda do |n|
10
- case n
11
- when 0 then :zero
12
- when 1 then :one
13
- when 2 then :two
14
- when 3 then :few
15
- when 6 then :many
16
- else :other
17
- end
18
- end } } },
19
- # Dari - this isn't an iso code. Probably should be 'prs' as per ISO 639-3.
20
- dr: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
21
- # Latin America and Caribbean Spanish
22
- "es-419": { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
23
- # Persian
24
- fa: { i18n: { plural: { keys: %i[one other], rule: ->(n) { [0, 1].include?(n) ? :one : :other } } } },
25
- # Scottish Gaelic
26
- gd: { i18n: { plural: { keys: %i[one two few other],
27
- rule:
28
- lambda do |n|
29
- if [1, 11].include?(n)
30
- :one
31
- elsif [2, 12].include?(n)
32
- :two
33
- elsif [3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 16, 17, 18, 19].include?(n)
34
- :few
35
- else
36
- :other
37
- end
38
- end } } },
39
- # Armenian
40
- hy: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
41
- # Georgian
42
- ka: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
43
- # Kazakh
44
- kk: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
45
- # Punjabi Shahmukhi
46
- "pa-pk": { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
47
- # Maltese
48
- mt: { i18n: { plural: { keys: %i[one few many other],
49
- rule:
50
- lambda do |n|
51
- n ||= 0
52
- mod100 = n % 100
53
-
54
- if n == 1
55
- :one
56
- elsif n.zero? || (2..10).to_a.include?(mod100)
57
- :few
58
- elsif (11..19).to_a.include?(mod100)
59
- :many
60
- else
61
- :other
62
- end
63
- end } } },
64
- # Sinhalese
65
- si: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
66
- # Turkish
67
- tr: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
68
- # Uzbek
69
- uz: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
70
- # Chinese
71
- zh: { i18n: { plural: { keys: %i[other], rule: ->(_) { :other } } } },
72
- # Chinese Hong Kong
73
- "zh-hk" => { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
74
- # Chinese Taiwan
75
- "zh-tw" => { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
76
- }
77
- end
78
- end