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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a461a19bf99a6641dd323cc311fbe23639a4eded603978e60eeac161bd3c881
4
- data.tar.gz: 36cd1871b9bba6edd02c1d2d61d4feba89e0975e5929ea69cb7997f0faa848e6
3
+ metadata.gz: 17137c2d5720a32705aa2c5f01886963a72bb56a9d2e77361bd69c541fbb242a
4
+ data.tar.gz: 7f313528923a2076a467c18469f12f04b30c636302820c932125e2b05fc1795d
5
5
  SHA512:
6
- metadata.gz: 387c7200e0aaf52c67f96e7f04b73188912e284dc6778802971dd25b84f6da64328c50eb62377036b1c34bf0c566a69a5384cdd954306704ee1f1f351ebabceb
7
- data.tar.gz: f29914c87ee1d593a383d16e1c3bb113df347708e1b3263efe3d3d71de2d1211fb4440687cabcb5de562e40c6dfbb7862401b104df4ffb72aaaaa0e6767382b9
6
+ metadata.gz: a92f094e1d0ec706b85447a330d71e78eb964e27e96682e5ca8e114d24615bbc17ea265a95c4e2ef08b8f1b272b4c690148f8b63a9b3e8a01ea2e78957a9a427
7
+ data.tar.gz: 77a2e4463705bc99bfd68c23c4d40e44c33e99fd3462173ccb07ae4c1659dd53db3164a2c2117c76879490df8f076ae54619dbf0bb4e288281c183530d167cb7
@@ -1,17 +1,15 @@
1
- dist: trusty
1
+ dist: xenial
2
2
  language: ruby
3
3
  rvm:
4
- - 2.6.0
5
- - 2.5.3
6
- - 2.4.5
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:
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.18.0
4
+
5
+ * Update jquery-timeago and locales from upstream
6
+
3
7
  ## 2.17.1
4
8
 
5
9
  * Maintenance release without code changes
data/Gemfile CHANGED
@@ -10,7 +10,7 @@ group :development do
10
10
  end
11
11
 
12
12
  group :test do
13
- gem 'capybara', '~> 2.8'
13
+ gem 'capybara', '~> 3.14'
14
14
  gem 'poltergeist', '~> 1.10'
15
15
  gem 'rspec', '~> 3.5'
16
16
  end
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.
@@ -4,8 +4,8 @@ module Rails
4
4
  module Timeago
5
5
  module VERSION
6
6
  MAJOR = 2
7
- MINOR = 17
8
- PATCH = 1
7
+ MINOR = 18
8
+ PATCH = 0
9
9
  STAGE = nil
10
10
  STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.').freeze
11
11
 
@@ -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.3
7
- * @requires jQuery v1.2.3+
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-2017, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org)
14
+ * Copyright (c) 2008-2019, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org)
15
15
  */
16
16
 
17
17
  (function (factory) {
@@ -13,6 +13,7 @@
13
13
  prefixFromNow: "in",
14
14
  suffixAgo: "",
15
15
  suffixFromNow: "",
16
+ inPast: "jetzt gleich",
16
17
  seconds: "wenigen Sekunden",
17
18
  minute: "etwa einer Minute",
18
19
  minutes: "%d Minuten",
@@ -7,7 +7,7 @@
7
7
  factory(jQuery);
8
8
  }
9
9
  }(function (jQuery) {
10
- // Persian
10
+ // Persian
11
11
  // Use DIR attribute for RTL text in Persian Language for ABBR tag .
12
12
  // By MB.seifollahi@gmail.com
13
13
  jQuery.timeago.settings.strings["fa"] = {
@@ -9,8 +9,8 @@
9
9
  }(function (jQuery) {
10
10
  // Portuguese
11
11
  jQuery.timeago.settings.strings["pt"] = {
12
- suffixAgo: "atrás",
13
- suffixFromNow: "a partir de agora",
12
+ prefixAgo: "",
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: "in timp de",
13
+ prefixFromNow: "peste",
14
14
  suffixAgo: "",
15
15
  suffixFromNow: "",
16
- seconds: "mai putin de un minut",
16
+ seconds: "mai puțin de un minut",
17
17
  minute: "un minut",
18
18
  minutes: "%d minute",
19
- hour: "o ora",
19
+ hour: "o oră",
20
20
  hours: "%d ore",
21
21
  day: "o zi",
22
22
  days: "%d zile",
23
- month: "o luna",
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.17.1
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-01-12 00:00:00.000000000 Z
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.2
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