ecm_contact 1.0.6.pre → 1.0.7.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Contact
3
- VERSION = '1.0.6.pre'
3
+ VERSION = '1.0.7.pre'
4
4
  end
5
5
  end
@@ -0,0 +1,21 @@
1
+ module Ecm
2
+ module Contact
3
+ module Generators
4
+ class LocalesGenerator < Rails::Generators::Base
5
+ desc "Generates the locales"
6
+
7
+ source_root File.expand_path('../../../../../../config/locales', __FILE__)
8
+
9
+ def generate_intializer
10
+ copy_file "ecm.contact.de.yml", "config/locales/ecm.contact.de.yml"
11
+ copy_file "ecm.contact.en.yml", "config/locales/ecm.contact.en.yml"
12
+ copy_file "ecm.contact.request.de.yml", "config/locales/ecm.contact.request.de.yml"
13
+ copy_file "ecm.contact.request.en.yml", "config/locales/ecm.contact.request.en.yml"
14
+ copy_file "ecm.contact.routes.de.yml", "config/locales/ecm.contact.routes.de.yml"
15
+ copy_file "ecm.contact.routes.en.yml", "config/locales/ecm.contact.routes.en.yml"
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
21
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_contact
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961915980
4
+ hash: 961915976
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 6
9
+ - 7
10
10
  - pre
11
- version: 1.0.6.pre
11
+ version: 1.0.7.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Roberto Vasquez Angel
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-10-18 00:00:00 Z
19
+ date: 2012-11-07 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rails
@@ -240,6 +240,7 @@ files:
240
240
  - config/locales/ecm.contact.request.en.yml
241
241
  - config/locales/ecm.contact.en.yml
242
242
  - config/locales/ecm.contact.request.de.yml
243
+ - lib/generators/ecm/contact/locales/locales_generator.rb
243
244
  - lib/generators/ecm/contact/install/install_generator.rb
244
245
  - lib/generators/ecm/contact/install/templates/ecm_contact.rb
245
246
  - lib/ecm_contact.rb