rails-timeago 2.2.3 → 2.3.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
  SHA1:
3
- metadata.gz: 08dbf630b3df7ad107f4a9c5fa72e7e0ce43816e
4
- data.tar.gz: 62e26da4e26a50a5c27e4747ebe66fa894a1af09
3
+ metadata.gz: 286fa0f5a4b2883116b7be8c2adc65d625599107
4
+ data.tar.gz: 191039195eb205496bd5f72df652a02883c0aa9e
5
5
  SHA512:
6
- metadata.gz: 510ea356965191fc7cb316d2a8237bcd2e8851a7d9ba59c42547cccc40ce07dcb5b5ff1f32e5d28d2b2833f5d3a64df664be25575f9e7c6e855aac0556797133
7
- data.tar.gz: b32b96f3ca1483771ecca42063fbd55fd77080b47bc08a7540d860d789be044104160540419134d1477dc30c9f7ec77e63b71d078df3514c0d167d5358815d39
6
+ metadata.gz: 961e46c152c7485b2d90107b52c507392e5bbc2c75ad4498538f3ffd9d0a3d3c59dd3587d3453b5b15d2a10e37b560b8b5873309ad14fc6176051fb4378cad5f
7
+ data.tar.gz: 5b18185280ccff069955b24276dfed295a19ecbd2f868d3ff8cbfd4fe0c9d4d6b9dc6de1c93991297b08fd18f9a197b22059591134fa296215d6ed3a51c6f4ab
data/.gitignore CHANGED
@@ -18,3 +18,4 @@ test/tmp
18
18
  test/version_tmp
19
19
  tmp
20
20
  .rvmrc
21
+ .ruby-version
data/README.md CHANGED
@@ -102,9 +102,7 @@ Do not forget to require the needed locale files by either require `rails-timeag
102
102
 
103
103
  **rails-timeago** includes locale files for the following locales taken from [jQuery Timeago](https://github.com/rmm5t/jquery-timeago).
104
104
 
105
- > ar, bg, bs, ca, cy, cz, da, de, el, en, en-short, es, fa, fi, fr,
106
- > he, hr, hu, hy, id, it, ja, ko, mk, nl, no, pl, pt, pt-br, ro, ru,
107
- > sv, tr, uk, uz, zh-CN, zh-TW
105
+ > de cy pl mk zh-CN bs en-short it fi es uk lt zh-TW sk hy ca pt el sv ar no fa fr pt-br tr he bg ko uz cz sl hu id hr ru nl fr-short da ja ro th
108
106
 
109
107
  Your customized jQuery locale files must be changed to work with **rails-timeago 2**. Instead of defining your locale strings as `jQuery.timeago.settings.strings` you need to define them like this:
110
108
 
@@ -11,6 +11,7 @@
11
11
  //= require locales/jquery.timeago.fi.js
12
12
  //= require locales/jquery.timeago.es.js
13
13
  //= require locales/jquery.timeago.uk.js
14
+ //= require locales/jquery.timeago.lt.js
14
15
  //= require locales/jquery.timeago.zh-TW.js
15
16
  //= require locales/jquery.timeago.sk.js
16
17
  //= require locales/jquery.timeago.hy.js
@@ -2,8 +2,8 @@ module Rails
2
2
  module Timeago
3
3
  module VERSION
4
4
  MAJOR = 2
5
- MINOR = 2
6
- PATCH = 3
5
+ MINOR = 3
6
+ PATCH = 0
7
7
  STAGE = nil
8
8
 
9
9
  def self.to_s
@@ -0,0 +1,20 @@
1
+ //Lithuanian
2
+ jQuery.timeago.settings.strings["lt"] = {
3
+ prefixAgo: "prieš",
4
+ prefixFromNow: null,
5
+ suffixAgo: null,
6
+ suffixFromNow: "nuo dabar",
7
+ seconds: "%d sek.",
8
+ minute: "min.",
9
+ minutes: "%d min.",
10
+ hour: "val.",
11
+ hours: "%d val.",
12
+ day: "1 d.",
13
+ days: "%d d.",
14
+ month: "mėn.",
15
+ months: "%d mėn.",
16
+ year: "metus",
17
+ years: "%d metus",
18
+ wordSeparator: " ",
19
+ numbers: []
20
+ };
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.2.3
4
+ version: 2.3.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-04-21 00:00:00.000000000 Z
11
+ date: 2013-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -98,6 +98,7 @@ files:
98
98
  - vendor/assets/javascripts/locales/jquery.timeago.it.js
99
99
  - vendor/assets/javascripts/locales/jquery.timeago.ja.js
100
100
  - vendor/assets/javascripts/locales/jquery.timeago.ko.js
101
+ - vendor/assets/javascripts/locales/jquery.timeago.lt.js
101
102
  - vendor/assets/javascripts/locales/jquery.timeago.mk.js
102
103
  - vendor/assets/javascripts/locales/jquery.timeago.nl.js
103
104
  - vendor/assets/javascripts/locales/jquery.timeago.no.js