simple-navigation 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ *2.5.2
2
+
3
+ * added Rails3 generator for navigation_config.rb. Thanks to Josep Jaume Rey.
4
+
1
5
  *2.5.1
2
6
 
3
7
  * set template correctly for Rails3 (brings auto highlighting to life again). Credits to Josep Jaume Rey.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 2
3
3
  :minor: 5
4
- :patch: 1
4
+ :patch: 2
@@ -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
- - 1
9
- version: 2.5.1
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-22 00:00:00 +02:00
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