rails-timeago 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Rails
3
3
  module VERSION
4
4
  MAJOR = 2
5
5
  MINOR = 2
6
- PATCH = 1
6
+ PATCH = 2
7
7
  STAGE = nil
8
8
 
9
9
  def self.to_s
@@ -163,7 +163,7 @@
163
163
  element.data("timeago", { datetime: $t.datetime(element) });
164
164
  var text = $.trim(element.text());
165
165
  if ($t.settings.localeTitle) {
166
- element.attr("title", element.data('timeago').datetime.toLocaleString())
166
+ element.attr("title", element.data('timeago').datetime.toLocaleString());
167
167
  } else if (text.length > 0 && !($t.isTime(element) && element.attr("title"))) {
168
168
  element.attr("title", text);
169
169
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-timeago
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-31 00:00:00.000000000 Z
12
+ date: 2013-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -134,18 +134,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
134
  - - '>='
135
135
  - !ruby/object:Gem::Version
136
136
  version: '0'
137
- segments:
138
- - 0
139
- hash: -1792870913031009367
140
137
  required_rubygems_version: !ruby/object:Gem::Requirement
141
138
  none: false
142
139
  requirements:
143
140
  - - '>='
144
141
  - !ruby/object:Gem::Version
145
142
  version: '0'
146
- segments:
147
- - 0
148
- hash: -1792870913031009367
149
143
  requirements: []
150
144
  rubyforge_project:
151
145
  rubygems_version: 1.8.25