wca_i18n 0.4.3 → 0.4.4
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -12
- data/lib/wca_i18n/version.rb +1 -1
- data/lib/wca_i18n/yaml_to_enriched_ruby_hash.rb +1 -0
- metadata +7 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2d83fc07a32950b5c6dd5901b9069fea37cd51b4350de35c8ced8c39fb84fd3
|
|
4
|
+
data.tar.gz: 5b7a70f04b64b5d80adda2e977a882bdfc5b9aa6e7890ece5af1f6ac97061c15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 051dbff44fab404672157a6e0000216a216e505db49c85e66cf00cfe0e6a47737ee66e344360307538c77c05d36501636bab13a9f45cc690a1c687113db7ed2a
|
|
7
|
+
data.tar.gz: 17dab112e3fb171bbc7aaacfc2e99145c5b348d2a8e42cfca6243832506b6aca974b877b8d146564e81e8124c8f1dad9e662efafd0a54710359b05e7af96e21e
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
wca_i18n (0.4.
|
|
4
|
+
wca_i18n (0.4.4)
|
|
5
5
|
colorize (~> 0.8)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -11,19 +11,19 @@ GEM
|
|
|
11
11
|
colorize (0.8.1)
|
|
12
12
|
diff-lcs (1.3)
|
|
13
13
|
rake (10.5.0)
|
|
14
|
-
rspec (3.
|
|
15
|
-
rspec-core (~> 3.
|
|
16
|
-
rspec-expectations (~> 3.
|
|
17
|
-
rspec-mocks (~> 3.
|
|
18
|
-
rspec-core (3.
|
|
19
|
-
rspec-support (~> 3.
|
|
20
|
-
rspec-expectations (3.
|
|
14
|
+
rspec (3.8.0)
|
|
15
|
+
rspec-core (~> 3.8.0)
|
|
16
|
+
rspec-expectations (~> 3.8.0)
|
|
17
|
+
rspec-mocks (~> 3.8.0)
|
|
18
|
+
rspec-core (3.8.0)
|
|
19
|
+
rspec-support (~> 3.8.0)
|
|
20
|
+
rspec-expectations (3.8.1)
|
|
21
21
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
22
|
-
rspec-support (~> 3.
|
|
23
|
-
rspec-mocks (3.
|
|
22
|
+
rspec-support (~> 3.8.0)
|
|
23
|
+
rspec-mocks (3.8.0)
|
|
24
24
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
25
|
-
rspec-support (~> 3.
|
|
26
|
-
rspec-support (3.
|
|
25
|
+
rspec-support (~> 3.8.0)
|
|
26
|
+
rspec-support (3.8.0)
|
|
27
27
|
|
|
28
28
|
PLATFORMS
|
|
29
29
|
ruby
|
data/lib/wca_i18n/version.rb
CHANGED
|
@@ -3,6 +3,7 @@ require "psych"
|
|
|
3
3
|
module WcaI18n
|
|
4
4
|
PLURALIZATION_KEYS = %w(zero one two few many other).freeze
|
|
5
5
|
ORIGINAL_HASH_TAG = "#original_hash: ".freeze
|
|
6
|
+
SHOVEL = "<<".freeze
|
|
6
7
|
TranslatedLeaf = Struct.new(:translated, :original_hash)
|
|
7
8
|
|
|
8
9
|
# Re-implement some parts of the ToRuby emitter to inject our TranslatedLeaf where needs be
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wca_i18n
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- WCA Software Team
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-05-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -80,7 +80,7 @@ dependencies:
|
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0.8'
|
|
83
|
-
description:
|
|
83
|
+
description:
|
|
84
84
|
email:
|
|
85
85
|
- software@worldcubeassociation.org
|
|
86
86
|
executables:
|
|
@@ -110,7 +110,7 @@ homepage: https://github.com/thewca/wca_i18n
|
|
|
110
110
|
licenses:
|
|
111
111
|
- MIT
|
|
112
112
|
metadata: {}
|
|
113
|
-
post_install_message:
|
|
113
|
+
post_install_message:
|
|
114
114
|
rdoc_options: []
|
|
115
115
|
require_paths:
|
|
116
116
|
- lib
|
|
@@ -125,9 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
125
125
|
- !ruby/object:Gem::Version
|
|
126
126
|
version: '0'
|
|
127
127
|
requirements: []
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
signing_key:
|
|
128
|
+
rubygems_version: 3.3.7
|
|
129
|
+
signing_key:
|
|
131
130
|
specification_version: 4
|
|
132
131
|
summary: Track how up to date Rails translations are.
|
|
133
132
|
test_files: []
|