i18n_generators 1.0.0.pre1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,14 +1,10 @@
1
1
  = I18n generators
2
2
 
3
- This gem plugin generates a set of locale files for Rails 3 i18n feature.
3
+ This gem plugin generates a set of locale files for Rails i18n feature. Supports Rails 3.1, 3.0.x, 2.3.x and 2.2.x.
4
4
 
5
5
  * http://github.com/amatsuda/i18n_generators
6
6
  * http://rubygems.org/gems/i18n_generators
7
7
 
8
- For Rails 2.3 and 2.2, use 0.8.x gem or rails2 branch.
9
-
10
- * http://github.com/amatsuda/i18n_generators/tree/rails2
11
- * http://rubygems.org/gems/i18n_generators/versions/0.8.1
12
8
 
13
9
  == FEATURES
14
10
 
@@ -48,7 +44,8 @@ Executes 1 and 2 at once.
48
44
 
49
45
  == REQUIREMENTS:
50
46
 
51
- * Ruby on Rails (>= 3.0)
47
+ * Ruby (>= 1.8.7)
48
+ * Ruby on Rails (3.1 or 3.0 or 2.3 or 2.2)
52
49
 
53
50
 
54
51
  == INSTALL:
@@ -57,9 +54,13 @@ Executes 1 and 2 at once.
57
54
 
58
55
  % gem install i18n_generators
59
56
 
57
+ * With Bundler
58
+
59
+ Add 'i18n_generators' to your Gemfile, then `bundle`.
60
+
60
61
  * As a Rails plugin
61
62
 
62
63
  % rails plugin install git://github.com/amatsuda/i18n_generators.git
63
64
 
64
65
 
65
- Copyright (c) 2008 Akira Matsuda, released under the MIT license
66
+ Copyright (c) 2008 - 2010 Akira Matsuda, released under the MIT license
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.pre1
1
+ 1.0.0
@@ -1,12 +1,11 @@
1
1
  Description:
2
- Generates a config file and locale files and a model/attributes translation file for Rails i18n feature.
2
+ Generates a config file and locale files and a model/attributes translation file for Rails 2.x i18n.
3
3
 
4
4
  Example:
5
- ./script/generate i18n locale_name (ja-JP, de-AT, etc.)
5
+ ./script/generate i18n locale_name (ja, de-AT, etc.)
6
6
 
7
7
  This will create:
8
- config/initializers/i18n_config.rb
9
- lib/locale/action_view_ja-JP.yml
10
- lib/locale/active_record_ja-JP.yml
11
- lib/locale/active_support_ja-JP.yml
12
- lib/locale/models_ja-JP.yml
8
+ config/locales/ja.yml
9
+ config/locales/translation_ja.yml
10
+ And update:
11
+ config/environment.rb
@@ -1,11 +1,10 @@
1
1
  Description:
2
- Generates a config file and locale files for Rails i18n feature.
2
+ Generates a config file and locale files for Rails 2.x i18n.
3
3
 
4
4
  Example:
5
- ./script/generate i18n locale_name (ja-JP, de-AT, etc.)
5
+ ./script/generate i18n locale_name (ja, de-AT, etc.)
6
6
 
7
7
  This will create:
8
- config/initializers/i18n_config.rb
9
- lib/locale/action_view_ja-JP.yml
10
- lib/locale/active_record_ja-JP.yml
11
- lib/locale/active_support_ja-JP.yml
8
+ config/locales/ja.yml
9
+ And update:
10
+ config/environment.rb
@@ -1,8 +1,8 @@
1
1
  Description:
2
- Generates a model/attributes translation file for Rails i18n feature.
2
+ Generates a model/attributes translation file for Rails 2.x i18n.
3
3
 
4
4
  Example:
5
- ./script/generate i18n locale_name (ja-JP, de-AT, etc.)
5
+ ./script/generate i18n locale_name (ja, de-AT, etc.)
6
6
 
7
7
  This will create:
8
- lib/locale/models_ja-JP.yml
8
+ config/locales/translation_ja.yml
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{i18n_generators}
8
- s.version = "1.0.0.pre1"
8
+ s.version = "1.0.0"
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Akira Matsuda"]
12
- s.date = %q{2010-10-27}
12
+ s.date = %q{2010-10-29}
13
13
  s.description = %q{A Rails generator plugin & gem that generates Rails I18n locale files for almost every known locale.}
14
14
  s.email = %q{ronnie@dio.jp}
15
15
  s.extra_rdoc_files = [
@@ -1,5 +1,5 @@
1
1
  Description:
2
- Generates a config file and locale files and a model/attributes translation file for Rails i18n feature.
2
+ Generates a config file and locale files and a model/attributes translation file for Rails 3.x i18n.
3
3
  In other words, executes i18n_locale and i18n_translation at once.
4
4
 
5
5
  Example:
@@ -1,5 +1,5 @@
1
1
  Description:
2
- Generates a config file and locale files for Rails i18n feature.
2
+ Generates a config file and locale files for Rails 3.x i18n.
3
3
 
4
4
  Example:
5
5
  % rails g i18n locale_name (ja, pt-BR, etc.)
@@ -1,5 +1,5 @@
1
1
  Description:
2
- Generates a model/attributes translation file for Rails i18n feature.
2
+ Generates a model/attributes translation file for Rails 3.x i18n.
3
3
 
4
4
  Example:
5
5
  % rails g i18n locale_name (ja, pt-BR, etc.)
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_generators
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1876988176
5
- prerelease: true
4
+ hash: 23
5
+ prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 0
10
- - pre1
11
- version: 1.0.0.pre1
10
+ version: 1.0.0
12
11
  platform: ruby
13
12
  authors:
14
13
  - Akira Matsuda
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-10-27 00:00:00 +09:00
18
+ date: 2010-10-29 00:00:00 +09:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -114,14 +113,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
113
  required_rubygems_version: !ruby/object:Gem::Requirement
115
114
  none: false
116
115
  requirements:
117
- - - ">"
116
+ - - ">="
118
117
  - !ruby/object:Gem::Version
119
- hash: 25
118
+ hash: 3
120
119
  segments:
121
- - 1
122
- - 3
123
- - 1
124
- version: 1.3.1
120
+ - 0
121
+ version: "0"
125
122
  requirements: []
126
123
 
127
124
  rubyforge_project: