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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e60ca2235b7e30b1670164d8260230f43be1b4c6145fa148e8859e0f3d8a977
4
- data.tar.gz: acaf53e591a132bfb4e0756d4698d2bf8045a9c4253c02b6ab9653ed0156a629
3
+ metadata.gz: 77208ae20cfea9699cc1370376bcd01da986535ff1c0da4274753ff3962d9561
4
+ data.tar.gz: 1ae1f3f25195fadf0827e578495cee2d155e9f68bbcda6d5b6716371399623e3
5
5
  SHA512:
6
- metadata.gz: dfb426bd4af9723dcb09ced8ce1c42426af84c5d6a6b95151dbe60cb6420d0a55210c474dc0579af05a5496c50c6cb7eec0c4bf4d69c2f05bbd014e79ec09294
7
- data.tar.gz: c3d504f5ba862444617a1f2c1df802e678ea18f45092b9fcb4b26a3c7a1bc4b24fb693645785abaa160900988d113855c8da64f0e755efc9286670b158a65d40
6
+ metadata.gz: 42824bc6669736faa73588cd4f4d8fdd070d26423bc53fc9024bcf91207c1033aed2c07ac9a778e4d351dd176e7c7ec4c795865227bd0bde2552c047c444162c
7
+ data.tar.gz: fa6bc663850c4c31b9a38c7ce291729a69e31e78b8ccdf7a292f4cfb46ce5f8d2b2c654bc61c321db0d0e2d07cc703b9d9edbf64fb92a0509e9eebaf2e9f1aa0
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.5
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.16.0)
5
- activesupport (>= 3.0.0, < 6.2.0)
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.0)
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.7)
18
+ concurrent-ruby (1.1.8)
19
19
  diff-lcs (1.4.4)
20
- i18n (1.8.5)
20
+ i18n (1.8.9)
21
21
  concurrent-ruby (~> 1.0)
22
- minitest (5.14.2)
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.messages.each_with_object({}) do |(attribute, array), messages|
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.messages.dup.map do |k, vs|
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]
@@ -1,3 +1,3 @@
1
1
  module Russian
2
- VERSION = "0.16.0"
2
+ VERSION = "0.17.0"
3
3
  end
@@ -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', ['>= 3.0.0', '< 6.2.0']
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
@@ -0,0 +1,4 @@
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
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.16.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: 2020-12-23 00:00:00.000000000 Z
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: 3.0.0
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: 3.0.0
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.1.4
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