timeago_js 3.0.2 → 3.0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +5 -5
  2. data/assets/javascripts/timeago/locales/ar.js +1 -1
  3. data/assets/javascripts/timeago/locales/be.js +1 -1
  4. data/assets/javascripts/timeago/locales/bg.js +1 -1
  5. data/assets/javascripts/timeago/locales/ca.js +1 -1
  6. data/assets/javascripts/timeago/locales/da.js +1 -1
  7. data/assets/javascripts/timeago/locales/de.js +1 -1
  8. data/assets/javascripts/timeago/locales/el.js +1 -1
  9. data/assets/javascripts/timeago/locales/en.js +1 -1
  10. data/assets/javascripts/timeago/locales/en_short.js +1 -1
  11. data/assets/javascripts/timeago/locales/es.js +1 -1
  12. data/assets/javascripts/timeago/locales/eu.js +1 -1
  13. data/assets/javascripts/timeago/locales/fa.js +1 -1
  14. data/assets/javascripts/timeago/locales/fi.js +1 -1
  15. data/assets/javascripts/timeago/locales/fr.js +1 -1
  16. data/assets/javascripts/timeago/locales/he.js +1 -1
  17. data/assets/javascripts/timeago/locales/hu.js +1 -1
  18. data/assets/javascripts/timeago/locales/in_BG.js +1 -1
  19. data/assets/javascripts/timeago/locales/in_HI.js +1 -1
  20. data/assets/javascripts/timeago/locales/in_ID.js +1 -1
  21. data/assets/javascripts/timeago/locales/it.js +1 -1
  22. data/assets/javascripts/timeago/locales/ja.js +1 -1
  23. data/assets/javascripts/timeago/locales/ko.js +1 -1
  24. data/assets/javascripts/timeago/locales/ml.js +1 -1
  25. data/assets/javascripts/timeago/locales/my.js +1 -1
  26. data/assets/javascripts/timeago/locales/nb_NO.js +1 -1
  27. data/assets/javascripts/timeago/locales/nl.js +1 -1
  28. data/assets/javascripts/timeago/locales/nn_NO.js +1 -1
  29. data/assets/javascripts/timeago/locales/pl.js +1 -1
  30. data/assets/javascripts/timeago/locales/pt_BR.js +1 -1
  31. data/assets/javascripts/timeago/locales/ro.js +1 -1
  32. data/assets/javascripts/timeago/locales/ru.js +1 -1
  33. data/assets/javascripts/timeago/locales/sv.js +1 -1
  34. data/assets/javascripts/timeago/locales/ta.js +1 -1
  35. data/assets/javascripts/timeago/locales/th.js +1 -1
  36. data/assets/javascripts/timeago/locales/tr.js +1 -1
  37. data/assets/javascripts/timeago/locales/uk.js +1 -1
  38. data/assets/javascripts/timeago/locales/vi.js +1 -1
  39. data/assets/javascripts/timeago/locales/zh_CN.js +1 -1
  40. data/assets/javascripts/timeago/locales/zh_TW.js +1 -1
  41. data/lib/timeago_js/version.rb +1 -1
  42. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4ef3bb58fb89266b9e5d3afea9587ad9c302b1a5
4
- data.tar.gz: c61821fe0f804b3232cd5ef5de07712d8db0f870
2
+ SHA256:
3
+ metadata.gz: 40128655c38e2de6987749c03ff2ab393c44e71269baf6c5e991ada285ef5b25
4
+ data.tar.gz: c8e0e5a714eb0818d6e1ddd3054645c737618616ed7c9018b78c965bcdf98e69
5
5
  SHA512:
6
- metadata.gz: cc48621b5533d3ccdd1bbae2aef639f2ce266e8ebff56127f887271dcecf3a33739ee25612f5c6a6cfd35ef3b3cc45542c18239d9a2d5d506caa1f3fbda73e6b
7
- data.tar.gz: 7d2116a5a4c2998ac150400256353f1679d2591fcb3d903fbe57041b2d6603e26d0e187f47af382aea992f509768f82435f791b9f3aa2b4587f6ae24ff55a933
6
+ metadata.gz: fbe9da092ca0f138f29ce7cd6c6736cd5c31c9e59e281136ff9d89b296f3206a2beb3b3b03be9ac6f912ab411c36dc13f6246dd7765a64a5682b475e8fe060a1
7
+ data.tar.gz: 72ba6039e5a567b3cf2346224e5d7ff0698233b0944a0fe2d652a054d3eead57d84f55e298d2de714699cec7403b6696047c3a19a9222d32bf126f6770b2c099
@@ -26,5 +26,5 @@ function formatTime(type, n) {
26
26
  else
27
27
  return timeTypes[type][3];
28
28
  }
29
- this.timeago.register('ar', _fn)
29
+ window.timeago.register('ar', _fn)
30
30
  })();
@@ -51,5 +51,5 @@ function formatNum(f1, f, s, t, n) {
51
51
  return str;
52
52
  }
53
53
 
54
- this.timeago.register('be', _fn)
54
+ window.timeago.register('be', _fn)
55
55
  })();
@@ -1,4 +1,4 @@
1
- this.timeago.register('bg', function(number, index) {
1
+ window.timeago.register('bg', function(number, index) {
2
2
  return [
3
3
  ['току що', 'съвсем скоро'],
4
4
  ['преди %s секунди', 'след %s секунди'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('ca', function(number, index) {
1
+ window.timeago.register('ca', function(number, index) {
2
2
  return [
3
3
  ['fa un moment', 'd\'aquí un moment'],
4
4
  ['fa %s segons', 'd\'aquí %s segons'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('da', function(number, index) {
1
+ window.timeago.register('da', function(number, index) {
2
2
  return [
3
3
  ['for et øjeblik siden', 'om et øjeblik'],
4
4
  ['for %s sekunder siden', 'om %s sekunder'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('de', function(number, index) {
1
+ window.timeago.register('de', function(number, index) {
2
2
  return [
3
3
  ['gerade eben', 'vor einer Weile'],
4
4
  ['vor %s Sekunden', 'in %s Sekunden'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('el', function(number, index) {
1
+ window.timeago.register('el', function(number, index) {
2
2
  return [
3
3
  ['μόλις τώρα', 'σε λίγο'],
4
4
  ['%s δευτερόλεπτα πριν', 'σε %s δευτερόλεπτα'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('en', function(number, index) {
1
+ window.timeago.register('en', function(number, index) {
2
2
  return [
3
3
  ['just now', 'right now'],
4
4
  ['%s seconds ago', 'in %s seconds'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('en_short', function(number, index) {
1
+ window.timeago.register('en_short', function(number, index) {
2
2
  return [
3
3
  ['just now', 'right now'],
4
4
  ['%ss ago', 'in %ss'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('es', function(number, index) {
1
+ window.timeago.register('es', function(number, index) {
2
2
  return [
3
3
  ['justo ahora', 'en un rato'],
4
4
  ['hace %s segundos', 'en %s segundos'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('eu', function(number, index) {
1
+ window.timeago.register('eu', function(number, index) {
2
2
  return [
3
3
  ['orain', 'denbora bat barru'],
4
4
  ['duela %s segundu', '%s segundu barru'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('fa', function(number, index) {
1
+ window.timeago.register('fa', function(number, index) {
2
2
  return [
3
3
  ['همین الآن', 'لحظاتی پیش'],
4
4
  ['%s ثانیه پیش', 'حدود %s ثانیه پیش'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('fi', function(number, index) {
1
+ window.timeago.register('fi', function(number, index) {
2
2
  return [
3
3
  ['juuri äsken', 'juuri nyt'],
4
4
  ['%s sekuntia sitten', '%s sekunnin päästä'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('fr', function(number, index) {
1
+ window.timeago.register('fr', function(number, index) {
2
2
  return [
3
3
  ['à l\'instant', 'dans un instant'],
4
4
  ['il y a %s secondes', 'dans %s secondes'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('he', function(number, index) {
1
+ window.timeago.register('he', function(number, index) {
2
2
  return [
3
3
  ['זה עתה', 'עכשיו'],
4
4
  ['לפני %s שניות', 'בעוד %s שניות'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('hu', function(number, index) {
1
+ window.timeago.register('hu', function(number, index) {
2
2
  return [
3
3
  ['éppen most', 'éppen most'],
4
4
  ['%s másodperce', '%s másodpercen belül'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('in_BG', function(number, index) {
1
+ window.timeago.register('in_BG', function(number, index) {
2
2
  return [
3
3
  [ 'এইমাত্র' , 'একটা সময়'] ,
4
4
  [ '%s সেকেন্ড আগে', '%s এর সেকেন্ডের মধ্যে'] ,
@@ -1,4 +1,4 @@
1
- this.timeago.register('in_HI', function(number, index) {
1
+ window.timeago.register('in_HI', function(number, index) {
2
2
  return [
3
3
  ['अभी', 'कुछ समय'],
4
4
  ['%s सेकंड पहले', '%s सेकंड में'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('in_ID', function(number, index) {
1
+ window.timeago.register('in_ID', function(number, index) {
2
2
  return [
3
3
  ['baru saja', 'sebentar'],
4
4
  ['%s detik yang lalu', 'dalam %s detik'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('it', function(number, index) {
1
+ window.timeago.register('it', function(number, index) {
2
2
  return [
3
3
  ['poco fa', 'tra poco'],
4
4
  ['%s secondi fa', '%s secondi da ora'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('ja', function(number, index) {
1
+ window.timeago.register('ja', function(number, index) {
2
2
  return [
3
3
  ['すこし前', 'すぐに'],
4
4
  ['%s秒前', '%s秒以内'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('ko', function(number, index) {
1
+ window.timeago.register('ko', function(number, index) {
2
2
  return [
3
3
  ['방금', '곧'],
4
4
  ['%s초 전', '%s초 후'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('ml', function(number, index) {
1
+ window.timeago.register('ml', function(number, index) {
2
2
  return [
3
3
  ['ഇപ്പോള്‍', 'കുറച്ചു മുന്‍പ്'],
4
4
  ['%s സെക്കന്റ്‌കള്‍ക്ക് മുന്‍പ്', '%s സെക്കന്റില്‍'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('my', function(number, index) {
1
+ window.timeago.register('my', function(number, index) {
2
2
  return [
3
3
  ['ယခုအတွင်း', 'ယခု'],
4
4
  ['%s စက္ကန့် အကြာက', '%s စက္ကန့်အတွင်း'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('nb_NO', function(number, index) {
1
+ window.timeago.register('nb_NO', function(number, index) {
2
2
  return [
3
3
  ['akkurat nå', 'om litt'],
4
4
  ['%s sekunder siden', 'om %s sekunder'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('nl', function(number, index) {
1
+ window.timeago.register('nl', function(number, index) {
2
2
  return [
3
3
  ['recent', 'binnenkort'],
4
4
  ['%s seconden geleden', 'binnen %s seconden'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('nn_NO', function(number, index) {
1
+ window.timeago.register('nn_NO', function(number, index) {
2
2
  return [
3
3
  ['nett no', 'om litt'],
4
4
  ['%s sekund sidan', 'om %s sekund'],
@@ -34,5 +34,5 @@ var _fn = function(number, index) {
34
34
  return l[index&1?(number%10>4||number%10<2||1===~~(number/10)%10?index:++index/2+13):index];
35
35
  };
36
36
 
37
- this.timeago.register('pl', _fn)
37
+ window.timeago.register('pl', _fn)
38
38
  })();
@@ -1,4 +1,4 @@
1
- this.timeago.register('pt_BR', function(number, index) {
1
+ window.timeago.register('pt_BR', function(number, index) {
2
2
  return [
3
3
  ['agora mesmo', 'daqui um pouco'],
4
4
  ['há %s segundos', 'em %s segundos'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('ro', function(number, index) {
1
+ window.timeago.register('ro', function(number, index) {
2
2
  var langTable = [
3
3
  ['chiar acum', 'chiar acum'],
4
4
  ['acum %s secunde', 'peste %s secunde'],
@@ -51,5 +51,5 @@ function formatNum(f1, f, s, t, n) {
51
51
  return str;
52
52
  }
53
53
 
54
- this.timeago.register('ru', _fn)
54
+ window.timeago.register('ru', _fn)
55
55
  })();
@@ -1,4 +1,4 @@
1
- this.timeago.register('sv', function(number, index) {
1
+ window.timeago.register('sv', function(number, index) {
2
2
  return [
3
3
  ['just nu', 'om en stund'],
4
4
  ['%s sekunder sedan', 'om %s seconder'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('ta', function(number, index) {
1
+ window.timeago.register('ta', function(number, index) {
2
2
  return [
3
3
  ['இப்போது', 'சற்று நேரம் முன்பு'],
4
4
  ['%s நொடிக்கு முன்', '%s நொடிகளில்'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('th', function(number, index) {
1
+ window.timeago.register('th', function(number, index) {
2
2
  return [
3
3
  ['เมื่อสักครู่นี้', 'อีกสักครู่'],
4
4
  ['%s วินาทีที่แล้ว', 'ใน %s วินาที'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('tr', function(number, index) {
1
+ window.timeago.register('tr', function(number, index) {
2
2
  return [
3
3
  ['az önce', 'şimdi'],
4
4
  ['%s saniye önce', '%s saniye içinde'],
@@ -40,5 +40,5 @@ function formatNum(f1, f, s, t, n) {
40
40
  }
41
41
  return str
42
42
  }
43
- this.timeago.register('uk', _fn)
43
+ window.timeago.register('uk', _fn)
44
44
  })();
@@ -1,4 +1,4 @@
1
- this.timeago.register('vi', function(number, index) {
1
+ window.timeago.register('vi', function(number, index) {
2
2
  return [
3
3
  ['vừa xong', 'một lúc'],
4
4
  ['%s giây trước', 'trong %s giây'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('zh_CN', function(number, index) {
1
+ window.timeago.register('zh_CN', function(number, index) {
2
2
  return [
3
3
  ['刚刚', '片刻后'],
4
4
  ['%s秒前', '%s秒后'],
@@ -1,4 +1,4 @@
1
- this.timeago.register('zh_TW', function(number, index) {
1
+ window.timeago.register('zh_TW', function(number, index) {
2
2
  return [
3
3
  ['剛剛', '片刻後'],
4
4
  ['%s秒前', '%s秒後'],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TimeagoJs
4
- VERSION = '3.0.2'
4
+ VERSION = '3.0.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timeago_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Mazovetskiy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-28 00:00:00.000000000 Z
11
+ date: 2019-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubyforge_project:
140
- rubygems_version: 2.6.12
139
+ rubygems_version: 3.0.6
141
140
  signing_key:
142
141
  specification_version: 4
143
142
  summary: Timeago.js assets as a Ruby gem. http://timeago.org/