jekyll-timeago 0.14.0 → 0.15.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: 9650395244a487a5c4fb18cca3eb55076a65f2050c6d1537a54fb3202a8338ad
4
- data.tar.gz: 471232c523d47eb6d7eb09cbced7e5f497bb5ed32d0382361c3d37efc2489938
3
+ metadata.gz: 53219f64cf2f2296edacdf4a4404de70b5e046031266f00838b0913d69371c29
4
+ data.tar.gz: 8bba488eeb3a2498c03beb31c282300764392b3d392f7d5ec176682fd41847e8
5
5
  SHA512:
6
- metadata.gz: 3f832ed979255fe23c548ce3cd1a6999cc8ec0518ac5acb7ae6569f99e3c105a341c13ab94ab5d681707f4018b9176dff366189c61d9748ec3388298e32a21f3
7
- data.tar.gz: 56775c9e6256fa76fa214583e14cc642e2123e53d963523486391c6665a5513fc5ba4c14ecea2fcd03a9a771b7bee0998a2223ef63b80aeaf803003c4cb79e28
6
+ metadata.gz: 516cbd739e3c8c8824b441be6e83e079d9ea1009dfb59157b4d5dfbb35a56f352da704bfd10696ae17b6b957d308229c2553ef2e86cc0e2e14bf22c6ab18efcb
7
+ data.tar.gz: 57dfdd94cd19b7f7395ee73346d78766d376439673b665774c7befed2fe9cee19008ed3929744d6abcaf5699dc9afe57610e358cfa7e277e34153b2cab09f0e4
@@ -0,0 +1,23 @@
1
+ name: CI
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ test:
7
+ name: CI
8
+ runs-on: ubuntu-latest
9
+ env:
10
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', 'head']
15
+ gemfile: ['jekyll_v3', 'jekyll_v4']
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: ${{ matrix.ruby }}
21
+ bundler-cache: true
22
+ - run: bundle exec rspec
23
+ continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2013-2019 Marc Anguera Insa
1
+ Copyright 2013-2023 Marc Anguera Insa
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Jekyll-Timeago
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/jekyll-timeago.svg)](http://badge.fury.io/rb/jekyll-timeago)
4
- [![Build Status](https://travis-ci.org/markets/jekyll-timeago.svg?branch=master)](https://travis-ci.org/markets/jekyll-timeago)
3
+ [![Gem Version](https://img.shields.io/gem/v/jekyll-timeago.svg)](https://rubygems.org/gems/jekyll-timeago)
4
+ [![Build Status](https://github.com/markets/jekyll-timeago/workflows/CI/badge.svg)](https://github.com/markets/jekyll-timeago/actions)
5
5
  [![Maintainability](https://api.codeclimate.com/v1/badges/a8be458ba0532c2d057d/maintainability)](https://codeclimate.com/github/markets/jekyll-timeago/maintainability)
6
6
 
7
7
  > A Ruby library to compute distance of dates in words, with localization support. Originally built for Jekyll.
@@ -230,7 +230,7 @@ Any kind of feedback, bug report, idea or enhancement are really appreciated.
230
230
  To contribute, just fork the repo, hack on it and send a pull request. Don't forget to add specs for behaviour changes and run the test suite:
231
231
 
232
232
  ```
233
- > bundle exec rake
233
+ > bundle exec rspec
234
234
  ```
235
235
 
236
236
  ## License
data/Rakefile CHANGED
@@ -1,6 +1 @@
1
1
  require "bundler/gem_tasks"
2
- require 'rspec/core/rake_task'
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task :default => :spec
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
19
19
 
20
20
  spec.add_development_dependency "jekyll", ">= 1.5"
21
21
  spec.add_development_dependency "bundler"
22
- spec.add_development_dependency "rake"
23
22
  spec.add_development_dependency "rspec"
24
23
  spec.add_development_dependency "appraisal"
25
24
  end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Timeago
3
- VERSION = "0.14.0"
3
+ VERSION = "0.15.0"
4
4
  end
5
5
  end
data/lib/locales/de.yml CHANGED
@@ -2,16 +2,16 @@ de:
2
2
  today: 'heute'
3
3
  yesterday: 'gestern'
4
4
  tomorrow: 'morgen'
5
- past: '%{date_range} zuvor'
5
+ past: 'vor %{date_range}'
6
6
  future: 'in %{date_range}'
7
7
  last_word_connector: 'und'
8
8
  words_connector: ', '
9
9
  years:
10
10
  one: '1 Jahr'
11
- other: '%{count} Jahre'
11
+ other: '%{count} Jahren'
12
12
  months:
13
13
  one: '1 Monat'
14
- other: '%{count} Monate'
14
+ other: '%{count} Monaten'
15
15
  weeks:
16
16
  one: '1 Woche'
17
17
  other: '%{count} Wochen'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-timeago
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - markets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-30 00:00:00.000000000 Z
11
+ date: 2023-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mini_i18n
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rake
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rspec
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -103,8 +89,8 @@ executables:
103
89
  extensions: []
104
90
  extra_rdoc_files: []
105
91
  files:
92
+ - ".github/workflows/ci.yml"
106
93
  - ".gitignore"
107
- - ".travis.yml"
108
94
  - Appraisals
109
95
  - Gemfile
110
96
  - LICENSE
@@ -152,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
138
  - !ruby/object:Gem::Version
153
139
  version: '0'
154
140
  requirements: []
155
- rubygems_version: 3.0.3
141
+ rubygems_version: 3.1.4
156
142
  signing_key:
157
143
  specification_version: 4
158
144
  summary: A date helper to compute distance of dates in words.
data/.travis.yml DELETED
@@ -1,16 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- rvm:
4
- - ruby-head
5
- - 2.7.2
6
- - 2.6.3
7
- - 2.5.5
8
- - 2.4.5
9
-
10
- gemfile:
11
- - gemfiles/jekyll_v3.gemfile
12
- - gemfiles/jekyll_v4.gemfile
13
-
14
- matrix:
15
- allow_failures:
16
- - rvm: ruby-head