jekyll-timeago 0.8.1 → 0.8.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
  SHA1:
3
- metadata.gz: c86f9f05a1d2feb029a190d319b865c7bc734125
4
- data.tar.gz: 1fc3bb4f71197f5fbf218bf7b56b60ecd3bd5682
3
+ metadata.gz: e3e837b2ed5dcbda0f670f70fff6b3fb452cfcbd
4
+ data.tar.gz: 2ee469fdc89b8ff0d59523e8194b4ae9e442b0fc
5
5
  SHA512:
6
- metadata.gz: 9f9f00d00ed82b4ed9d657776cbdbd03eb552e696d2f6373d74f8a593e8cc03ef7e870f93db20bbc1c223aa90d1f113e49b3bd4da4e543052adf10dac1ede0b4
7
- data.tar.gz: 2521d07fab0a390e0e8b7d343bf6b36c0d5625ea9b7575b12ae803f7fdee1f830b4c72e159de37cd469dd42d50a64b967d5dbcc9c8f18fe5bc88ef464b97375d
6
+ metadata.gz: 79a66d9cd557b7e65812ece1a6f05a6aba977bb8ec1eda548ddce07686b86fe428da0c66d2fa83caba844355d70bcc165fda5a82d17e612b941e65502b4cf94a
7
+ data.tar.gz: e1e6cd96779c0a83dc23e00c4b10b5260e8578ed73ae891e5d2446f23d672abf2e3feb1ce783142347df1444c3fe2d01ed1b1a93c651926b71621a2294c90e94
@@ -58,7 +58,7 @@ module Jekyll
58
58
  def setup
59
59
  @options = {
60
60
  :depth => jekyll_config['depth'] || DEFAULT_DEPTH_LEVEL,
61
- :today => jekyll_config['day'] || 'today',
61
+ :today => jekyll_config['today'] || 'today',
62
62
  :yesterday => jekyll_config['yesterday'] || 'yesterday',
63
63
  :tomorrow => jekyll_config['tomorrow'] || 'tomorrow',
64
64
  :and => jekyll_config['and'] ||'and',
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Timeago
3
- VERSION = "0.8.1"
3
+ VERSION = "0.8.2"
4
4
  end
5
5
  end
@@ -55,6 +55,7 @@ describe Jekyll::Timeago do
55
55
  expect(timeago('2010-1-1', '2012-1-1')).to eql('2 years ago')
56
56
  expect(timeago('2010/1/1', '2012/1/1')).to eql('2 years ago')
57
57
  expect(timeago('Jan 2010, 1', 'Jan 2012, 1')).to eql('2 years ago')
58
+ expect(timeago('2014-10-06 20:00:00', '2014-10-07 20:00:00')).to eql('yesterday')
58
59
  end
59
60
 
60
61
  it 'allow to change level of detail' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-timeago
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - markets