nanoc-navigation_builder 1.0.0.beta4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source :rubygems
2
+
3
+ gem 'navigation_builder', '~> 1.0.0.beta4'
4
+
5
+ group :development do
6
+ gem "bundler", "~> 1.0.0"
7
+ gem "jeweler", "~> 1.6.0"
8
+ end
@@ -0,0 +1,18 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ git (1.2.5)
5
+ jeweler (1.6.0)
6
+ bundler (~> 1.0.0)
7
+ git (>= 1.2.5)
8
+ rake
9
+ navigation_builder (1.0.0.beta4)
10
+ rake (0.9.0)
11
+
12
+ PLATFORMS
13
+ ruby
14
+
15
+ DEPENDENCIES
16
+ bundler (~> 1.0.0)
17
+ jeweler (~> 1.6.0)
18
+ navigation_builder (~> 1.0.0.beta4)
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Derek Lindahl
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ # nanoc-navigation_builder #
2
+
3
+ Description goes here.
4
+
5
+ ## Contributing to nanoc-navigation_builder ##
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ ## Copyright ##
16
+
17
+ Copyright (c) 2011 CustomInk, LLC. See LICENSE.txt for
18
+ further details.
19
+
@@ -0,0 +1,39 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "nanoc-navigation_builder"
18
+ gem.homepage = "http://github.com/dlindahl/nanoc-navigation_builder"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{A Nanoc plugin that enables NavigationBuilders}
21
+ gem.description = %Q{A Nanoc plugin that enables the NavigationBuilder gem to work in your Nanoc sites.}
22
+ gem.email = "dlindahl@customink.com"
23
+ gem.authors = ["Derek Lindahl"]
24
+ # dependencies defined in Gemfile
25
+ gem.add_dependency 'navigation_builder', "~> 1.0.0.beta4"
26
+ end
27
+ Jeweler::RubygemsDotOrgTasks.new
28
+
29
+ task :default => :test
30
+
31
+ require 'rake/rdoctask'
32
+ Rake::RDocTask.new do |rdoc|
33
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
34
+
35
+ rdoc.rdoc_dir = 'rdoc'
36
+ rdoc.title = "nanoc-navigation_builder #{version}"
37
+ rdoc.rdoc_files.include('README*')
38
+ rdoc.rdoc_files.include('lib/**/*.rb')
39
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0.beta4
@@ -0,0 +1,13 @@
1
+ require 'navigation_builder'
2
+
3
+ include ActionView::Helpers::NavigationBuilderHelper
4
+
5
+ module Nanoc3
6
+ class Item
7
+
8
+ def navigation_builder
9
+ @navigation_builder ||= { :main => nil }
10
+ end
11
+
12
+ end
13
+ end
@@ -0,0 +1,59 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{nanoc-navigation_builder}
8
+ s.version = "1.0.0.beta4"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Derek Lindahl"]
12
+ s.date = %q{2011-05-27}
13
+ s.description = %q{A Nanoc plugin that enables the NavigationBuilder gem to work in your Nanoc sites.}
14
+ s.email = %q{dlindahl@customink.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE.txt",
24
+ "README.md",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "lib/nanoc-navigation_builder.rb",
28
+ "nanoc-navigation_builder.gemspec",
29
+ "test/helper.rb",
30
+ "test/test_nanoc-navigation_builder.rb"
31
+ ]
32
+ s.homepage = %q{http://github.com/dlindahl/nanoc-navigation_builder}
33
+ s.licenses = ["MIT"]
34
+ s.require_paths = ["lib"]
35
+ s.rubygems_version = %q{1.4.0}
36
+ s.summary = %q{A Nanoc plugin that enables NavigationBuilders}
37
+
38
+ if s.respond_to? :specification_version then
39
+ s.specification_version = 3
40
+
41
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
42
+ s.add_runtime_dependency(%q<navigation_builder>, ["~> 1.0.0.beta4"])
43
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
44
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
45
+ s.add_runtime_dependency(%q<navigation_builder>, ["~> 1.0.0.beta4"])
46
+ else
47
+ s.add_dependency(%q<navigation_builder>, ["~> 1.0.0.beta4"])
48
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
49
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
50
+ s.add_dependency(%q<navigation_builder>, ["~> 1.0.0.beta4"])
51
+ end
52
+ else
53
+ s.add_dependency(%q<navigation_builder>, ["~> 1.0.0.beta4"])
54
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
55
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
56
+ s.add_dependency(%q<navigation_builder>, ["~> 1.0.0.beta4"])
57
+ end
58
+ end
59
+
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+ require 'shoulda'
12
+
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
15
+ require 'nanoc-navigation_builder'
16
+
17
+ class Test::Unit::TestCase
18
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestNanocNavigationBuilder < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,149 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nanoc-navigation_builder
3
+ version: !ruby/object:Gem::Version
4
+ hash: 62196363
5
+ prerelease: 6
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 0
10
+ - beta
11
+ - 4
12
+ version: 1.0.0.beta4
13
+ platform: ruby
14
+ authors:
15
+ - Derek Lindahl
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+
20
+ date: 2011-05-27 00:00:00 -04:00
21
+ default_executable:
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
24
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 62196363
30
+ segments:
31
+ - 1
32
+ - 0
33
+ - 0
34
+ - beta
35
+ - 4
36
+ version: 1.0.0.beta4
37
+ requirement: *id001
38
+ prerelease: false
39
+ name: navigation_builder
40
+ type: :runtime
41
+ - !ruby/object:Gem::Dependency
42
+ version_requirements: &id002 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ hash: 23
48
+ segments:
49
+ - 1
50
+ - 0
51
+ - 0
52
+ version: 1.0.0
53
+ requirement: *id002
54
+ prerelease: false
55
+ name: bundler
56
+ type: :development
57
+ - !ruby/object:Gem::Dependency
58
+ version_requirements: &id003 !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ~>
62
+ - !ruby/object:Gem::Version
63
+ hash: 15
64
+ segments:
65
+ - 1
66
+ - 6
67
+ - 0
68
+ version: 1.6.0
69
+ requirement: *id003
70
+ prerelease: false
71
+ name: jeweler
72
+ type: :development
73
+ - !ruby/object:Gem::Dependency
74
+ version_requirements: &id004 !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ hash: 62196363
80
+ segments:
81
+ - 1
82
+ - 0
83
+ - 0
84
+ - beta
85
+ - 4
86
+ version: 1.0.0.beta4
87
+ requirement: *id004
88
+ prerelease: false
89
+ name: navigation_builder
90
+ type: :runtime
91
+ description: A Nanoc plugin that enables the NavigationBuilder gem to work in your Nanoc sites.
92
+ email: dlindahl@customink.com
93
+ executables: []
94
+
95
+ extensions: []
96
+
97
+ extra_rdoc_files:
98
+ - LICENSE.txt
99
+ - README.md
100
+ files:
101
+ - .document
102
+ - Gemfile
103
+ - Gemfile.lock
104
+ - LICENSE.txt
105
+ - README.md
106
+ - Rakefile
107
+ - VERSION
108
+ - lib/nanoc-navigation_builder.rb
109
+ - nanoc-navigation_builder.gemspec
110
+ - test/helper.rb
111
+ - test/test_nanoc-navigation_builder.rb
112
+ has_rdoc: true
113
+ homepage: http://github.com/dlindahl/nanoc-navigation_builder
114
+ licenses:
115
+ - MIT
116
+ post_install_message:
117
+ rdoc_options: []
118
+
119
+ require_paths:
120
+ - lib
121
+ required_ruby_version: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ hash: 3
127
+ segments:
128
+ - 0
129
+ version: "0"
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ">"
134
+ - !ruby/object:Gem::Version
135
+ hash: 25
136
+ segments:
137
+ - 1
138
+ - 3
139
+ - 1
140
+ version: 1.3.1
141
+ requirements: []
142
+
143
+ rubyforge_project:
144
+ rubygems_version: 1.4.0
145
+ signing_key:
146
+ specification_version: 3
147
+ summary: A Nanoc plugin that enables NavigationBuilders
148
+ test_files: []
149
+