nanoc-toolbox 0.0.1 → 0.0.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/.gitignore CHANGED
@@ -1,3 +1,9 @@
1
1
  pkg/*
2
2
  *.gem
3
3
  .bundle
4
+ .DS_Store
5
+ .autotest
6
+ .idea
7
+ .yardoc
8
+ rdoc
9
+ coverage
data/.yardopts ADDED
@@ -0,0 +1,5 @@
1
+ --protected
2
+ --no-private
3
+ -
4
+ CHANGELOG.MD
5
+ LICENSE.md
data/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # Changelog
2
+
3
+ ## developement
4
+
5
+ * NEW: README, LICENSE and CHANGELOG files
6
+ * FIXED: Correct the gemspec hompage, and removed rubyforge reference
7
+ * CHANGED: Cleanup on the navigation helper
8
+ * NEW: Add Yardoc
9
+ * NEW: RSPEC Test framework
10
+
11
+ ## Release 0.0.1
12
+
13
+ * First Release
data/Gemfile.lock ADDED
@@ -0,0 +1,22 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ nanoc-toolbox (0.0.1)
5
+ nanoc (>= 3.1.6)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ cri (1.0.1)
11
+ nanoc (3.1.6)
12
+ nanoc3 (>= 3.1.6)
13
+ nanoc3 (3.1.6)
14
+ cri (>= 1.0.0)
15
+
16
+ PLATFORMS
17
+ ruby
18
+
19
+ DEPENDENCIES
20
+ bundler (>= 1.0.0)
21
+ nanoc (>= 3.1.6)
22
+ nanoc-toolbox!
data/LICENSE.md ADDED
@@ -0,0 +1,24 @@
1
+ # License
2
+
3
+ ## (The MIT License)
4
+
5
+ Copyright (c) 2011 Anouar ADLANI <anouar@adlani.com>
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining
8
+ a copy of this software and associated documentation files (the
9
+ "Software"), to deal in the Software without restriction, including
10
+ without limitation the rights to use, copy, modify, merge, publish,
11
+ distribute, sublicense, and/or sell copies of the Software, and to
12
+ permit persons to whom the Software is furnished to do so, subject to
13
+ the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be
16
+ included in all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # nanoc-toolbox
2
+
3
+ ## Presentation
4
+
5
+ The nanoc-toolbox is a collection of filters and helpers for the static site generator tool nanoc
6
+
7
+ ## Features
8
+
9
+ * Navigation Helper
10
+
11
+ ## Requirements
12
+
13
+ * nanoc3
14
+
15
+
16
+ ## Instalation
17
+
18
+ To use the nanoc-toolbox, you have to start by installing the gem.
19
+
20
+ gem install nanox-toolbox
21
+
22
+ Then require the project main file in your default.rb file in the lib directory of your nanoc project.
23
+
24
+ require "nanoc/toolbox"
25
+
26
+ And the last step is to include the required helper or filter, anywhere in the lib directory of your lib directory.
27
+ The usage wants you to put it in the default.rb or the helpers.rb file.
28
+
29
+ The following example shows a sample helpers_.rb file in the lib directory
30
+
31
+ # Default Helpers provided By Nanoc
32
+ include Nanoc3::Helpers::Blogging
33
+ include Nanoc3::Helpers::Breadcrumbs
34
+
35
+ # Custom Helpers
36
+ include Nanoc::Toolbox::Helpers::Navigation
37
+
38
+ ## Acknowledgments
39
+
40
+
41
+
42
+ ## Author
43
+
44
+ * Anouar ADLANI <anouar@adlani.com>
45
+
46
+ ## Changelog
47
+
48
+ See the CHANGELOG.rdoc file for details.
49
+
50
+
51
+ ## License
52
+
53
+ Copyright (c) 2011 Anouar ADLANI, nanoc-toolbox is released under the MIT license.
54
+ See the LICENSE.md file for details.