rails-timeago 2.17.1 → 2.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -6
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/README.md +0 -1
- data/lib/rails-timeago/version.rb +2 -2
- data/spec/spec_helper.rb +2 -1
- data/vendor/assets/javascripts/jquery.timeago.js +3 -3
- data/vendor/assets/javascripts/locales/jquery.timeago.de.js +1 -0
- data/vendor/assets/javascripts/locales/jquery.timeago.fa.js +1 -1
- data/vendor/assets/javascripts/locales/jquery.timeago.pt.js +2 -2
- data/vendor/assets/javascripts/locales/jquery.timeago.ro.js +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17137c2d5720a32705aa2c5f01886963a72bb56a9d2e77361bd69c541fbb242a
|
4
|
+
data.tar.gz: 7f313528923a2076a467c18469f12f04b30c636302820c932125e2b05fc1795d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a92f094e1d0ec706b85447a330d71e78eb964e27e96682e5ca8e114d24615bbc17ea265a95c4e2ef08b8f1b272b4c690148f8b63a9b3e8a01ea2e78957a9a427
|
7
|
+
data.tar.gz: 77a2e4463705bc99bfd68c23c4d40e44c33e99fd3462173ccb07ae4c1659dd53db3164a2c2117c76879490df8f076ae54619dbf0bb4e288281c183530d167cb7
|
data/.travis.yml
CHANGED
@@ -1,17 +1,15 @@
|
|
1
|
-
dist:
|
1
|
+
dist: xenial
|
2
2
|
language: ruby
|
3
3
|
rvm:
|
4
|
-
- 2.6.
|
5
|
-
- 2.5.
|
6
|
-
- 2.4.
|
4
|
+
- 2.6.5
|
5
|
+
- 2.5.7
|
6
|
+
- 2.4.9
|
7
7
|
- 2.3.8
|
8
8
|
before_install:
|
9
9
|
- gem install bundler
|
10
10
|
jobs:
|
11
11
|
include:
|
12
12
|
- stage: Release
|
13
|
-
rvm: 2.6.0
|
14
|
-
env: []
|
15
13
|
script: skip
|
16
14
|
install: skip
|
17
15
|
deploy:
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/rails-timeago.svg)](http://badge.fury.io/rb/rails-timeago)
|
4
4
|
[![Build Status](https://travis-ci.org/jgraichen/rails-timeago.svg?branch=master)](https://travis-ci.org/jgraichen/rails-timeago)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/jgraichen/rails-timeago.svg)](https://codeclimate.com/github/jgraichen/rails-timeago)
|
6
|
-
[![Dependency Status](https://gemnasium.com/jgraichen/rails-timeago.svg)](https://gemnasium.com/jgraichen/rails-timeago)
|
7
6
|
|
8
7
|
**rails-timeago** provides a timeago_tag helper to create time tags usable for
|
9
8
|
[jQuery Timeago](https://github.com/rmm5t/jquery-timeago) plugin.
|
data/spec/spec_helper.rb
CHANGED
@@ -10,8 +10,9 @@ require 'capybara/poltergeist'
|
|
10
10
|
require File.dirname(__FILE__) + '/../lib/rails-timeago.rb'
|
11
11
|
require File.dirname(__FILE__) + '/support/stub.rb'
|
12
12
|
|
13
|
-
Capybara.javascript_driver = :poltergeist
|
14
13
|
Capybara.app = Application.instance
|
14
|
+
Capybara.javascript_driver = :poltergeist
|
15
|
+
Capybara.server = :webrick
|
15
16
|
|
16
17
|
RSpec.configure do |config|
|
17
18
|
config.mock_with :rspec
|
@@ -3,15 +3,15 @@
|
|
3
3
|
* updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
|
4
4
|
*
|
5
5
|
* @name timeago
|
6
|
-
* @version 1.6.
|
7
|
-
* @requires jQuery
|
6
|
+
* @version 1.6.7
|
7
|
+
* @requires jQuery >=1.5.0 <4.0
|
8
8
|
* @author Ryan McGeary
|
9
9
|
* @license MIT License - http://www.opensource.org/licenses/mit-license.php
|
10
10
|
*
|
11
11
|
* For usage and examples, visit:
|
12
12
|
* http://timeago.yarp.com/
|
13
13
|
*
|
14
|
-
* Copyright (c) 2008-
|
14
|
+
* Copyright (c) 2008-2019, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org)
|
15
15
|
*/
|
16
16
|
|
17
17
|
(function (factory) {
|
@@ -9,8 +9,8 @@
|
|
9
9
|
}(function (jQuery) {
|
10
10
|
// Portuguese
|
11
11
|
jQuery.timeago.settings.strings["pt"] = {
|
12
|
-
|
13
|
-
|
12
|
+
prefixAgo: "há",
|
13
|
+
prefixFromNow: "daqui a",
|
14
14
|
seconds: "menos de um minuto",
|
15
15
|
minute: "cerca de um minuto",
|
16
16
|
minutes: "%d minutos",
|
@@ -10,17 +10,17 @@
|
|
10
10
|
// Romanian
|
11
11
|
jQuery.timeago.settings.strings["ro"] = {
|
12
12
|
prefixAgo: "acum",
|
13
|
-
prefixFromNow: "
|
13
|
+
prefixFromNow: "peste",
|
14
14
|
suffixAgo: "",
|
15
15
|
suffixFromNow: "",
|
16
|
-
seconds: "mai
|
16
|
+
seconds: "mai puțin de un minut",
|
17
17
|
minute: "un minut",
|
18
18
|
minutes: "%d minute",
|
19
|
-
hour: "o
|
19
|
+
hour: "o oră",
|
20
20
|
hours: "%d ore",
|
21
21
|
day: "o zi",
|
22
22
|
days: "%d zile",
|
23
|
-
month: "o
|
23
|
+
month: "o lună",
|
24
24
|
months: "%d luni",
|
25
25
|
year: "un an",
|
26
26
|
years: "%d ani"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-timeago
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
|
-
rubygems_version: 3.0.
|
155
|
+
rubygems_version: 3.0.3
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: A Rails Helper to create time tags usable for jQuery Timeago plugin
|