ecm_cms_navigation 0.0.10 → 0.0.11

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 CmsNavigation
3
- VERSION = "0.0.10"
3
+ VERSION = "0.0.11"
4
4
  end
5
5
  end
@@ -0,0 +1,22 @@
1
+ module Ecm
2
+ module CmsNavigation
3
+ module Generators
4
+ class LocalesGenerator < Rails::Generators::Base
5
+ desc "Copies the locale files to your application"
6
+
7
+ source_root File.expand_path('../../../../../../config/locales', __FILE__)
8
+
9
+ def generate_locales
10
+ copy_file "ecm.cms_navigation.en.yml", "config/locales/ecm.cms_navigation.en.yml"
11
+ copy_file "ecm.cms_navigation.de.yml", "config/locales/ecm.cms_navigation.de.yml"
12
+
13
+ copy_file "ecm.cms_navigation.navigation.en.yml", "config/locales/ecm.cms_navigation.navigation.en.yml"
14
+ copy_file "ecm.cms_navigation.navigation.de.yml", "config/locales/ecm.cms_navigation.navigation.de.yml"
15
+
16
+ copy_file "ecm.cms_navigation.navigation_item.en.yml", "config/locales/ecm.cms_navigation.navigation_item.en.yml"
17
+ copy_file "ecm.cms_navigation.navigation_item.de.yml", "config/locales/ecm.cms_navigation.navigation_item.de.yml"
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_cms_navigation
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 10
10
- version: 0.0.10
9
+ - 11
10
+ version: 0.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roberto Vasquez Angel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-09-12 00:00:00 Z
18
+ date: 2012-09-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails
@@ -146,11 +146,11 @@ dependencies:
146
146
  requirements:
147
147
  - - ~>
148
148
  - !ruby/object:Gem::Version
149
- hash: 7
149
+ hash: 15
150
150
  segments:
151
- - 3
151
+ - 1
152
152
  - 0
153
- version: "3.0"
153
+ version: "1.0"
154
154
  type: :development
155
155
  version_requirements: *id009
156
156
  - !ruby/object:Gem::Dependency
@@ -250,6 +250,7 @@ files:
250
250
  - config/locales/ecm.cms_navigation.navigation.en.yml
251
251
  - db/migrate/001_create_ecm_cms_navigation_navigations.rb
252
252
  - db/migrate/002_create_ecm_cms_navigation_navigation_items.rb
253
+ - lib/generators/ecm/cms_navigation/locales/locales_generator.rb
253
254
  - lib/generators/ecm/cms_navigation/install/install_generator.rb
254
255
  - lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb
255
256
  - lib/generators/ecm/cms_navigation/navigation/templates/navigation.rb