jekyll-timeago 0.12.1 → 0.12.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: 6e0b337ab84b9a0877f22bf5f4c442d6f44daace
4
- data.tar.gz: c26bd56160a5effaf76a2968a96d9ee127ca4b86
3
+ metadata.gz: f8872e82d7ef88b8a7187e6a4ec46793ab14382b
4
+ data.tar.gz: 132ce65b75edd0e4a10cc5727094de7a839216e9
5
5
  SHA512:
6
- metadata.gz: e78fdab222809a2afd8d64504418bc8e620663b7bd23adad641b6f8acab3c9c4e4e7028379a6419fae924a7b131bb44b3183262e5ae6c93d466acd07ec10953a
7
- data.tar.gz: 3d7932fd4153e82fa8f47b817832d01054169c70102170e086d138d148b674fe96a493200098af41cb44c62cbf701751b561478386c1cbd1b5c8ccac7d4c9b27
6
+ metadata.gz: adb9cf8e58bc4fe81afb74f9b13e870d53faca734c004e95aabc1f2fc2ce6a6a5f80bf684649e5a1159886ceb06dc28906daa8df32c30a7e7aaabfb509307edb
7
+ data.tar.gz: 84ade933a75d07ff73b9bc111d2ad8e868e3bb0c490c28060e00720f3645fc1ca9d5f6b92e53feec9273ba5cc29eb47ac07316d35c1705418f462c37b13c2a4d
@@ -6,9 +6,9 @@ sudo: false
6
6
 
7
7
  rvm:
8
8
  - ruby-head
9
- - 2.5.1
10
- - 2.4.4
11
- - 2.3.7
9
+ - 2.5.3
10
+ - 2.4.5
11
+ - 2.3.8
12
12
 
13
13
  gemfile:
14
14
  - gemfiles/jekyll_v3.gemfile
@@ -21,13 +21,13 @@ matrix:
21
21
  gemfile: gemfiles/jekyll_v2.gemfile
22
22
  - rvm: ruby-head
23
23
  gemfile: gemfiles/jekyll_v1.gemfile
24
- - rvm: 2.5.1
24
+ - rvm: 2.5.3
25
25
  gemfile: gemfiles/jekyll_v2.gemfile
26
- - rvm: 2.5.1
26
+ - rvm: 2.5.3
27
27
  gemfile: gemfiles/jekyll_v1.gemfile
28
- - rvm: 2.4.4
28
+ - rvm: 2.4.5
29
29
  gemfile: gemfiles/jekyll_v2.gemfile
30
- - rvm: 2.4.4
30
+ - rvm: 2.4.5
31
31
  gemfile: gemfiles/jekyll_v1.gemfile
32
32
  allow_failures:
33
33
  - rvm: ruby-head
data/README.md CHANGED
@@ -159,7 +159,7 @@ Install the `gem` to your system:
159
159
  In your `_config.yml` file, add a new array with the key gems and the values of the gem names of the plugins you’d like to use. In this case:
160
160
 
161
161
  ```yaml
162
- gems:
162
+ plugins:
163
163
  - jekyll-timeago
164
164
  ```
165
165
 
@@ -1,22 +1,21 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "mini_i18n"
4
3
  require_relative "../lib/jekyll-timeago"
5
4
 
6
- help_message = <<END
7
- Usage:
5
+ help_message = <<~HELP_MESSAGE
6
+ Usage:
8
7
 
9
- jekyll-timeago <from_date> [to_date]
8
+ jekyll-timeago <from_date> [to_date]
10
9
 
11
- Notes:
12
- [to_date] Optional, defaults to current date
10
+ Notes:
11
+ [to_date] Optional, defaults to current date
13
12
 
14
- Options:
15
- --help, -h Prints this message
16
- --version, -v Prints the current version
17
- --console, -c Starts an interactive IRB session with jekyll-timeago included
18
- --locale, -l Uses the provided locale
19
- END
13
+ Options:
14
+ --help, -h Prints this message
15
+ --version, -v Prints the current version
16
+ --console, -c Starts an interactive IRB session with jekyll-timeago included
17
+ --locale, -l Uses the provided locale
18
+ HELP_MESSAGE
20
19
 
21
20
  if ARGV.empty? || ARGV.include?("--help") || ARGV.include?("-h")
22
21
  puts help_message
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Timeago
3
- VERSION = "0.12.1"
3
+ VERSION = "0.12.2"
4
4
  end
5
5
  end
@@ -0,0 +1,20 @@
1
+ ca:
2
+ today: 'avui'
3
+ yesterday: 'ahir'
4
+ tomorrow: 'demà'
5
+ past: 'fa %{date_range}'
6
+ future: "d'aquí %{date_range}"
7
+ last_word_connector: 'i'
8
+ words_connector: ', '
9
+ years:
10
+ one: '1 any'
11
+ other: '%{count} anys'
12
+ months:
13
+ one: '1 mes'
14
+ other: '%{count} mesos'
15
+ weeks:
16
+ one: '1 setmana'
17
+ other: '%{count} setmanes'
18
+ days:
19
+ one: '1 dia'
20
+ other: '%{count} dies'
@@ -8,7 +8,7 @@ de:
8
8
  words_connector: ', '
9
9
  years:
10
10
  one: '1 Jahr'
11
- other: "%{count} Jahre"
11
+ other: '%{count} Jahre'
12
12
  months:
13
13
  one: '1 Monat'
14
14
  other: '%{count} Monate'
@@ -8,7 +8,7 @@ en:
8
8
  words_connector: ', '
9
9
  years:
10
10
  one: '1 year'
11
- other: "%{count} years"
11
+ other: '%{count} years'
12
12
  months:
13
13
  one: '1 month'
14
14
  other: '%{count} months'
@@ -8,7 +8,7 @@ es:
8
8
  words_connector: ', '
9
9
  years:
10
10
  one: '1 año'
11
- other: "%{count} años"
11
+ other: '%{count} años'
12
12
  months:
13
13
  one: '1 mes'
14
14
  other: '%{count} meses'
@@ -8,7 +8,7 @@ fr:
8
8
  words_connector: ', '
9
9
  years:
10
10
  one: '1 année'
11
- other: "%{count} années"
11
+ other: '%{count} années'
12
12
  months:
13
13
  one: '1 mois'
14
14
  other: '%{count} mois'
@@ -8,7 +8,7 @@ it:
8
8
  words_connector: ', '
9
9
  years:
10
10
  one: '1 anno'
11
- other: "%{count} anni"
11
+ other: '%{count} anni'
12
12
  months:
13
13
  one: '1 mese'
14
14
  other: '%{count} mesi'
@@ -8,7 +8,7 @@ pt:
8
8
  words_connector: ', '
9
9
  years:
10
10
  one: '1 ano'
11
- other: "%{count} anos"
11
+ other: '%{count} anos'
12
12
  months:
13
13
  one: '1 mês'
14
14
  other: '%{count} meses'
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.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - markets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-17 00:00:00.000000000 Z
11
+ date: 2018-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mini_i18n
@@ -133,6 +133,7 @@ files:
133
133
  - lib/jekyll-timeago/core.rb
134
134
  - lib/jekyll-timeago/jekyll_integration.rb
135
135
  - lib/jekyll-timeago/version.rb
136
+ - lib/locales/ca.yml
136
137
  - lib/locales/de.yml
137
138
  - lib/locales/en.yml
138
139
  - lib/locales/es.yml