rails-timeago 2.4.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/rails-timeago.js +7 -3
- data/lib/rails-timeago/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91d64a43455626c006bf2b4bb506ac15a850f5fb
|
4
|
+
data.tar.gz: 06c7a8cf8f7962062b409e5b2f7c222bfbcb8f70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a77a4cd788a5d159ef293ad75b9d83645dafe66b1703110d51a2c2e1cd3d4d0f8bd1d4a3bc6861eceab536c0d1053299081bc106fd27a711210c0170aa793476
|
7
|
+
data.tar.gz: eb6390487526b6bf6d8912b5f97ab5d31d41a16c6038257307c95f056c938521106ba1a6bab56a2bc0a6b9b7460d57ac94d0e1a53fb1178c36ec0091a1477381
|
@@ -3,6 +3,10 @@
|
|
3
3
|
//
|
4
4
|
//= require jquery.timeago
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
(function($) {
|
7
|
+
$(document).on('ready page:load', function() {
|
8
|
+
$('time[data-time-ago]').each(function() {
|
9
|
+
$(this).timeago();
|
10
|
+
});
|
11
|
+
});
|
12
|
+
})(jQuery);
|
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.5.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: 2013-
|
11
|
+
date: 2013-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|