fast_gettext 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.3
1
+ 0.5.4
data/fast_gettext.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fast_gettext}
8
- s.version = "0.5.3"
8
+ s.version = "0.5.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2010-04-12}
12
+ s.date = %q{2010-06-12}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "README.markdown"
@@ -89,25 +89,25 @@ Gem::Specification.new do |s|
89
89
  s.rubygems_version = %q{1.3.6}
90
90
  s.summary = %q{A simple, fast and threadsafe implementation of GetText}
91
91
  s.test_files = [
92
- "spec/spec_helper.rb",
93
- "spec/aa_unconfigued_spec.rb",
94
- "spec/fast_gettext_spec.rb",
92
+ "spec/aa_unconfigued_spec.rb",
93
+ "spec/fast_gettext/mo_file_spec.rb",
94
+ "spec/fast_gettext/storage_spec.rb",
95
+ "spec/fast_gettext/translation_spec.rb",
95
96
  "spec/fast_gettext/translation_repository_spec.rb",
96
- "spec/fast_gettext/translation_repository/mo_spec.rb",
97
- "spec/fast_gettext/translation_repository/db_spec.rb",
98
- "spec/fast_gettext/translation_repository/yaml_spec.rb",
99
- "spec/fast_gettext/translation_repository/logger_spec.rb",
100
97
  "spec/fast_gettext/translation_repository/base_spec.rb",
101
- "spec/fast_gettext/translation_repository/po_spec.rb",
102
98
  "spec/fast_gettext/translation_repository/chain_spec.rb",
103
- "spec/fast_gettext/vendor/fake_load_path/iconv.rb",
104
- "spec/fast_gettext/vendor/iconv_spec.rb",
99
+ "spec/fast_gettext/translation_repository/db_spec.rb",
100
+ "spec/fast_gettext/translation_repository/po_spec.rb",
101
+ "spec/fast_gettext/translation_repository/mo_spec.rb",
102
+ "spec/fast_gettext/translation_repository/logger_spec.rb",
103
+ "spec/fast_gettext/translation_repository/yaml_spec.rb",
105
104
  "spec/fast_gettext/vendor/string_spec.rb",
106
- "spec/fast_gettext/translation_spec.rb",
107
- "spec/fast_gettext/mo_file_spec.rb",
108
- "spec/fast_gettext/storage_spec.rb",
109
- "examples/missing_translation_logger.rb",
110
- "examples/db/migration.rb"
105
+ "spec/fast_gettext/vendor/iconv_spec.rb",
106
+ "spec/fast_gettext/vendor/fake_load_path/iconv.rb",
107
+ "spec/spec_helper.rb",
108
+ "spec/fast_gettext_spec.rb",
109
+ "examples/db/migration.rb",
110
+ "examples/missing_translation_logger.rb"
111
111
  ]
112
112
 
113
113
  if s.respond_to? :specification_version then
@@ -19,8 +19,12 @@ module FastGettext::TranslationRepository
19
19
 
20
20
  #this is only for ActiveSupport to get polymorphic_url FastGettext::... namespace free
21
21
  def self.model_name
22
- ActiveSupport::ModelName.new('TranslationKey')
22
+ if defined? ActiveSupport::ModelName
23
+ ActiveSupport::ModelName.new('TranslationKey')
24
+ else
25
+ 'TranslationKey'
26
+ end
23
27
  end
24
28
  end
25
29
  end
26
- end
30
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 3
9
- version: 0.5.3
8
+ - 4
9
+ version: 0.5.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Grosser
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-12 00:00:00 +02:00
17
+ date: 2010-06-12 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -125,22 +125,22 @@ signing_key:
125
125
  specification_version: 3
126
126
  summary: A simple, fast and threadsafe implementation of GetText
127
127
  test_files:
128
- - spec/spec_helper.rb
129
128
  - spec/aa_unconfigued_spec.rb
130
- - spec/fast_gettext_spec.rb
129
+ - spec/fast_gettext/mo_file_spec.rb
130
+ - spec/fast_gettext/storage_spec.rb
131
+ - spec/fast_gettext/translation_spec.rb
131
132
  - spec/fast_gettext/translation_repository_spec.rb
132
- - spec/fast_gettext/translation_repository/mo_spec.rb
133
- - spec/fast_gettext/translation_repository/db_spec.rb
134
- - spec/fast_gettext/translation_repository/yaml_spec.rb
135
- - spec/fast_gettext/translation_repository/logger_spec.rb
136
133
  - spec/fast_gettext/translation_repository/base_spec.rb
137
- - spec/fast_gettext/translation_repository/po_spec.rb
138
134
  - spec/fast_gettext/translation_repository/chain_spec.rb
139
- - spec/fast_gettext/vendor/fake_load_path/iconv.rb
140
- - spec/fast_gettext/vendor/iconv_spec.rb
135
+ - spec/fast_gettext/translation_repository/db_spec.rb
136
+ - spec/fast_gettext/translation_repository/po_spec.rb
137
+ - spec/fast_gettext/translation_repository/mo_spec.rb
138
+ - spec/fast_gettext/translation_repository/logger_spec.rb
139
+ - spec/fast_gettext/translation_repository/yaml_spec.rb
141
140
  - spec/fast_gettext/vendor/string_spec.rb
142
- - spec/fast_gettext/translation_spec.rb
143
- - spec/fast_gettext/mo_file_spec.rb
144
- - spec/fast_gettext/storage_spec.rb
145
- - examples/missing_translation_logger.rb
141
+ - spec/fast_gettext/vendor/iconv_spec.rb
142
+ - spec/fast_gettext/vendor/fake_load_path/iconv.rb
143
+ - spec/spec_helper.rb
144
+ - spec/fast_gettext_spec.rb
146
145
  - examples/db/migration.rb
146
+ - examples/missing_translation_logger.rb