simple-navigation 1.4.0 → 1.4.1

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
+ *1.4.1
2
+
3
+ * explicitly loading all source files when requiring 'simple_navigation'.
4
+
1
5
  *1.4.0
2
6
 
3
7
  * added the capability to have several navigation-contexts
data/Rakefile CHANGED
@@ -33,33 +33,9 @@ begin
33
33
  gemspec.files += ["CHANGELOG"]
34
34
  gemspec.rubyforge_project = 'andi'
35
35
  end
36
- rescue LoadError
37
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
38
- end
39
-
40
- begin
41
- require 'rake/contrib/sshpublisher'
42
- namespace :rubyforge do
43
-
44
- desc "Release gem and RDoc documentation to RubyForge"
45
- task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
46
-
47
- namespace :release do
48
- desc "Publish RDoc to RubyForge."
49
- task :docs => [:rdoc] do
50
- config = YAML.load(
51
- File.read(File.expand_path('~/.rubyforge/user-config.yml'))
52
- )
53
-
54
- host = "#{config['username']}@rubyforge.org"
55
- remote_dir = "/var/www/gforge-projects/andi/"
56
- local_dir = 'rdoc'
57
-
58
- Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
59
- end
60
- end
36
+ Jeweler::RubyforgeTasks.new do |rubyforge|
37
+ rubyforge.doc_task = "rdoc"
61
38
  end
62
39
  rescue LoadError
63
- puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
40
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
64
41
  end
65
-
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 0
3
2
  :major: 1
4
3
  :minor: 4
4
+ :patch: 1
@@ -1,3 +1,12 @@
1
+ # Load all source files (if this is not done explicitly some naming conflicts may occur if rails app has classes with the same name)
2
+ require 'simple_navigation/configuration'
3
+ require 'simple_navigation/helpers'
4
+ require 'simple_navigation/controller_methods'
5
+ require 'simple_navigation/item'
6
+ require 'simple_navigation/item_container'
7
+ require 'simple_navigation/renderer/base'
8
+ require 'simple_navigation/renderer/list'
9
+
1
10
  # A plugin for generating a simple navigation. See README for resources on usage instructions.
2
11
  module SimpleNavigation
3
12
 
@@ -1,12 +1,15 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
1
4
  # -*- encoding: utf-8 -*-
2
5
 
3
6
  Gem::Specification.new do |s|
4
7
  s.name = %q{simple-navigation}
5
- s.version = "1.4.0"
8
+ s.version = "1.4.1"
6
9
 
7
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
11
  s.authors = ["Andi Schacke"]
9
- s.date = %q{2009-08-10}
12
+ s.date = %q{2009-09-23}
10
13
  s.description = %q{Simple Navigation is a ruby library for creating a navigation (optionally with sub navigation) for your rails app.}
11
14
  s.email = %q{andreas.schacke@gmail.com}
12
15
  s.extra_rdoc_files = [
@@ -45,12 +48,11 @@ Gem::Specification.new do |s|
45
48
  "spec/spec_helper.rb",
46
49
  "uninstall.rb"
47
50
  ]
48
- s.has_rdoc = true
49
51
  s.homepage = %q{http://github.com/andi/simple-navigation}
50
52
  s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
51
53
  s.require_paths = ["lib"]
52
54
  s.rubyforge_project = %q{andi}
53
- s.rubygems_version = %q{1.3.1}
55
+ s.rubygems_version = %q{1.3.5}
54
56
  s.summary = %q{Simple Navigation is a ruby library for creating a navigation (optionally with sub navigation) for your rails app.}
55
57
  s.test_files = [
56
58
  "spec/lib/simple_navigation/configuration_spec.rb",
@@ -66,7 +68,7 @@ Gem::Specification.new do |s|
66
68
 
67
69
  if s.respond_to? :specification_version then
68
70
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
69
- s.specification_version = 2
71
+ s.specification_version = 3
70
72
 
71
73
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
72
74
  else
data/spec/spec_helper.rb CHANGED
@@ -10,14 +10,6 @@ RAILS_ROOT = './' unless defined? RAILS_ROOT
10
10
  $:.unshift File.dirname(__FILE__)
11
11
  $:.unshift File.join(File.dirname(__FILE__), '../lib')
12
12
 
13
- require 'simple_navigation/configuration'
14
- require 'simple_navigation/helpers'
15
- require 'simple_navigation/controller_methods'
16
- require 'simple_navigation/item'
17
- require 'simple_navigation/item_container'
18
- require 'simple_navigation/renderer/base'
19
- require 'simple_navigation/renderer/list'
20
-
21
13
  require 'simple_navigation'
22
14
 
23
15
  # Spec::Runner.configure do |config|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-navigation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andi Schacke
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-10 00:00:00 +02:00
12
+ date: 2009-09-23 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -54,6 +54,8 @@ files:
54
54
  - uninstall.rb
55
55
  has_rdoc: true
56
56
  homepage: http://github.com/andi/simple-navigation
57
+ licenses: []
58
+
57
59
  post_install_message:
58
60
  rdoc_options:
59
61
  - --inline-source
@@ -75,9 +77,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
77
  requirements: []
76
78
 
77
79
  rubyforge_project: andi
78
- rubygems_version: 1.3.1
80
+ rubygems_version: 1.3.5
79
81
  signing_key:
80
- specification_version: 2
82
+ specification_version: 3
81
83
  summary: Simple Navigation is a ruby library for creating a navigation (optionally with sub navigation) for your rails app.
82
84
  test_files:
83
85
  - spec/lib/simple_navigation/configuration_spec.rb