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 +4 -4
- data/.github/workflows/ci.yml +23 -0
- data/LICENSE +1 -1
- data/README.md +3 -3
- data/Rakefile +0 -5
- data/jekyll-timeago.gemspec +0 -1
- data/lib/jekyll-timeago/version.rb +1 -1
- data/lib/locales/de.yml +3 -3
- metadata +4 -18
- data/.travis.yml +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53219f64cf2f2296edacdf4a4404de70b5e046031266f00838b0913d69371c29
|
4
|
+
data.tar.gz: 8bba488eeb3a2498c03beb31c282300764392b3d392f7d5ec176682fd41847e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Jekyll-Timeago
|
2
2
|
|
3
|
-
[![Gem Version](https://
|
4
|
-
[![Build Status](https://
|
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
|
233
|
+
> bundle exec rspec
|
234
234
|
```
|
235
235
|
|
236
236
|
## License
|
data/Rakefile
CHANGED
data/jekyll-timeago.gemspec
CHANGED
@@ -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
|
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}
|
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}
|
11
|
+
other: '%{count} Jahren'
|
12
12
|
months:
|
13
13
|
one: '1 Monat'
|
14
|
-
other: '%{count}
|
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.
|
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:
|
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.
|
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.
|