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 +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/lib/rails_translation_manager/version.rb +1 -1
- data/rails_translation_manager.gemspec +1 -1
- data/test/rails_translation_manager/exporter_test.rb +1 -1
- data/test/rails_translation_manager/yaml_writer_test.rb +1 -1
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4c06e241d0980a1a3a3aff952368374d48828fda9ce5f4c25dcdf0575dab782
|
4
|
+
data.tar.gz: d5b6c18c75cbab4af8049a4c4eef1271786726a03dbd10ed468f9fc7e8f9b93e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ab48e5f2b9e794efc34a17f10be561c45427d63bf4ca2e65c39da6c5491a3692139b2db0fbcba9b9398873945c41e8b814b4001f275f433ee4c80c48f0b5d09
|
7
|
+
data.tar.gz: 2729a5b80c06c3065e339520be25d4afabc1a7ab37ac5e502ed1701d9b85d9ba13dfd3289b2c858b847e99e5e2f17890a6c80f69f29c9cdd1969069dea627c7f
|
data/.github/workflows/ci.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.3.6
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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
|
-
|
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
|
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.
|
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-
|
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.
|
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.
|
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:
|