tml-rails 5.4.1 → 5.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tml_rails/extensions/action_view_extension.rb +1 -1
- data/lib/tml_rails/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffdece5f603640ee9d91afeb285083b5d6c069a5
|
4
|
+
data.tar.gz: 0cf0d219ccc84e0b0f78694fac2280b8f1527f70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf289e23781bd7d4e6a218fc7c103852f52b11404d0d645bb26d029303476b9c8cd61fe658ae0da6fde04e73e12bc5c16b225863e40995345dbb819595b66431
|
7
|
+
data.tar.gz: 3e005b6e0e72eefe6be2b71fa8a429de4adf9668dba56273939835822127116aa8932ab31f4050761ebfaca64da4a14ffa36690d0e17e7a43ed437ef3c8918d9
|
@@ -191,7 +191,7 @@ module TmlRails
|
|
191
191
|
def tml_when_string_tag(time, opts = {})
|
192
192
|
elapsed_seconds = Time.now - time
|
193
193
|
if elapsed_seconds < 0
|
194
|
-
tr('
|
194
|
+
tr('in {num || second}', 'Time reference', {num: elapsed_seconds * -1})
|
195
195
|
elsif elapsed_seconds < 2.minutes
|
196
196
|
tr('a moment ago', 'Time reference')
|
197
197
|
elsif elapsed_seconds < 55.minutes
|
data/lib/tml_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tml-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.
|
4
|
+
version: 5.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Berkovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 5.4
|
33
|
+
version: '5.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.4
|
40
|
+
version: '5.4'
|
41
41
|
description: Translation Markup Language from Translation Exchange.
|
42
42
|
email:
|
43
43
|
- support@translationexchange.com
|