rails_translation_manager 1.7.0 → 1.8.0

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: 35e6ce2ef271522ff8d6d774923858bbd86682b5cb9cf5943c7e437346e5dd72
4
- data.tar.gz: 054d264a3955fd7030b4ae7a786f487607c5d1665fb3fb711155226ed5552a99
3
+ metadata.gz: a4c06e241d0980a1a3a3aff952368374d48828fda9ce5f4c25dcdf0575dab782
4
+ data.tar.gz: d5b6c18c75cbab4af8049a4c4eef1271786726a03dbd10ed468f9fc7e8f9b93e
5
5
  SHA512:
6
- metadata.gz: 3d8427543085ed1c6da6934ba5222666493e92e7f6ef7428aeb63190eaa5e52c207f80bed995447b87d2871b1a1713759be95fa48692051655c01c6a65403529
7
- data.tar.gz: 407c5222bbe5de884bf9e079dd460e86b7bb3cd667ef6ed6d2b181fb2a0e69d1296ac8e8ae889916308f8f047f225a88b39e686c591def63c9ee97eb6f7511d9
6
+ metadata.gz: 2ab48e5f2b9e794efc34a17f10be561c45427d63bf4ca2e65c39da6c5491a3692139b2db0fbcba9b9398873945c41e8b814b4001f275f433ee4c80c48f0b5d09
7
+ data.tar.gz: 2729a5b80c06c3065e339520be25d4afabc1a7ab37ac5e502ed1701d9b85d9ba13dfd3289b2c858b847e99e5e2f17890a6c80f69f29c9cdd1969069dea627c7f
@@ -16,7 +16,7 @@ jobs:
16
16
  strategy:
17
17
  fail-fast: false
18
18
  matrix:
19
- ruby: [3.1, 3.2]
19
+ ruby: [3.2, 3.3]
20
20
  runs-on: ubuntu-latest
21
21
  steps:
22
22
  - uses: actions/checkout@v4
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.5
1
+ 3.3.6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.8.0
2
+
3
+ * Drop support for Ruby 3.1, keep supporting Ruby 3.2, use Ruby 3.3 as default https://github.com/alphagov/rails_translation_manager/pull/78
4
+
1
5
  # 1.7.0
2
6
 
3
7
  * Drop support for Ruby 3.0
@@ -1,3 +1,3 @@
1
1
  module RailsTranslationManager
2
- VERSION = "1.7.0"
2
+ VERSION = "1.8.0"
3
3
  end
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = ""
14
14
  spec.license = "MIT"
15
15
 
16
- spec.required_ruby_version = ">= 3.1"
16
+ spec.required_ruby_version = ">= 3.2"
17
17
  spec.files = `git ls-files -z`.split("\x0")
18
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
@@ -95,7 +95,7 @@ module RailsTranslationManager
95
95
 
96
96
  data = read_csv_data(exported_file("fr.csv"))
97
97
  assert_equal ["French", nil], data["language_names.fr"]
98
- assert_equal nil, data["language_names.es"], "language key for spanish should not be present"
98
+ assert_nil data["language_names.es"], "language key for spanish should not be present"
99
99
  end
100
100
 
101
101
  test 'should export correct pluralization forms for target' do
@@ -35,7 +35,7 @@ module RailsTranslationManager
35
35
 
36
36
  DummyWriter.new.write_yaml(output_file, data)
37
37
 
38
- assert_match /\n$/, File.readlines(output_file).last
38
+ assert_match (/\n$/), File.readlines(output_file).last
39
39
  end
40
40
 
41
41
  test 'strips whitespace from the end of lines for consistency with code editors' do
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_translation_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-04 00:00:00.000000000 Z
10
+ date: 2024-12-27 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -221,7 +220,6 @@ homepage: ''
221
220
  licenses:
222
221
  - MIT
223
222
  metadata: {}
224
- post_install_message:
225
223
  rdoc_options: []
226
224
  require_paths:
227
225
  - lib
@@ -229,15 +227,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
229
227
  requirements:
230
228
  - - ">="
231
229
  - !ruby/object:Gem::Version
232
- version: '3.1'
230
+ version: '3.2'
233
231
  required_rubygems_version: !ruby/object:Gem::Requirement
234
232
  requirements:
235
233
  - - ">="
236
234
  - !ruby/object:Gem::Version
237
235
  version: '0'
238
236
  requirements: []
239
- rubygems_version: 3.5.11
240
- signing_key:
237
+ rubygems_version: 3.6.2
241
238
  specification_version: 4
242
239
  summary: Tasks to manage translation files
243
240
  test_files: