rs_russian 0.16.0 → 0.17.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.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile.lock +6 -6
- data/lib/russian/active_model_ext/custom_error_message.rb +3 -2
- data/lib/russian/version.rb +1 -1
- data/node_modules/.yarn-integrity +13 -0
- data/russian.gemspec +1 -1
- data/yarn.lock +4 -0
- metadata +7 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77208ae20cfea9699cc1370376bcd01da986535ff1c0da4274753ff3962d9561
|
|
4
|
+
data.tar.gz: 1ae1f3f25195fadf0827e578495cee2d155e9f68bbcda6d5b6716371399623e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42824bc6669736faa73588cd4f4d8fdd070d26423bc53fc9024bcf91207c1033aed2c07ac9a778e4d351dd176e7c7ec4c795865227bd0bde2552c047c444162c
|
|
7
|
+
data.tar.gz: fa6bc663850c4c31b9a38c7ce291729a69e31e78b8ccdf7a292f4cfb46ce5f8d2b2c654bc61c321db0d0e2d07cc703b9d9edbf64fb92a0509e9eebaf2e9f1aa0
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
ruby-2.6.6
|
data/Gemfile.lock
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rs_russian (0.
|
|
5
|
-
activesupport (>=
|
|
4
|
+
rs_russian (0.17.0)
|
|
5
|
+
activesupport (>= 6.1.0, < 6.2.0)
|
|
6
6
|
i18n (~> 1.8.0)
|
|
7
7
|
unicode (~> 0.4.4)
|
|
8
8
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
activesupport (6.1.
|
|
12
|
+
activesupport (6.1.3)
|
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
14
14
|
i18n (>= 1.6, < 2)
|
|
15
15
|
minitest (>= 5.1)
|
|
16
16
|
tzinfo (~> 2.0)
|
|
17
17
|
zeitwerk (~> 2.3)
|
|
18
|
-
concurrent-ruby (1.1.
|
|
18
|
+
concurrent-ruby (1.1.8)
|
|
19
19
|
diff-lcs (1.4.4)
|
|
20
|
-
i18n (1.8.
|
|
20
|
+
i18n (1.8.9)
|
|
21
21
|
concurrent-ruby (~> 1.0)
|
|
22
|
-
minitest (5.14.
|
|
22
|
+
minitest (5.14.3)
|
|
23
23
|
rake (10.5.0)
|
|
24
24
|
rspec (2.99.0)
|
|
25
25
|
rspec-core (~> 2.99.0)
|
|
@@ -25,13 +25,14 @@ if defined?(ActiveModel::Errors)
|
|
|
25
25
|
end
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
+
alias_method :to_hash_old, :to_hash
|
|
28
29
|
def to_hash(full_messages = false)
|
|
29
30
|
if full_messages
|
|
30
|
-
self.
|
|
31
|
+
self.to_hash_old.each_with_object({}) do |(attribute, array), messages|
|
|
31
32
|
messages[attribute] = array.map { |message| full_message(attribute, message) }
|
|
32
33
|
end
|
|
33
34
|
else
|
|
34
|
-
self.
|
|
35
|
+
self.to_hash_old.map do |k, vs|
|
|
35
36
|
m = vs.map do |v|
|
|
36
37
|
if v =~ /^\^/
|
|
37
38
|
v[1..-1]
|
data/lib/russian/version.rb
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"systemParams": "linux-x64-72",
|
|
3
|
+
"modulesFolders": [],
|
|
4
|
+
"flags": [],
|
|
5
|
+
"linkedModules": [
|
|
6
|
+
"extract-css-chunks-webpack-plugin",
|
|
7
|
+
"react-notification-system-redux"
|
|
8
|
+
],
|
|
9
|
+
"topLevelPatterns": [],
|
|
10
|
+
"lockfileEntries": {},
|
|
11
|
+
"files": [],
|
|
12
|
+
"artifacts": {}
|
|
13
|
+
}
|
data/russian.gemspec
CHANGED
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
|
|
21
21
|
spec.add_dependency 'i18n', '~> 1.8.0'
|
|
22
22
|
spec.add_dependency 'unicode', '~> 0.4.4'
|
|
23
|
-
spec.add_dependency 'activesupport', ['>=
|
|
23
|
+
spec.add_dependency 'activesupport', ['>= 6.1.0', '< 6.2.0']
|
|
24
24
|
|
|
25
25
|
spec.add_development_dependency 'bundler', '~> 1.14'
|
|
26
26
|
spec.add_development_dependency 'rake', '< 11.0'
|
data/yarn.lock
ADDED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rs_russian
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.17.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- glebtv
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2021-02-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: i18n
|
|
@@ -45,7 +45,7 @@ dependencies:
|
|
|
45
45
|
requirements:
|
|
46
46
|
- - ">="
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version:
|
|
48
|
+
version: 6.1.0
|
|
49
49
|
- - "<"
|
|
50
50
|
- !ruby/object:Gem::Version
|
|
51
51
|
version: 6.2.0
|
|
@@ -55,7 +55,7 @@ dependencies:
|
|
|
55
55
|
requirements:
|
|
56
56
|
- - ">="
|
|
57
57
|
- !ruby/object:Gem::Version
|
|
58
|
-
version:
|
|
58
|
+
version: 6.1.0
|
|
59
59
|
- - "<"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: 6.2.0
|
|
@@ -135,6 +135,7 @@ files:
|
|
|
135
135
|
- lib/russian/russian_rails.rb
|
|
136
136
|
- lib/russian/transliteration.rb
|
|
137
137
|
- lib/russian/version.rb
|
|
138
|
+
- node_modules/.yarn-integrity
|
|
138
139
|
- russian.gemspec
|
|
139
140
|
- spec/fixtures/en.yml
|
|
140
141
|
- spec/fixtures/ru.yml
|
|
@@ -144,6 +145,7 @@ files:
|
|
|
144
145
|
- spec/russian_spec.rb
|
|
145
146
|
- spec/spec_helper.rb
|
|
146
147
|
- spec/transliteration_spec.rb
|
|
148
|
+
- yarn.lock
|
|
147
149
|
homepage: https://github.com/rs-pro/russian
|
|
148
150
|
licenses:
|
|
149
151
|
- MIT
|
|
@@ -163,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
163
165
|
- !ruby/object:Gem::Version
|
|
164
166
|
version: '0'
|
|
165
167
|
requirements: []
|
|
166
|
-
rubygems_version: 3.
|
|
168
|
+
rubygems_version: 3.0.3
|
|
167
169
|
signing_key:
|
|
168
170
|
specification_version: 4
|
|
169
171
|
summary: Russian language support for Ruby and Rails
|