rails_locale_sorter 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,20 @@
1
+ Rails Locale Sorter
2
+ ===================
3
+ This is a small utility to assist in generating language files, so that as you add strings to your locale files you can have them translated quickly.
4
+
5
+ Installation
6
+ ============
7
+ ```
8
+ $ gem install rails_locale_sorter
9
+ ```
10
+
11
+ Generating New Files
12
+ ====================
13
+ The command tool that comes with the gem will go through your locales directory, and update all the locale files based on your "default" language.
14
+
15
+ For instance, if I've added keys to the en.yml file, then the command will create new yaml files for es.yml, zh.yml, etc with blank values set as the new keys.
16
+
17
+ It defaults to english as the base language; you can change it by passing in a parameter.
18
+ ```
19
+ $ locale_generator path/to/locales path/to/output [en.yml]
20
+ ```
@@ -1,3 +1,3 @@
1
1
  module RailsLocaleSorter
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = RailsLocaleSorter::VERSION
8
8
  s.authors = ["Michael Wheeler"]
9
9
  s.email = ["michael.wheeler@tapjoy.com"]
10
- s.homepage = "http://github.com/matchboxmike"
10
+ s.homepage = "https://github.com/matchboxmike/Rails-Locale-Sorting"
11
11
  s.summary = %q{Manage Rails Locale YAML: Sort, remove duplicates, and create stubs for other languages.}
12
12
  s.description = %q{Manage Rails Locale YAML: Sort, remove duplicates, and create stubs for other languages.}
13
13
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_locale_sorter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Wheeler
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-31 00:00:00 -08:00
18
+ date: 2012-02-01 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -77,6 +77,7 @@ extra_rdoc_files: []
77
77
  files:
78
78
  - .gitignore
79
79
  - Gemfile
80
+ - README.md
80
81
  - Rakefile
81
82
  - bin/locale_generator
82
83
  - lib/rails_locale_sorter.rb
@@ -93,7 +94,7 @@ files:
93
94
  - spec/rls-spec.rb
94
95
  - spec/spec_helper.rb
95
96
  has_rdoc: true
96
- homepage: http://github.com/matchboxmike
97
+ homepage: https://github.com/matchboxmike/Rails-Locale-Sorting
97
98
  licenses: []
98
99
 
99
100
  post_install_message: