i18n_date_range 2.1.0 → 2.1.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: eccf6668937f6b5ac4859e9e93c8b7fc670148255b3770d33af7050f1ea1b759
4
- data.tar.gz: b2a32a1b7e54919ed762c0558fa14a51faf3a8996110981f2522fd133867ad20
3
+ metadata.gz: 45ae5dfe748a63b919691eaf67872eb8f8775ff20a5eecec82f779f22b1cec25
4
+ data.tar.gz: 8460d8348f8261c65da25181dd194024eb6c80cb2eca5798ff8b334fd110068e
5
5
  SHA512:
6
- metadata.gz: '09789eb760b28e52537cb8adc815d8a7294b8bacf24f50220de04764f19bc69364a429b5742077cfa5dd8645b58417cbe59cf4f37e2fcf28851c49d18736bcfb'
7
- data.tar.gz: d5ad0aaef74b2b8b522b3765500149e1f6e80ed392bebd296543dbe3cbe5348d243569baa4450822d3d11ed59b07611d3c8a88c82e3fb14f89a8972e83b91c01
6
+ metadata.gz: '0415788951bc1dc174ed4e113a1b7ca769b9d6b91d42d203bf118d8e3e7619266e7d39824529315a6a9b6ca1fafcb806066e9c6d80dadb5712a1dbcd0e097258'
7
+ data.tar.gz: 07ac181766dade2105b1251973d21aeef3beb8b573944bff934bf5489541112a2560b42c0493f1857df57473a15d4e32dee7cecea42630ffef1ea51a4f4eb8e8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- i18n_date_range (2.1.0)
4
+ i18n_date_range (2.1.1)
5
5
  rails
6
6
  rails-i18n
7
7
 
@@ -7,7 +7,8 @@
7
7
  module I18nDateRangeHelper
8
8
 
9
9
  def date_range_i18n(from_date, to_date = nil, **options)
10
- generator = I18nDateRangeGenerator.new(from_date, to_date, **options.slice(:format, :layout))
10
+ generator_options = options.slice(:format, :layout, :locale)
11
+ generator = I18nDateRangeGenerator.new(from_date, to_date, **generator_options)
11
12
  generator.to_s.html_safe
12
13
  end
13
14
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module I18nDateRange
4
- VERSION = "2.1.0"
4
+ VERSION = "2.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_date_range
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - pabois