0.6 release
This commit is contained in:
parent
f9dd29eafa
commit
66e8f9a319
16
lib/rocco.rb
16
lib/rocco.rb
@ -63,18 +63,18 @@ end
|
|||||||
# for other documentation sources, an `options` hash, and an optional `block`.
|
# for other documentation sources, an `options` hash, and an optional `block`.
|
||||||
# The `options` hash respects three members:
|
# The `options` hash respects three members:
|
||||||
#
|
#
|
||||||
# * `:language`: specifies which Pygments lexer to use if one can't be
|
# * `:language`: specifies which Pygments lexer to use if one can't be
|
||||||
# auto-detected from the filename. _Defaults to `ruby`_.
|
# auto-detected from the filename. _Defaults to `ruby`_.
|
||||||
#
|
#
|
||||||
# * `:comment_chars`, which specifies the comment characters of the
|
# * `:comment_chars`, which specifies the comment characters of the
|
||||||
# target language. _Defaults to `#`_.
|
# target language. _Defaults to `#`_.
|
||||||
#
|
#
|
||||||
# * `:template_file`, which specifies a external template file to use
|
# * `:template_file`, which specifies a external template file to use
|
||||||
# when rendering the final, highlighted file via Mustache. _Defaults
|
# when rendering the final, highlighted file via Mustache. _Defaults
|
||||||
# to `nil` (that is, Mustache will use `./lib/rocco/layout.mustache`)_.
|
# to `nil` (that is, Mustache will use `./lib/rocco/layout.mustache`)_.
|
||||||
#
|
#
|
||||||
class Rocco
|
class Rocco
|
||||||
VERSION = '0.5'
|
VERSION = '0.6'
|
||||||
|
|
||||||
def initialize(filename, sources=[], options={}, &block)
|
def initialize(filename, sources=[], options={}, &block)
|
||||||
@file = filename
|
@file = filename
|
||||||
|
@ -3,17 +3,18 @@ Gem::Specification.new do |s|
|
|||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
|
|
||||||
s.name = 'rocco'
|
s.name = 'rocco'
|
||||||
s.version = '0.5'
|
s.version = '0.6'
|
||||||
s.date = '2010-09-10'
|
s.date = '2011-03-05'
|
||||||
|
|
||||||
s.description = "Docco in Ruby"
|
s.description = "Docco in Ruby"
|
||||||
s.summary = s.description
|
s.summary = s.description
|
||||||
|
|
||||||
s.authors = ["Ryan Tomayko"]
|
s.authors = ["Ryan Tomayko", "Mike West"]
|
||||||
s.email = "r@tomayko.com"
|
s.email = ["r@tomayko.com", "<mike@mikewest.org>"]
|
||||||
|
|
||||||
# = MANIFEST =
|
# = MANIFEST =
|
||||||
s.files = %w[
|
s.files = %w[
|
||||||
|
CHANGES.md
|
||||||
COPYING
|
COPYING
|
||||||
README
|
README
|
||||||
Rakefile
|
Rakefile
|
||||||
@ -23,6 +24,19 @@ Gem::Specification.new do |s|
|
|||||||
lib/rocco/layout.rb
|
lib/rocco/layout.rb
|
||||||
lib/rocco/tasks.rb
|
lib/rocco/tasks.rb
|
||||||
rocco.gemspec
|
rocco.gemspec
|
||||||
|
test/fixtures/issue10.iso-8859-1.rb
|
||||||
|
test/fixtures/issue10.utf-8.rb
|
||||||
|
test/helper.rb
|
||||||
|
test/suite.rb
|
||||||
|
test/test_basics.rb
|
||||||
|
test/test_block_comments.rb
|
||||||
|
test/test_comment_normalization.rb
|
||||||
|
test/test_commentchar_detection.rb
|
||||||
|
test/test_descriptive_section_names.rb
|
||||||
|
test/test_language_detection.rb
|
||||||
|
test/test_reported_issues.rb
|
||||||
|
test/test_skippable_lines.rb
|
||||||
|
test/test_source_list.rb
|
||||||
]
|
]
|
||||||
# = MANIFEST =
|
# = MANIFEST =
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user