nanoc3 3.0.9 → 3.1.0a1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/NEWS.md +360 -0
- data/README.md +85 -0
- data/Rakefile +2 -2
- data/bin/nanoc3 +0 -4
- data/lib/nanoc3/base/code_snippet.rb +14 -6
- data/lib/nanoc3/base/compiler.rb +68 -49
- data/lib/nanoc3/base/compiler_dsl.rb +70 -29
- data/lib/nanoc3/base/context.rb +47 -0
- data/lib/nanoc3/base/core_ext/array.rb +4 -0
- data/lib/nanoc3/base/core_ext/hash.rb +5 -1
- data/lib/nanoc3/base/core_ext/string.rb +2 -0
- data/lib/nanoc3/base/data_source.rb +132 -96
- data/lib/nanoc3/base/dependency_tracker.rb +160 -185
- data/lib/nanoc3/base/directed_graph.rb +252 -0
- data/lib/nanoc3/base/errors.rb +52 -4
- data/lib/nanoc3/base/filter.rb +43 -28
- data/lib/nanoc3/base/item.rb +93 -25
- data/lib/nanoc3/base/item_rep.rb +166 -55
- data/lib/nanoc3/base/layout.rb +16 -13
- data/lib/nanoc3/base/notification_center.rb +28 -12
- data/lib/nanoc3/base/plugin_registry.rb +158 -0
- data/lib/nanoc3/base/rule.rb +27 -8
- data/lib/nanoc3/base/rule_context.rb +59 -46
- data/lib/nanoc3/base/site.rb +124 -77
- data/lib/nanoc3/base.rb +7 -2
- data/lib/nanoc3/cli/base.rb +4 -1
- data/lib/nanoc3/cli/commands/autocompile.rb +5 -4
- data/lib/nanoc3/cli/commands/compile.rb +28 -7
- data/lib/nanoc3/cli/commands/create_item.rb +1 -1
- data/lib/nanoc3/cli/commands/create_layout.rb +1 -1
- data/lib/nanoc3/cli/commands/create_site.rb +46 -22
- data/lib/nanoc3/cli/commands/debug.rb +100 -0
- data/lib/nanoc3/cli/commands/help.rb +1 -1
- data/lib/nanoc3/cli/commands/info.rb +1 -1
- data/lib/nanoc3/cli/commands/view.rb +85 -0
- data/lib/nanoc3/cli/commands.rb +2 -0
- data/lib/nanoc3/cli/logger.rb +7 -0
- data/lib/nanoc3/cli.rb +0 -3
- data/lib/nanoc3/data_sources/{delicious.rb → deprecated/delicious.rb} +1 -24
- data/lib/nanoc3/data_sources/{last_fm.rb → deprecated/last_fm.rb} +1 -27
- data/lib/nanoc3/data_sources/{twitter.rb → deprecated/twitter.rb} +1 -14
- data/lib/nanoc3/data_sources/filesystem.rb +188 -176
- data/lib/nanoc3/data_sources/filesystem_unified.rb +107 -0
- data/lib/nanoc3/data_sources/filesystem_verbose.rb +80 -0
- data/lib/nanoc3/data_sources.rb +18 -9
- data/lib/nanoc3/extra/core_ext/enumerable.rb +39 -0
- data/lib/nanoc3/extra/core_ext/time.rb +2 -2
- data/lib/nanoc3/extra/core_ext.rb +1 -0
- data/lib/nanoc3/extra/deployers/rsync.rb +49 -3
- data/lib/nanoc3/extra/file_proxy.rb +7 -0
- data/lib/nanoc3/extra/vcs.rb +25 -24
- data/lib/nanoc3/extra/vcses/bazaar.rb +4 -0
- data/lib/nanoc3/extra/vcses/dummy.rb +4 -0
- data/lib/nanoc3/extra/vcses/git.rb +4 -0
- data/lib/nanoc3/extra/vcses/mercurial.rb +4 -0
- data/lib/nanoc3/extra/vcses/subversion.rb +4 -0
- data/lib/nanoc3/extra.rb +4 -1
- data/lib/nanoc3/filters/erb.rb +1 -1
- data/lib/nanoc3/filters/erubis.rb +1 -1
- data/lib/nanoc3/filters/haml.rb +1 -1
- data/lib/nanoc3/filters/kramdown.rb +14 -0
- data/lib/nanoc3/filters/maruku.rb +1 -1
- data/lib/nanoc3/filters/rainpress.rb +1 -1
- data/lib/nanoc3/filters/rdiscount.rb +3 -1
- data/lib/nanoc3/filters.rb +2 -0
- data/lib/nanoc3/helpers/blogging.rb +91 -75
- data/lib/nanoc3/helpers/breadcrumbs.rb +18 -10
- data/lib/nanoc3/helpers/capturing.rb +24 -29
- data/lib/nanoc3/helpers/filtering.rb +20 -17
- data/lib/nanoc3/helpers/html_escape.rb +7 -4
- data/lib/nanoc3/helpers/link_to.rb +51 -41
- data/lib/nanoc3/helpers/rendering.rb +15 -8
- data/lib/nanoc3/helpers/tagging.rb +27 -21
- data/lib/nanoc3/helpers/text.rb +12 -8
- data/lib/nanoc3/helpers/xml_sitemap.rb +13 -15
- data/lib/nanoc3/tasks/deploy/rsync.rake +4 -1
- data/lib/nanoc3/tasks.rb +2 -1
- data/lib/nanoc3.rb +24 -1
- metadata +43 -87
- data/NEWS.rdoc +0 -328
- data/README.rdoc +0 -83
- data/lib/nanoc3/base/plugin.rb +0 -88
- data/lib/nanoc3/base/preprocessor_context.rb +0 -37
- data/lib/nanoc3/data_sources/filesystem_combined.rb +0 -214
- data/lib/nanoc3/data_sources/filesystem_common.rb +0 -22
- data/lib/nanoc3/data_sources/filesystem_compact.rb +0 -256
- data/lib/nanoc3/extra/context.rb +0 -24
- data/lib/nanoc3/package.rb +0 -107
- data/vendor/cri/ChangeLog +0 -0
- data/vendor/cri/LICENSE +0 -19
- data/vendor/cri/NEWS +0 -0
- data/vendor/cri/README +0 -4
- data/vendor/cri/Rakefile +0 -25
- data/vendor/cri/lib/cri/base.rb +0 -153
- data/vendor/cri/lib/cri/command.rb +0 -105
- data/vendor/cri/lib/cri/core_ext/string.rb +0 -41
- data/vendor/cri/lib/cri/core_ext.rb +0 -8
- data/vendor/cri/lib/cri/option_parser.rb +0 -186
- data/vendor/cri/lib/cri.rb +0 -12
- data/vendor/cri/test/test_base.rb +0 -6
- data/vendor/cri/test/test_command.rb +0 -6
- data/vendor/cri/test/test_core_ext.rb +0 -21
- data/vendor/cri/test/test_option_parser.rb +0 -279
@@ -2,29 +2,36 @@
|
|
2
2
|
|
3
3
|
module Nanoc3::Helpers
|
4
4
|
|
5
|
-
#
|
6
|
-
# partials.
|
5
|
+
# Provides functionality for rendering layouts as partials.
|
7
6
|
module Rendering
|
8
7
|
|
9
8
|
include Nanoc3::Helpers::Capturing
|
10
9
|
|
11
10
|
# Returns a string containing the rendered given layout.
|
12
11
|
#
|
13
|
-
#
|
12
|
+
# @param [String] identifier The identifier of the layout that should be
|
13
|
+
# rendered
|
14
14
|
#
|
15
|
-
#
|
16
|
-
#
|
15
|
+
# @param [Hash] other_assigns A hash containing assigns that will be made
|
16
|
+
# available as instance variables in the partial
|
17
17
|
#
|
18
|
-
#
|
19
|
-
# content "FOOT":
|
18
|
+
# @example Rendering a head and a foot partial around some text
|
20
19
|
#
|
21
20
|
# <%= render 'head' %> - MIDDLE - <%= render 'foot' %>
|
22
21
|
# # => "HEAD - MIDDLE - FOOT"
|
23
22
|
#
|
24
|
-
#
|
23
|
+
# @example Rendering a head partial with a custom title
|
25
24
|
#
|
25
|
+
# # The 'head' layout
|
26
|
+
# <h1><%= @title %></h1>
|
27
|
+
#
|
28
|
+
# # The item/layout where the partial is rendered
|
26
29
|
# <%= render 'head', :title => 'Foo' %>
|
27
30
|
# # => "<h1>Foo</h1>"
|
31
|
+
#
|
32
|
+
# @raise [Nanoc3::Errors::UnknownLayout] if the given layout does not exist
|
33
|
+
#
|
34
|
+
# @return [String] The rendered partial
|
28
35
|
def render(identifier, other_assigns={}, &block)
|
29
36
|
# Find layout
|
30
37
|
layout = @site.layouts.find { |l| l.identifier == identifier.cleaned_identifier }
|
@@ -2,33 +2,33 @@
|
|
2
2
|
|
3
3
|
module Nanoc3::Helpers
|
4
4
|
|
5
|
-
#
|
6
|
-
# items. To add tags to items, set the +tags+ attribute to an array of
|
7
|
-
# tags that should be applied to the item. For example:
|
5
|
+
# Provides support for managing tags added to items.
|
8
6
|
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
# To activate this helper, +include+ it, like this:
|
7
|
+
# To add tags to items, set the `tags` attribute to an array of tags that
|
8
|
+
# should be applied to the item.
|
12
9
|
#
|
13
|
-
#
|
10
|
+
# @example Adding tags to an item
|
11
|
+
# tags: [ 'foo', 'bar', 'baz' ]
|
14
12
|
module Tagging
|
15
13
|
|
16
14
|
require 'nanoc3/helpers/html_escape'
|
17
15
|
include Nanoc3::Helpers::HTMLEscape
|
18
16
|
|
19
17
|
# Returns a formatted list of tags for the given item as a string. The
|
20
|
-
# tags will be linked using the
|
21
|
-
# rules for
|
22
|
-
#
|
18
|
+
# tags will be linked using the {#link_for_tag} function; the
|
19
|
+
# HTML-escaping rules for {#link_for_tag} apply here as well.
|
20
|
+
#
|
21
|
+
# @option params [String] base_url ("http://technorati.com/tag/") The URL
|
22
|
+
# to which the tag will be appended to construct the link URL. This URL
|
23
|
+
# must have a trailing slash.
|
23
24
|
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
# "http://technorati.com/tag/".
|
25
|
+
# @option params [String] none_text ("(none)") The text to display when
|
26
|
+
# the item has no tags
|
27
27
|
#
|
28
|
-
#
|
29
|
-
#
|
28
|
+
# @option params [String] separator (", ") The separator to put between
|
29
|
+
# tags
|
30
30
|
#
|
31
|
-
#
|
31
|
+
# @return [String] A hyperlinked list of tags for the given item
|
32
32
|
def tags_for(item, params={})
|
33
33
|
base_url = params[:base_url] || 'http://technorati.com/tag/'
|
34
34
|
none_text = params[:none_text] || '(none)'
|
@@ -41,7 +41,11 @@ module Nanoc3::Helpers
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
#
|
44
|
+
# Find all items with the given tag.
|
45
|
+
#
|
46
|
+
# @param [String] tag The tag for which to find all items
|
47
|
+
#
|
48
|
+
# @return [Array] All items with the given tag
|
45
49
|
def items_with_tag(tag)
|
46
50
|
@items.select { |i| (i[:tags] || []).include?(tag) }
|
47
51
|
end
|
@@ -50,11 +54,13 @@ module Nanoc3::Helpers
|
|
50
54
|
# rel-tag microformat. The `href` attribute of the link will be HTML-
|
51
55
|
# escaped, as will the content of the `a` element.
|
52
56
|
#
|
53
|
-
#
|
54
|
-
#
|
57
|
+
# @param [String] tag The name of the tag, which should consist of letters
|
58
|
+
# and numbers (no spaces, slashes, or other special characters).
|
59
|
+
#
|
60
|
+
# @param [String] base_url The URL to which the tag will be appended to
|
61
|
+
# construct the link URL. This URL must have a trailing slash.
|
55
62
|
#
|
56
|
-
#
|
57
|
-
# link URL. This URL must have a trailing slash.
|
63
|
+
# @return [String] A link for the given tag and the given base URL
|
58
64
|
def link_for_tag(tag, base_url)
|
59
65
|
%[<a href="#{h base_url}#{h tag}" rel="tag">#{h tag}</a>]
|
60
66
|
end
|
data/lib/nanoc3/helpers/text.rb
CHANGED
@@ -2,22 +2,22 @@
|
|
2
2
|
|
3
3
|
module Nanoc3::Helpers
|
4
4
|
|
5
|
-
#
|
5
|
+
# Contains several useful text-related helper functions.
|
6
6
|
module Text
|
7
7
|
|
8
8
|
# Returns an excerpt for the given string. HTML tags are ignored, so if
|
9
9
|
# you don't want them to turn up, they should be stripped from the string
|
10
10
|
# before passing it to the excerpt function.
|
11
11
|
#
|
12
|
-
#
|
12
|
+
# @param [String] string The string for which to build an excerpt
|
13
13
|
#
|
14
|
-
#
|
15
|
-
#
|
14
|
+
# @option params [Number] length (25) The maximum number of characters
|
15
|
+
# this excerpt can contain, including the omission.
|
16
16
|
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
17
|
+
# @option params [String] omission ("...") The string to append to the
|
18
|
+
# excerpt when the excerpt is shorter than the original string
|
19
|
+
#
|
20
|
+
# @return [String] The excerpt of the given string
|
21
21
|
def excerptize(string, params={})
|
22
22
|
# Initialize params
|
23
23
|
params[:length] ||= 25
|
@@ -30,6 +30,10 @@ module Nanoc3::Helpers
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Strips all HTML tags out of the given string.
|
33
|
+
#
|
34
|
+
# @param [String] string The string from which to strip all HTML
|
35
|
+
#
|
36
|
+
# @return [String] The given string with all HTML stripped
|
33
37
|
def strip_html(string)
|
34
38
|
# FIXME will need something more sophisticated than this, because it sucks
|
35
39
|
string.gsub(/<[^>]*(>+|\s*\z)/m, '').strip
|
@@ -2,25 +2,21 @@
|
|
2
2
|
|
3
3
|
module Nanoc3::Helpers
|
4
4
|
|
5
|
-
#
|
6
|
-
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# To activate this helper, +include+ it, like this:
|
10
|
-
#
|
11
|
-
# include Nanoc3::Helpers::XMLSitemap
|
5
|
+
# Contains functionality for building XML sitemaps that will be crawled by
|
6
|
+
# search engines. See the [Sitemaps protocol site](http://www.sitemaps.org)
|
7
|
+
# for details.
|
12
8
|
module XMLSitemap
|
13
9
|
|
14
|
-
#
|
10
|
+
# Builds an XML sitemap and returns it.
|
15
11
|
#
|
16
12
|
# The following attributes can optionally be set on items to change the
|
17
13
|
# behaviour of the sitemap:
|
18
14
|
#
|
19
|
-
# *
|
20
|
-
#
|
15
|
+
# * `changefreq` — The estimated change frequency as defined by the
|
16
|
+
# Sitemaps protocol
|
21
17
|
#
|
22
|
-
# *
|
23
|
-
#
|
18
|
+
# * `priority` — The item's priority, ranging from 0.0 to 1.0, as defined
|
19
|
+
# by the Sitemaps protocol
|
24
20
|
#
|
25
21
|
# The sitemap will also include dates on which the items were updated.
|
26
22
|
# These are generated automatically; the way this happens depends on the
|
@@ -29,9 +25,11 @@ module Nanoc3::Helpers
|
|
29
25
|
#
|
30
26
|
# The site configuration will need to have the following attributes:
|
31
27
|
#
|
32
|
-
# *
|
33
|
-
#
|
34
|
-
#
|
28
|
+
# * `base_url` — The URL to the site, without trailing slash. For example,
|
29
|
+
# if the site is at "http://example.com/", the `base_url` would be
|
30
|
+
# "http://example.com".
|
31
|
+
#
|
32
|
+
# @return [String] The XML sitemap
|
35
33
|
def xml_sitemap
|
36
34
|
require 'builder'
|
37
35
|
|
@@ -4,8 +4,11 @@ namespace :deploy do
|
|
4
4
|
|
5
5
|
desc 'Upload the compiled site using rsync'
|
6
6
|
task :rsync do
|
7
|
+
dry_run = !!ENV['dry_run']
|
8
|
+
config_name = ENV['config'] || :default
|
9
|
+
|
7
10
|
deployer = Nanoc3::Extra::Deployers::Rsync.new
|
8
|
-
deployer.run :dry_run =>
|
11
|
+
deployer.run(:config_name => config_name, :dry_run => dry_run)
|
9
12
|
end
|
10
13
|
|
11
14
|
end
|
data/lib/nanoc3/tasks.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
3
|
require 'nanoc3'
|
4
|
+
require 'rake'
|
4
5
|
|
5
6
|
module Nanoc3::Tasks
|
6
7
|
end
|
7
8
|
|
8
9
|
Dir[File.dirname(__FILE__) + '/tasks/**/*.rb'].each { |f| load f }
|
9
|
-
Dir[File.dirname(__FILE__) + '/tasks/**/*.rake'].each { |f|
|
10
|
+
Dir[File.dirname(__FILE__) + '/tasks/**/*.rake'].each { |f| Rake.application.add_import(f) }
|
data/lib/nanoc3.rb
CHANGED
@@ -3,7 +3,27 @@
|
|
3
3
|
module Nanoc3
|
4
4
|
|
5
5
|
# The current nanoc version.
|
6
|
-
VERSION = '3.
|
6
|
+
VERSION = '3.1.0a1'
|
7
|
+
|
8
|
+
# Loads all nanoc3 plugins, i.e. requires all ruby gems whose name start
|
9
|
+
# with `nanoc3-`.
|
10
|
+
#
|
11
|
+
# @return [Boolean] true if all plugins were loaded successfully, false if
|
12
|
+
# rubygems isn’t loaded.
|
13
|
+
def self.load_plugins
|
14
|
+
# Don’t load if there’s no rubygems
|
15
|
+
return false if !defined?(Gem)
|
16
|
+
|
17
|
+
Gem.source_index.find_name('').each do |gem|
|
18
|
+
# Skip irrelevant ones
|
19
|
+
next if gem.name !~ /^nanoc3-/
|
20
|
+
|
21
|
+
# Load plugin
|
22
|
+
require gem.name
|
23
|
+
end
|
24
|
+
|
25
|
+
true
|
26
|
+
end
|
7
27
|
|
8
28
|
end
|
9
29
|
|
@@ -17,3 +37,6 @@ require 'nanoc3/extra'
|
|
17
37
|
require 'nanoc3/data_sources'
|
18
38
|
require 'nanoc3/filters'
|
19
39
|
require 'nanoc3/helpers'
|
40
|
+
|
41
|
+
# Load plugins
|
42
|
+
Nanoc3.load_plugins
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanoc3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0a1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
@@ -9,11 +9,20 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
13
|
-
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
12
|
+
date: 2010-02-15 00:00:00 +01:00
|
13
|
+
default_executable: nanoc3
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: cri
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.0.0
|
24
|
+
version:
|
25
|
+
description:
|
17
26
|
email: denis.defreyne@stoneship.org
|
18
27
|
executables:
|
19
28
|
- nanoc3
|
@@ -22,26 +31,25 @@ extensions: []
|
|
22
31
|
extra_rdoc_files:
|
23
32
|
- ChangeLog
|
24
33
|
- LICENSE
|
25
|
-
-
|
26
|
-
-
|
27
|
-
- README.rdoc
|
28
|
-
- bin/nanoc3
|
34
|
+
- README.md
|
35
|
+
- NEWS.md
|
29
36
|
files:
|
30
37
|
- ChangeLog
|
31
38
|
- LICENSE
|
32
|
-
- NEWS.
|
39
|
+
- NEWS.md
|
33
40
|
- Rakefile
|
34
|
-
- README.
|
35
|
-
- bin/nanoc3
|
41
|
+
- README.md
|
36
42
|
- lib/nanoc3/base/code_snippet.rb
|
37
43
|
- lib/nanoc3/base/compiler.rb
|
38
44
|
- lib/nanoc3/base/compiler_dsl.rb
|
45
|
+
- lib/nanoc3/base/context.rb
|
39
46
|
- lib/nanoc3/base/core_ext/array.rb
|
40
47
|
- lib/nanoc3/base/core_ext/hash.rb
|
41
48
|
- lib/nanoc3/base/core_ext/string.rb
|
42
49
|
- lib/nanoc3/base/core_ext.rb
|
43
50
|
- lib/nanoc3/base/data_source.rb
|
44
51
|
- lib/nanoc3/base/dependency_tracker.rb
|
52
|
+
- lib/nanoc3/base/directed_graph.rb
|
45
53
|
- lib/nanoc3/base/errors.rb
|
46
54
|
- lib/nanoc3/base/filter.rb
|
47
55
|
- lib/nanoc3/base/item.rb
|
@@ -49,8 +57,7 @@ files:
|
|
49
57
|
- lib/nanoc3/base/layout.rb
|
50
58
|
- lib/nanoc3/base/notification_center.rb
|
51
59
|
- lib/nanoc3/base/ordered_hash.rb
|
52
|
-
- lib/nanoc3/base/
|
53
|
-
- lib/nanoc3/base/preprocessor_context.rb
|
60
|
+
- lib/nanoc3/base/plugin_registry.rb
|
54
61
|
- lib/nanoc3/base/rule.rb
|
55
62
|
- lib/nanoc3/base/rule_context.rb
|
56
63
|
- lib/nanoc3/base/site.rb
|
@@ -61,23 +68,24 @@ files:
|
|
61
68
|
- lib/nanoc3/cli/commands/create_item.rb
|
62
69
|
- lib/nanoc3/cli/commands/create_layout.rb
|
63
70
|
- lib/nanoc3/cli/commands/create_site.rb
|
71
|
+
- lib/nanoc3/cli/commands/debug.rb
|
64
72
|
- lib/nanoc3/cli/commands/help.rb
|
65
73
|
- lib/nanoc3/cli/commands/info.rb
|
66
74
|
- lib/nanoc3/cli/commands/update.rb
|
75
|
+
- lib/nanoc3/cli/commands/view.rb
|
67
76
|
- lib/nanoc3/cli/commands.rb
|
68
77
|
- lib/nanoc3/cli/logger.rb
|
69
78
|
- lib/nanoc3/cli.rb
|
70
|
-
- lib/nanoc3/data_sources/delicious.rb
|
79
|
+
- lib/nanoc3/data_sources/deprecated/delicious.rb
|
80
|
+
- lib/nanoc3/data_sources/deprecated/last_fm.rb
|
81
|
+
- lib/nanoc3/data_sources/deprecated/twitter.rb
|
71
82
|
- lib/nanoc3/data_sources/filesystem.rb
|
72
|
-
- lib/nanoc3/data_sources/
|
73
|
-
- lib/nanoc3/data_sources/
|
74
|
-
- lib/nanoc3/data_sources/filesystem_compact.rb
|
75
|
-
- lib/nanoc3/data_sources/last_fm.rb
|
76
|
-
- lib/nanoc3/data_sources/twitter.rb
|
83
|
+
- lib/nanoc3/data_sources/filesystem_unified.rb
|
84
|
+
- lib/nanoc3/data_sources/filesystem_verbose.rb
|
77
85
|
- lib/nanoc3/data_sources.rb
|
78
86
|
- lib/nanoc3/extra/auto_compiler.rb
|
79
87
|
- lib/nanoc3/extra/chick.rb
|
80
|
-
- lib/nanoc3/extra/
|
88
|
+
- lib/nanoc3/extra/core_ext/enumerable.rb
|
81
89
|
- lib/nanoc3/extra/core_ext/time.rb
|
82
90
|
- lib/nanoc3/extra/core_ext.rb
|
83
91
|
- lib/nanoc3/extra/deployers/rsync.rb
|
@@ -99,6 +107,7 @@ files:
|
|
99
107
|
- lib/nanoc3/filters/erb.rb
|
100
108
|
- lib/nanoc3/filters/erubis.rb
|
101
109
|
- lib/nanoc3/filters/haml.rb
|
110
|
+
- lib/nanoc3/filters/kramdown.rb
|
102
111
|
- lib/nanoc3/filters/less.rb
|
103
112
|
- lib/nanoc3/filters/markaby.rb
|
104
113
|
- lib/nanoc3/filters/maruku.rb
|
@@ -121,107 +130,54 @@ files:
|
|
121
130
|
- lib/nanoc3/helpers/text.rb
|
122
131
|
- lib/nanoc3/helpers/xml_sitemap.rb
|
123
132
|
- lib/nanoc3/helpers.rb
|
124
|
-
- lib/nanoc3/package.rb
|
125
133
|
- lib/nanoc3/tasks/clean.rake
|
126
134
|
- lib/nanoc3/tasks/clean.rb
|
127
135
|
- lib/nanoc3/tasks/deploy/rsync.rake
|
128
136
|
- lib/nanoc3/tasks/validate.rake
|
129
137
|
- lib/nanoc3/tasks.rb
|
130
138
|
- lib/nanoc3.rb
|
131
|
-
|
132
|
-
- vendor/cri/lib/cri/base.rb
|
133
|
-
- vendor/cri/lib/cri/command.rb
|
134
|
-
- vendor/cri/lib/cri/core_ext/string.rb
|
135
|
-
- vendor/cri/lib/cri/core_ext.rb
|
136
|
-
- vendor/cri/lib/cri/option_parser.rb
|
137
|
-
- vendor/cri/lib/cri.rb
|
138
|
-
- vendor/cri/LICENSE
|
139
|
-
- vendor/cri/NEWS
|
140
|
-
- vendor/cri/Rakefile
|
141
|
-
- vendor/cri/README
|
142
|
-
- vendor/cri/test/test_base.rb
|
143
|
-
- vendor/cri/test/test_command.rb
|
144
|
-
- vendor/cri/test/test_core_ext.rb
|
145
|
-
- vendor/cri/test/test_option_parser.rb
|
146
|
-
has_rdoc: true
|
139
|
+
has_rdoc: yard
|
147
140
|
homepage: http://nanoc.stoneship.org/
|
148
141
|
licenses: []
|
149
142
|
|
150
143
|
post_install_message: |
|
151
144
|
------------------------------------------------------------------------------
|
152
|
-
Thanks for installing nanoc 3.
|
145
|
+
Thanks for installing nanoc 3.1! Here are some resources to help you get
|
146
|
+
started:
|
153
147
|
|
154
148
|
* The tutorial at <http://nanoc.stoneship.org/tutorial/>
|
155
149
|
* The manual at <http://nanoc.stoneship.org/manual/>
|
156
150
|
* The discussion group at <http://groups.google.com/group/nanoc>
|
157
|
-
* The IRC channel #nanoc on Freenode
|
158
151
|
|
159
|
-
Because nanoc 3.
|
152
|
+
Because nanoc 3.1 has quite a few new features, be sure to check out the nanoc
|
153
|
+
blog at <http://nanoc.stoneship.org/blog/> for details about this release.
|
160
154
|
|
161
155
|
Enjoy!
|
162
156
|
------------------------------------------------------------------------------
|
163
157
|
|
164
158
|
rdoc_options:
|
165
|
-
- --
|
166
|
-
-
|
167
|
-
- --main
|
168
|
-
- README.rdoc
|
169
|
-
- --exclude
|
170
|
-
- lib/nanoc3/tasks/clean.rake
|
171
|
-
- --exclude
|
172
|
-
- lib/nanoc3/tasks/deploy/rsync.rake
|
173
|
-
- --exclude
|
174
|
-
- lib/nanoc3/tasks/validate.rake
|
175
|
-
- --exclude
|
176
|
-
- vendor/cri/ChangeLog
|
177
|
-
- --exclude
|
178
|
-
- vendor/cri/lib/cri/base.rb
|
179
|
-
- --exclude
|
180
|
-
- vendor/cri/lib/cri/command.rb
|
181
|
-
- --exclude
|
182
|
-
- vendor/cri/lib/cri/core_ext/string.rb
|
183
|
-
- --exclude
|
184
|
-
- vendor/cri/lib/cri/core_ext.rb
|
185
|
-
- --exclude
|
186
|
-
- vendor/cri/lib/cri/option_parser.rb
|
187
|
-
- --exclude
|
188
|
-
- vendor/cri/lib/cri.rb
|
189
|
-
- --exclude
|
190
|
-
- vendor/cri/LICENSE
|
191
|
-
- --exclude
|
192
|
-
- vendor/cri/NEWS
|
193
|
-
- --exclude
|
194
|
-
- vendor/cri/Rakefile
|
195
|
-
- --exclude
|
196
|
-
- vendor/cri/README
|
197
|
-
- --exclude
|
198
|
-
- vendor/cri/test/test_base.rb
|
199
|
-
- --exclude
|
200
|
-
- vendor/cri/test/test_command.rb
|
201
|
-
- --exclude
|
202
|
-
- vendor/cri/test/test_core_ext.rb
|
203
|
-
- --exclude
|
204
|
-
- vendor/cri/test/test_option_parser.rb
|
159
|
+
- --readme
|
160
|
+
- README.md
|
205
161
|
require_paths:
|
206
162
|
- lib
|
207
163
|
required_ruby_version: !ruby/object:Gem::Requirement
|
208
164
|
requirements:
|
209
165
|
- - ">="
|
210
166
|
- !ruby/object:Gem::Version
|
211
|
-
version:
|
167
|
+
version: "0"
|
212
168
|
version:
|
213
169
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
170
|
requirements:
|
215
|
-
- - "
|
171
|
+
- - ">"
|
216
172
|
- !ruby/object:Gem::Version
|
217
|
-
version:
|
173
|
+
version: 1.3.1
|
218
174
|
version:
|
219
175
|
requirements: []
|
220
176
|
|
221
|
-
rubyforge_project:
|
177
|
+
rubyforge_project:
|
222
178
|
rubygems_version: 1.3.5
|
223
179
|
signing_key:
|
224
180
|
specification_version: 3
|
225
|
-
summary: a
|
181
|
+
summary: a web publishing system written in Ruby for building small to medium-sized websites.
|
226
182
|
test_files: []
|
227
183
|
|