r18n-core 2.1.4 → 2.1.5

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
  SHA1:
3
- metadata.gz: c76c8c41b1acd1e7f496a640d08c9456d6eca696
4
- data.tar.gz: 4e4a32751f04203d52adfe12fff9a24ee32d6adf
3
+ metadata.gz: fd9a66e4eaa844bf54da00c46f9cee94cc17aeae
4
+ data.tar.gz: 96922df7f0f8e8a2a1aaf0780209fc8cc31a65f8
5
5
  SHA512:
6
- metadata.gz: 95b408dc0e5d59cecdd1b81fdeff3c69374716dbf4ddfcb00323312e22084dcb46291328dae5f0a15ea61ce69d5d6a434c879c9193a44b32dcb05d183def00ec
7
- data.tar.gz: 38b9faff0ac42e2e541c9da31bb12c584226f2f3f5517eac39023875aa41bb318d9ac2f8de2dd09a2107ce43956bdf9e76baef89f828167c7a93ef874815cebe
6
+ metadata.gz: 76c32b637fdd52c47d95c4c7231ed1de6cd917bcc975a3b05ef2a459a488a9633729f641222f90fe8e14e3eb0d98c0e6d796e24a2565beca76496f91cc675a26
7
+ data.tar.gz: ea6dd26bae7c951de5507ad81976677bbf44d37449f0ea70e6e38eb29f5d68997beed374acddbdf46eaf5e702b4a234bffab8f43ed9dc0f7bd3341a648d84d47
data/ChangeLog.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 2.1.5 (මාතර)
2
+ * Fix Ruby 2.4 support (by Alexander Popov)
3
+
1
4
  ## 2.1.4 (Bakı)
2
5
  * Add Azerbaijani locale (by Adil Aliyev).
3
6
 
@@ -91,7 +94,7 @@
91
94
  * Add `Translation#inspect` to easy debug.
92
95
  * Return translation, when pluralization filter didn’t get count.
93
96
  * Set R18n backend on Rails plugin init, to use it in console.
94
- * Allow to use Fixnum in translation keys.
97
+ * Allow to use Integer in translation keys.
95
98
 
96
99
  ### 1.0.1 (Phuket Town)
97
100
  * Fix translation reloading in Rails and Sinatra.
@@ -252,7 +252,7 @@ module R18n
252
252
  end
253
253
 
254
254
  # Convert +object+ to String, according to the rules of the current locale.
255
- # It support Fixnum, Bignum, Float, Time, Date and DateTime.
255
+ # It support Integer, Float, Time, Date and DateTime.
256
256
  #
257
257
  # For time classes you can set +format+ in standard +strftime+ form,
258
258
  # <tt>:full</tt> (“01 Jule, 2009”), <tt>:human</tt> (“yesterday”),
@@ -141,7 +141,7 @@ module R18n
141
141
  "Locale #{code} (#{title})"
142
142
  end
143
143
 
144
- # Convert +object+ to String. It support Fixnum, Bignum, Float, Time, Date
144
+ # Convert +object+ to String. It support Integer, Float, Time, Date
145
145
  # and DateTime.
146
146
  #
147
147
  # For time classes you can set +format+ in standard +strftime+ form,
@@ -145,7 +145,7 @@ module R18n
145
145
  # Translation can contain variable part. Just set is as <tt>%1</tt>,
146
146
  # <tt>%2</tt>, etc in translations file and set values in next +params+.
147
147
  def [](name, *params)
148
- name = name.to_s if not name.is_a? String and not name.is_a? Fixnum
148
+ name = name.to_s if not name.is_a? String and not name.is_a? Integer
149
149
  value = @data[name]
150
150
  case value
151
151
  when TranslatedString
@@ -1,3 +1,3 @@
1
1
  module R18n
2
- VERSION = '2.1.4'.freeze unless defined? R18n::VERSION
2
+ VERSION = '2.1.5'.freeze unless defined? R18n::VERSION
3
3
  end
data/locales/az.rb CHANGED
@@ -19,6 +19,7 @@ module R18n
19
19
 
20
20
  number_decimal: ',',
21
21
  number_group: ' '
22
+
22
23
  def pluralize(n)
23
24
  'n'
24
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r18n-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-03 00:00:00.000000000 Z
11
+ date: 2017-02-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  R18n is a i18n tool to translate your Ruby application.
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  requirements: []
173
173
  rubyforge_project:
174
- rubygems_version: 2.5.1
174
+ rubygems_version: 2.5.2
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: I18n tool to translate your Ruby application.