gettext_rails 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +3 -0
- data/Rakefile +9 -4
- data/lib/gettext_rails/version.rb +1 -1
- metadata +5 -4
data/ChangeLog
CHANGED
data/Rakefile
CHANGED
@@ -27,8 +27,6 @@ require 'gettext_rails/version'
|
|
27
27
|
|
28
28
|
PKG_VERSION = GetTextRails::VERSION
|
29
29
|
|
30
|
-
task :default => [:makemo]
|
31
|
-
|
32
30
|
############################################################
|
33
31
|
# Manage po/mo files
|
34
32
|
############################################################
|
@@ -45,6 +43,10 @@ task :makemo do
|
|
45
43
|
$stderr.puts "Create samples/rails plugin mo files."
|
46
44
|
GetText.create_mofiles(:po_root => "sample/vendor/plugins/lang_helper/po",
|
47
45
|
:mo_root => "sample/vendor/plugins/lang_helper/locale")
|
46
|
+
|
47
|
+
cd "test"
|
48
|
+
sh "rake makemo"
|
49
|
+
cd ".."
|
48
50
|
end
|
49
51
|
|
50
52
|
desc "Update pot/po files to match new version."
|
@@ -57,6 +59,7 @@ task :updatepo do
|
|
57
59
|
|
58
60
|
end
|
59
61
|
|
62
|
+
|
60
63
|
############################################################
|
61
64
|
# Package tasks
|
62
65
|
############################################################
|
@@ -71,8 +74,8 @@ spec = Gem::Specification.new do |s|
|
|
71
74
|
s.homepage = 'http://gettext.rubyforge.org/'
|
72
75
|
s.rubyforge_project = "gettext"
|
73
76
|
s.files = FileList['**/*'].to_a.select{|v| v !~ /pkg|git/}
|
74
|
-
s.add_dependency('gettext_activerecord', '>= 2.0.
|
75
|
-
s.add_dependency('locale_rails', '>= 2.0.
|
77
|
+
s.add_dependency('gettext_activerecord', '>= 2.0.4')
|
78
|
+
s.add_dependency('locale_rails', '>= 2.0.4')
|
76
79
|
s.add_dependency('rails', '>= 2.3.2')
|
77
80
|
s.require_path = 'lib'
|
78
81
|
s.has_rdoc = true
|
@@ -85,6 +88,8 @@ Rake::GemPackageTask.new(spec) do |p|
|
|
85
88
|
p.need_zip = false
|
86
89
|
end
|
87
90
|
|
91
|
+
task :package => [:makemo]
|
92
|
+
|
88
93
|
############################################################
|
89
94
|
# Misc tasks
|
90
95
|
############################################################
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gettext_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masao Mutoh
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-23 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.0.
|
23
|
+
version: 2.0.4
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: locale_rails
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.0.
|
33
|
+
version: 2.0.4
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: rails
|
@@ -203,6 +203,7 @@ files:
|
|
203
203
|
- test/test/unit/article_test.rb
|
204
204
|
- test/test/performance
|
205
205
|
- test/test/performance/browsing_test.rb
|
206
|
+
- test/log
|
206
207
|
- test/config
|
207
208
|
- test/config/initializers
|
208
209
|
- test/config/initializers/session_store.rb
|