i18n_date_range 0.2.1 → 0.2.2

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: cccdf8466a4a86af47c5ce4f8e6401dbe867f4ae004b0cdfe9fcb51a816340cd
4
- data.tar.gz: cb6b34ae5f3be8f43c686ff11cb55c0aba2934bd15cdded13d2d96d7da51e65d
3
+ metadata.gz: afebdd0ed4c442670f29f0d6a69fd7940c04746782e8e6b75eabc524f7ec4152
4
+ data.tar.gz: 8fb9d60ccf6ec85efc202dbc1f14356c867c8930220c4675b6a04316712475fb
5
5
  SHA512:
6
- metadata.gz: 960d6c324b8009054801a59a4439c0b7d97959a3d7df274e5d9ec41088a5311f764cf3b94a8631c33a654c715786c06fc56cfef30908ad434322b6dc67205abc
7
- data.tar.gz: fd60aef7c2ba372ead575dc9793267a2ac8afacce6b4bce1989c26d45da48300ba80f8ee99b3990a1958fc786dc03abfbb5d03e50f87b3483bba943673b0f7d9
6
+ metadata.gz: 4eb6409e48b3a9b0d574ecd56d765c724483d3333da87e7eca1ea1309dd9cb03fefa23281f2563f467184ef0c75dad61bba714de877230c8eb5eb68f597ee2bf
7
+ data.tar.gz: 59f39bba2423aa30649a6cc85c2d0940a1d7b54b12312a5ac99682b178decf3308c0dc6b92480409422890b964771dc39cc8b6fe28d398350c3c7a45d25fef0a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- i18n_date_range (0.2.0)
4
+ i18n_date_range (0.2.2)
5
5
  rails
6
6
  rails-i18n
7
7
 
@@ -5,11 +5,11 @@ en-GB:
5
5
 
6
6
  date:
7
7
  formats:
8
- short:
8
+ rg_short:
9
9
  day: "%-d"
10
10
  day_month: "%-d %B"
11
11
  day_month_year: "%-d %B %Y"
12
- long:
12
+ rg_long:
13
13
  day: "%A %-d"
14
14
  day_month: "%A, %-d %B"
15
15
  day_month_year: "%A, %-d %B %Y"
@@ -5,11 +5,11 @@ en:
5
5
 
6
6
  date:
7
7
  formats:
8
- short:
8
+ rg_short:
9
9
  day: "%-d"
10
10
  day_month: "%B %-d"
11
11
  day_month_year: "%B %-d, %Y"
12
- long:
12
+ rg_long:
13
13
  day: "%A %-d"
14
14
  day_month: "%A, %B %-d"
15
15
  day_month_year: "%A, %B %-d, %Y"
@@ -5,11 +5,11 @@ fr:
5
5
 
6
6
  date:
7
7
  formats:
8
- short:
8
+ rg_short:
9
9
  day: "%-d"
10
10
  day_month: "%-d %B"
11
11
  day_month_year: "%-d %B %Y"
12
- long:
12
+ rg_long:
13
13
  day: "%A %-d"
14
14
  day_month: "%A %-d %B"
15
15
  day_month_year: "%A %-d %B %Y"
@@ -50,7 +50,7 @@ class I18nDateRangeGenerator
50
50
  def format_date(date, key)
51
51
  I18n.l(
52
52
  date,
53
- format: "#{format}.#{key}".to_sym
53
+ format: "rg_#{format}.#{key}".to_sym
54
54
  )
55
55
  end
56
56
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module I18nDateRange
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
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: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - pabois
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2023-09-10 00:00:00.000000000 Z
12
+ date: 2023-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails