fat_core 4.5.0 → 4.6.0

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: 97161dc36f0df6d27448883128611d04d79799b203402c1ab34e3d0cc23ba26d
4
- data.tar.gz: 829c70f974d3611ba92fbae68a9027f17e77c3a6a179190c4775fb97c86edae1
3
+ metadata.gz: bc3a564ad53b3eb5945f32545fdf8af8366ef7ce240e7e1ebe03945f415537cf
4
+ data.tar.gz: 2ad4dfa0741f1c2aa5fc2784847f0cbafb1424813c4015695f73f6197f1bfc7e
5
5
  SHA512:
6
- metadata.gz: 5803c35e300c504651264405c57578194c815ff644d6018f6a0f76e21879e6c78f7ecefd3ebb7fc88789571c05018e7b3d30a4816aa57f21660b6a6cc1ce2276
7
- data.tar.gz: 10757b373c5187a8f1eee6e9bc11dad73bd8965a78ea98b2225e1c459be112b7d2faa7fa21b7ff4c105c52087de1799200301714c9759367fb29debbe6965393
6
+ metadata.gz: 25f26b8dfc6ccfb532827ddd2462d535ae77e55077cc77ab99f3c651ebba23cc888effb5889563e35d88a4b58f17cf175193ada2a47ae908c44cf67fc47b9a59
7
+ data.tar.gz: 2c89a1274845159bec563b658f820921d95af07c058103df51c411db78c06c4b6d2a10629fe027ef6137c129a7e4157c35dd77db047b0b07c543f8d29f17f230
@@ -65,10 +65,10 @@ module FatCore
65
65
 
66
66
  # :category: Formatting
67
67
 
68
- # Format date to TeX documents as ISO strings
68
+ # Format date to TeX documents as ISO strings but with en-dashes
69
69
  # @return [String]
70
70
  def tex_quote
71
- iso
71
+ strftime('%Y--%m--%d')
72
72
  end
73
73
 
74
74
  # :category: Formatting
@@ -1,6 +1,6 @@
1
1
  module FatCore
2
2
  MAJOR = 4
3
- MINOR = 5
3
+ MINOR = 6
4
4
  PATCH = 0
5
5
 
6
6
  # FatCore version number
@@ -438,7 +438,7 @@ describe Date do
438
438
  end
439
439
 
440
440
  it 'should be able to print itself in tex_quote form' do
441
- expect(Date.today.tex_quote).to eq '2012-07-18'
441
+ expect(Date.today.tex_quote).to eq '2012--07--18'
442
442
  end
443
443
 
444
444
  it 'should be able to print itself in org form' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.0
4
+ version: 4.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel E. Doherty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-26 00:00:00.000000000 Z
11
+ date: 2019-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov