rails-timeago 2.10.0 → 2.10.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: 8ddf7879b5c06eddc5a7dffb3ccb98e54b1fc0c4
4
- data.tar.gz: dd2a443a4422c94ce1118270068d4f0405fc7573
3
+ metadata.gz: 4289668fda18f57ea8255f71612a0be284f26f64
4
+ data.tar.gz: a7b013c9bdfbb8540986e6986c718126fc7c86d8
5
5
  SHA512:
6
- metadata.gz: 7951655d4c6cf65ab5280b34ffc0f38e9760ce161458b045f1c28ed4c623db995e770a79d461b43ee72e8efcc23b65103a44f79cfe0d15753434c96031b3661e
7
- data.tar.gz: 89e7bd80087ca1def02a99d8fd77c24272de8598742f57a8661d42f4716553a8e7aa89121db81027f49197bb4a43f3da4bfa34987ae9193744f36c437025790e
6
+ metadata.gz: e157553c96e9b6c1706b45f199746b9bd5a1d8968b92a573d1c7a3194ca98deebb4ee938bed68375e412e87634b781ee75e2f1ad9fe451ad8556882ecaeec53c
7
+ data.tar.gz: 18eb4240d205909c608c778e39634e6e3b43fcf79239469e298e4d60ceaf5ecc2e2075b0bbbf215d5af8e6e4bf7ebca8d05d892d0facc0c090f74df750d94ff5
@@ -3,7 +3,7 @@ module Rails
3
3
  module VERSION
4
4
  MAJOR = 2
5
5
  MINOR = 10
6
- PATCH = 0
6
+ PATCH = 1
7
7
  STAGE = nil
8
8
 
9
9
  def self.to_s
@@ -84,7 +84,7 @@
84
84
  }
85
85
 
86
86
  if(!this.settings.allowPast && distanceMillis >= 0) {
87
- return this.settings.strings.inPast;
87
+ return this.settings.strings[lang].inPast;
88
88
  }
89
89
 
90
90
  var seconds = Math.abs(distanceMillis) / 1000;
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.10.0
4
+ version: 2.10.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: 2014-03-20 00:00:00.000000000 Z
11
+ date: 2014-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport