rails-timeago 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -115,7 +115,7 @@ Rails::Timeago.map_locale "en", "better/locales/en.js"
115
115
  Given that mapping rails-timeago's `timeago_script_tag` will include the mapped
116
116
  locale file into your page.
117
117
 
118
- **Node:** Rails default `application.js` file contains a line to require all JavaScript
118
+ **Note:** Rails default `application.js` file contains a line to require all JavaScript
119
119
  in your assets directory. That will also include all your custom locale files if you
120
120
  place them in `app/assets/javascripts/locales` and will result in unexpected behavior when
121
121
  using `en` locale (see #5).
@@ -5,7 +5,7 @@ module Rails
5
5
  module Timeago
6
6
  if defined?(::Rails::Engine)
7
7
  class Engine < ::Rails::Engine # :nodoc:
8
- initializer 'rails-timeago' do |app|
8
+ initializer 'rails-timeago', group: :all do |app|
9
9
  ActiveSupport.on_load(:action_controller) do
10
10
  include Rails::Timeago::Helper
11
11
  end
@@ -3,7 +3,7 @@ module Rails
3
3
  module VERSION
4
4
  MAJOR = 1
5
5
  MINOR = 4
6
- PATCH = 2
6
+ PATCH = 3
7
7
  STAGE = nil
8
8
 
9
9
  def self.to_s
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: 1.4.2
4
+ version: 1.4.3
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: 2012-06-24 00:00:00.000000000 Z
12
+ date: 2012-11-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -140,3 +140,4 @@ signing_key:
140
140
  specification_version: 3
141
141
  summary: A Rails Helper to create time tags usable for jQuery Timeago plugin
142
142
  test_files: []
143
+ has_rdoc: