simple-navigation 2.5.1 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +4 -0
- data/VERSION.yml +1 -1
- data/lib/generators/navigation_config/navigation_config_generator.rb +12 -0
- metadata +4 -3
data/CHANGELOG
CHANGED
data/VERSION.yml
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
class NavigationConfigGenerator < Rails::Generators::Base
|
2
|
+
def self.source_root
|
3
|
+
@source_root ||= File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','generators','navigation_config', 'templates'))
|
4
|
+
end
|
5
|
+
|
6
|
+
desc 'Creates a template config file for the simple-navigation plugin. You will find the generated file in config/navigation.rb.'
|
7
|
+
def navigation_config
|
8
|
+
copy_file('config/navigation.rb', 'config/navigation.rb')
|
9
|
+
say File.read(File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','README')))
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 2.5.
|
8
|
+
- 2
|
9
|
+
version: 2.5.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Andi Schacke
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-23 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -47,6 +47,7 @@ files:
|
|
47
47
|
- generators/navigation_config/USAGE
|
48
48
|
- generators/navigation_config/navigation_config_generator.rb
|
49
49
|
- generators/navigation_config/templates/config/navigation.rb
|
50
|
+
- lib/generators/navigation_config/navigation_config_generator.rb
|
50
51
|
- lib/simple-navigation.rb
|
51
52
|
- lib/simple_navigation.rb
|
52
53
|
- lib/simple_navigation/configuration.rb
|