rails-timeago 2.8.0 → 2.8.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4af766feda7af8b74dc42a3e1fe0811223b96922
|
4
|
+
data.tar.gz: 5ff1c8eebfc68ea05c509d09d44d628565afe5a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 494b8fc6f112410f4721eafc4695e40721d641473d0784a1480a430b32dd432a4de1a2bf74a49ca79aba95408a906321ed03e1109cbee3283388b222ef42b3f9
|
7
|
+
data.tar.gz: 98e1e39c2bdb19b09433c3cc29727bb16b432527d1e5ce886fbcf3dca2fc5e87a0702cd484a449cf8ff0536cd75d0018063fe7be25fb741e5bfa173125a02d4a
|
@@ -16,6 +16,7 @@
|
|
16
16
|
//= require locales/jquery.timeago.fi.js
|
17
17
|
//= require locales/jquery.timeago.fr-short.js
|
18
18
|
//= require locales/jquery.timeago.fr.js
|
19
|
+
//= require locales/jquery.timeago.gl.js
|
19
20
|
//= require locales/jquery.timeago.he.js
|
20
21
|
//= require locales/jquery.timeago.hr.js
|
21
22
|
//= require locales/jquery.timeago.hu.js
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
|
4
4
|
*
|
5
5
|
* @name timeago
|
6
|
-
* @version 1.3.
|
6
|
+
* @version 1.3.1
|
7
7
|
* @requires jQuery v1.2.3+
|
8
8
|
* @author Ryan McGeary
|
9
9
|
* @license MIT License - http://www.opensource.org/licenses/mit-license.php
|
@@ -108,6 +108,7 @@
|
|
108
108
|
s = s.replace(/-/,"/").replace(/-/,"/");
|
109
109
|
s = s.replace(/T/," ").replace(/Z/," UTC");
|
110
110
|
s = s.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400
|
111
|
+
s = s.replace(/([\+\-]\d\d)$/," $100"); // +09 -> +0900
|
111
112
|
return new Date(s);
|
112
113
|
},
|
113
114
|
datetime: function(elem) {
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Galician
|
2
|
+
jQuery.timeago.settings.strings["gl"] = {
|
3
|
+
prefixAgo: "hai",
|
4
|
+
prefixFromNow: "dentro de",
|
5
|
+
suffixAgo: "",
|
6
|
+
suffixFromNow: "",
|
7
|
+
seconds: "menos dun minuto",
|
8
|
+
minute: "un minuto",
|
9
|
+
minutes: "uns %d minutos",
|
10
|
+
hour: "unha hora",
|
11
|
+
hours: "%d horas",
|
12
|
+
day: "un día",
|
13
|
+
days: "%d días",
|
14
|
+
month: "un mes",
|
15
|
+
months: "%d meses",
|
16
|
+
year: "un ano",
|
17
|
+
years: "%d anos"
|
18
|
+
};
|
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.8.
|
4
|
+
version: 2.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- vendor/assets/javascripts/locales/jquery.timeago.fi.js
|
92
92
|
- vendor/assets/javascripts/locales/jquery.timeago.fr-short.js
|
93
93
|
- vendor/assets/javascripts/locales/jquery.timeago.fr.js
|
94
|
+
- vendor/assets/javascripts/locales/jquery.timeago.gl.js
|
94
95
|
- vendor/assets/javascripts/locales/jquery.timeago.he.js
|
95
96
|
- vendor/assets/javascripts/locales/jquery.timeago.hr.js
|
96
97
|
- vendor/assets/javascripts/locales/jquery.timeago.hu.js
|
@@ -140,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
141
|
version: '0'
|
141
142
|
requirements: []
|
142
143
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.1.11
|
144
145
|
signing_key:
|
145
146
|
specification_version: 4
|
146
147
|
summary: A Rails Helper to create time tags usable for jQuery Timeago plugin
|