r18n-rails 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,20 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- r18n-rails (0.4.11)
5
- r18n-rails-api (= 0.4.11)
4
+ r18n-rails (0.4.12)
5
+ r18n-rails-api (= 0.4.12)
6
6
 
7
7
  PATH
8
8
  remote: ../r18n-core/
9
9
  specs:
10
- r18n-core (0.4.11)
10
+ r18n-core (0.4.12)
11
11
 
12
12
  PATH
13
13
  remote: ../r18n-rails-api/
14
14
  specs:
15
- r18n-rails-api (0.4.11)
15
+ r18n-rails-api (0.4.12)
16
16
  i18n
17
- r18n-core (= 0.4.11)
17
+ r18n-core (= 0.4.12)
18
18
 
19
19
  GEM
20
20
  remote: http://rubygems.org/
@@ -21,7 +21,7 @@ module R18n
21
21
  module Translated
22
22
  module Base
23
23
  def unlocalized_methods
24
- if ancestors.include? ActiveRecord::Base
24
+ if defined? ActiveRecord and ancestors.include? ActiveRecord::Base
25
25
  column_names + column_names.map { |i| i + '=' } + instance_methods
26
26
  else
27
27
  instance_methods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r18n-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 11
10
- version: 0.4.11
9
+ - 12
10
+ version: 0.4.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrey "A.I." Sitnik
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-02 00:00:00 Z
18
+ date: 2011-12-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  type: :runtime
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - "="
28
28
  - !ruby/object:Gem::Version
29
- hash: 25
29
+ hash: 23
30
30
  segments:
31
31
  - 0
32
32
  - 4
33
- - 11
34
- version: 0.4.11
33
+ - 12
34
+ version: 0.4.12
35
35
  requirement: *id001
36
36
  - !ruby/object:Gem::Dependency
37
37
  type: :development