relaton-render 0.3.5 → 0.3.5.1

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: ba6bd04a097e0a57a1b55548d1775f54297d707271da779330c679e1a1e3fc8f
4
- data.tar.gz: 39115748cd3ffea7793a2d662c22c26a4219baa4969e42b048aec0bc7c8a157f
3
+ metadata.gz: 463f69ee3cd8df231fa7b558afa3fdff0213a04619b9141ffd58d145ba9ad799
4
+ data.tar.gz: be68264b538433ac5ff334c18c19557743b3aeba46e773943ee93bcb11233d13
5
5
  SHA512:
6
- metadata.gz: ce06415c2964c88e26eea1db635bca0928c381e40f18f395a8a227ea848d65d0c025decba2df2141ff411e542d244724146834744024bd24b2b8e9e7a4eb0a51
7
- data.tar.gz: b0e94d253c820e8afb429ee8512de473c7a1a1f536ec6643efc7a7411bb46fba29ec104bcff7e764f4cd9cf2661023374521cf1fc5907b97ca9e564cf1e5bd52
6
+ metadata.gz: f2e68aa2f72a5afa9668bf2855a058bcc9d82b67648bcfc35bbe665e9894eea4b30d74c060dad833849c4236604efb24436fdf42f3f4683c2ef187807945a903
7
+ data.tar.gz: b9371ae7c68ab965722c9a5b11fb569828deb2a8a113853ab7c54aef09025d9eecd8097aa0cfdaf52216f8bc598b1939b4654441c64b96017448736d39f9ae2c
@@ -110,7 +110,7 @@ module Relaton
110
110
  end
111
111
  ruleset == "Digit" and return num.to_s
112
112
  ed = HTMLEntities.new.decode(@r.i18n.edition)
113
- @r.i18n.inflect_ordinal(num, @r.i18n.inflection&.dig(ed) || {},
113
+ @r.i18n.inflect_ordinal(num, @r.i18n.get["inflection"]&.dig(ed) || {},
114
114
  ruleset)
115
115
  end
116
116
 
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Render
3
- VERSION = "0.3.5".freeze
3
+ VERSION = "0.3.5.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-render
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-02 00:00:00.000000000 Z
11
+ date: 2022-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler