i18n-generators 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  pkg
2
2
  Gemfile.lock
3
+ *.gem
@@ -3,8 +3,8 @@
3
3
  This gem plugin generates a set of locale files for Rails i18n feature.
4
4
  Supports Rails 3.1, 3.0.x, 2.3.x and 2.2.x.
5
5
 
6
- * http://github.com/amatsuda/i18n_generators
7
- * http://rubygems.org/gems/i18n_generators
6
+ * http://github.com/hauleth/i18n-generators
7
+ * http://rubygems.org/gems/i18n-generators
8
8
 
9
9
 
10
10
  == FEATURES
@@ -1,12 +1,12 @@
1
1
  Description:
2
2
  Generates a config file and locale files and a model/attributes translation file for Rails 3.x i18n.
3
- In other words, executes i18n_locale and i18n_translation at once.
3
+ In other words, executes i18n:locale and i18n:translation at once.
4
4
 
5
5
  Example:
6
- % rails g i18n locale_name (ja, pt-BR, etc.)
6
+ % rails g i18n locale_name # (ja, pt-BR, etc.)
7
7
 
8
8
  This will create:
9
9
  config/locales/ja.yml
10
- config/locales/translation_ja.yml
10
+ config/locales/translation.ja.yml
11
11
  And update:
12
12
  config/application.rb
@@ -2,7 +2,7 @@ Description:
2
2
  Generates a config file and locale files for Rails 3.x i18n.
3
3
 
4
4
  Example:
5
- % rails g i18n locale_name (ja, pt-BR, etc.)
5
+ % rails g i18n:locale locale_name (ja, pt-BR, etc.)
6
6
 
7
7
  This will create:
8
8
  config/locales/ja.yml
@@ -2,7 +2,7 @@ Description:
2
2
  Generates a model/attributes translation file for Rails 3.x i18n.
3
3
 
4
4
  Example:
5
- % rails g i18n locale_name (ja, pt-BR, etc.)
5
+ % rails g i18n:translation locale_name (ja, pt-BR, etc.)
6
6
 
7
7
  This will create:
8
8
  config/locales/translation_ja.yml
@@ -1,3 +1,3 @@
1
1
  module I18nGenerators
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-01-05 00:00:00.000000000Z
13
+ date: 2012-01-06 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mechanize
17
- requirement: &14660660 !ruby/object:Gem::Requirement
17
+ requirement: &20610780 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *14660660
25
+ version_requirements: *20610780
26
26
  description: A Rails generator plugin & gem that generates Rails I18n locale files
27
27
  for almost every known locale.
28
28
  email:
@@ -69,7 +69,7 @@ files:
69
69
  - generators/i18n_translation/lib/translator.rb
70
70
  - i18n-generators.gemspec
71
71
  - lib/generators/i18n/all/USAGE
72
- - lib/generators/i18n/all/i18n_generator.rb
72
+ - lib/generators/i18n/all/all_generator.rb
73
73
  - lib/generators/i18n/locale/USAGE
74
74
  - lib/generators/i18n/locale/locale_generator.rb
75
75
  - lib/generators/i18n/translation/USAGE