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 +4 -4
- data/lib/fat_core/date.rb +2 -2
- data/lib/fat_core/version.rb +1 -1
- data/spec/lib/date_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc3a564ad53b3eb5945f32545fdf8af8366ef7ce240e7e1ebe03945f415537cf
|
4
|
+
data.tar.gz: 2ad4dfa0741f1c2aa5fc2784847f0cbafb1424813c4015695f73f6197f1bfc7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25f26b8dfc6ccfb532827ddd2462d535ae77e55077cc77ab99f3c651ebba23cc888effb5889563e35d88a4b58f17cf175193ada2a47ae908c44cf67fc47b9a59
|
7
|
+
data.tar.gz: 2c89a1274845159bec563b658f820921d95af07c058103df51c411db78c06c4b6d2a10629fe027ef6137c129a7e4157c35dd77db047b0b07c543f8d29f17f230
|
data/lib/fat_core/date.rb
CHANGED
@@ -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
|
-
|
71
|
+
strftime('%Y--%m--%d')
|
72
72
|
end
|
73
73
|
|
74
74
|
# :category: Formatting
|
data/lib/fat_core/version.rb
CHANGED
data/spec/lib/date_spec.rb
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2019-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simplecov
|