translations_ennder 1.0.6 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -28,6 +28,14 @@
28
28
  == 1.0.5 / 2011-03-21
29
29
  * correction régression introduite par V1.0.3
30
30
 
31
- == 1.0.5 / 2011-03-21
31
+ == 1.0.6 / 2011-03-21
32
32
  * correction régression introduite par V1.0.4
33
33
  eh oui désolé je n'ai pas de procédure de test encore...
34
+
35
+ == 1.0.7 / 2011-03-21
36
+ * remplacement de Rails.logger par RAILS_DEFAULT_LOGGER
37
+ Rails.logger pas initalisé
38
+
39
+ == 1.0.8 / 2011-03-21
40
+ * Utilisation de Rails.configuration.logger si initialisé
41
+ sinon puts
@@ -16,11 +16,23 @@ end
16
16
 
17
17
  if Rails::VERSION::MAJOR < 3 then
18
18
  Rails.configuration.after_initialize do
19
- Rails.logger.info "gem translations_ennder V#{TranslationsEnnder.version}, Railx V2.x.y, init_translations_ennder() dans after_initialize"
19
+ _info = "gem translations_ennder V#{TranslationsEnnder.version}, Railx V2.x.y, init_translations_ennder() dans after_initialize"
20
+ if !Rails.configuration.logger.nil?
21
+ Rails.configuration.logger.info _info
22
+ else
23
+ puts _info
24
+ end
25
+
20
26
  init_translations_ennder
21
27
  end
22
28
  else
23
- Rails.logger.info "gem translations_ennder V#{TranslationsEnnder.version}, Railx V3.x.y, init_translations_ennder()"
29
+ _info = "gem translations_ennder V#{TranslationsEnnder.version}, Railx V3.x.y, init_translations_ennder()"
30
+ if !Rails.configuration.logger.nil?
31
+ Rails.configuration.logger.info _info
32
+ else
33
+ puts _info
34
+ end
35
+
24
36
  init_translations_ennder
25
37
  end
26
38
 
data/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.6
1
+ 1.0.8
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: translations_ennder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 6
10
- version: 1.0.6
9
+ - 8
10
+ version: 1.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ennder