i18n_date_range 0.2.0 → 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: a362ba947e3513cdc187c338aa439670cd06280157979b8fabc3345d51b24984
4
- data.tar.gz: 20882671c1fcd39a191779b9aebe649a6405fde1450b49eb65941b1d9f250e17
3
+ metadata.gz: afebdd0ed4c442670f29f0d6a69fd7940c04746782e8e6b75eabc524f7ec4152
4
+ data.tar.gz: 8fb9d60ccf6ec85efc202dbc1f14356c867c8930220c4675b6a04316712475fb
5
5
  SHA512:
6
- metadata.gz: bc4de9e028967651ae957e974013da5aaf53c084d2d8651f5da0ce134791503ecd8e799bf05ef3c64b42ee003b2b69c1274dfd7af5377c4aa36e0dd68416ebd3
7
- data.tar.gz: fa97e0bb4dd5124d2bb27614ee31cd7a4ecb2a132b7467149e815568c7fe4ac9c280b78a399efd4cb6637684b54be285ec2d02f6c9c5c628a770dd156d5c12b6
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"
@@ -5,7 +5,7 @@ require_relative "lib/i18n_date_range/version"
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "i18n_date_range"
7
7
  spec.version = I18nDateRange::VERSION
8
- spec.authors = ["pabois"]
8
+ spec.authors = ["pabois", "arnaudlevy"]
9
9
  spec.email = ["pierreandre.boissinot@noesya.coop"]
10
10
 
11
11
  spec.summary = "Add helper to display a date range"
@@ -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.0"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_date_range
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - pabois
8
- autorequire:
8
+ - arnaudlevy
9
+ autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2023-09-10 00:00:00.000000000 Z
12
+ date: 2023-10-06 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rails
@@ -171,7 +172,7 @@ metadata:
171
172
  homepage_uri: https://github.com/noesya/i18n_date_range
172
173
  source_code_uri: https://github.com/noesya/i18n_date_range
173
174
  changelog_uri: https://github.com/noesya/i18n_date_range/CHANGELOG.md
174
- post_install_message:
175
+ post_install_message:
175
176
  rdoc_options: []
176
177
  require_paths:
177
178
  - lib
@@ -186,8 +187,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
187
  - !ruby/object:Gem::Version
187
188
  version: '0'
188
189
  requirements: []
189
- rubygems_version: 3.4.6
190
- signing_key:
190
+ rubygems_version: 3.1.4
191
+ signing_key:
191
192
  specification_version: 4
192
193
  summary: Add helper to display a date range
193
194
  test_files: []