rs_russian 0.9.2 → 0.9.3

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: f295ea63db240fb3c88171a84fb4fe382b06b15e
4
- data.tar.gz: 964f4a1c737c49c9192e626dc51311c25cb19822
3
+ metadata.gz: 85aaa40356c6f18227bddf26d237380eb16226e6
4
+ data.tar.gz: cf7e805aa7abd3b72d6fed86a3a2bd5af18dfd15
5
5
  SHA512:
6
- metadata.gz: fba8338eb610117b005814c079649d953fb8db53ced331a98e0775f9c9750358f35ef2be2e248bd49ed9e49fc694c8df8592741f2f1eab025990f45fbaecce3d
7
- data.tar.gz: fd886e2f2b41ba97e584db222986ca9d59fc471947c61d8b0d172287272c7956a14f5c2753665f0ea5f2f645dac1c6939b7f25398db5a656aedecc2a3e95d285
6
+ metadata.gz: 60901148e00c1077cb4d3eec79b081af94953be9613410e37e62cc1db16d6f2e2edf593a4c575dc0c71200ebad46450a25926cf099a82641573f1f50daeba17e
7
+ data.tar.gz: 92076e6a18f48eab41b073993ac04f0c00791e8e60e28a27ac09a9346a194a7fee8d73577a5b9dd6d70d68158c17aa046cad24229ba380c958a06676ebe386a6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rs_russian (0.9.2)
4
+ rs_russian (0.9.3)
5
5
  activesupport (>= 3.0.0, < 5.0.0)
6
6
  i18n (>= 0.6.0, < 0.8.0)
7
7
  unicode (~> 0.4.4)
@@ -13,11 +13,11 @@ module RailsAdmin
13
13
  when '%B'
14
14
  english = I18n.t('date.month_names', :locale => :en)[1..-1]
15
15
  common_month_names = I18n.t('date.common_month_names')[1..-1]
16
- common_month_names.each_with_index {|m, i| str = str.gsub(/#{m}/i, english[i]) }
16
+ common_month_names.each_with_index {|m, i| str = str.gsub(/#{m}/i, english[i]) } unless str.blank?
17
17
  when '%b'
18
18
  english = I18n.t('date.abbr_month_names', :locale => :en)[1..-1]
19
19
  common_abbr_month_names = I18n.t('date.common_abbr_month_names')[1..-1]
20
- common_abbr_month_names.each_with_index {|m, i| str = str.gsub(/#{m}/i, english[i]) }
20
+ common_abbr_month_names.each_with_index {|m, i| str = str.gsub(/#{m}/i, english[i]) } unless str.blank?
21
21
  end
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Russian
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
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.9.2
4
+ version: 0.9.3
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: 2015-11-24 00:00:00.000000000 Z
12
+ date: 2015-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n