literate_maruku 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ doc
2
+ pkg
3
+ log
data/History.txt CHANGED
@@ -1,3 +1,10 @@
1
+ == 0.1.2 2009-11-28
2
+
3
+ * major enhancements
4
+ * moved to gemcutter
5
+ * minor enhancements
6
+ * removed all old cruft
7
+
1
8
  == 0.1.1 2007-10-05
2
9
 
3
10
  * minor enhancement:
data/README.rdoc ADDED
@@ -0,0 +1,133 @@
1
+ = Literate Maruku
2
+
3
+ Literate Maruku is a literate programming libary for ruby based on the markdown
4
+ libary maruku. This is basically what the name say, isn't it?
5
+
6
+ == The Basics
7
+
8
+ There are two possible accesses to the libary. A programming API and a command
9
+ line interface. The first may be used to write better documented tests,
10
+ for example. Just write a little bit of code in your test_helper and call
11
+ Literate Maruku there and your markdown formatted tests will be executed.
12
+
13
+ The command line interface may the be used inside of a rake task, e.g. to
14
+ generate some html files out of your test files demonstrating their usage.
15
+ We have used this approach in ContextR, so have a look there to get some input.
16
+
17
+
18
+ == Demonstration of Use
19
+
20
+ === The Markdown Syntax
21
+
22
+ Literate Maruku simply extends the functionality of Maruku and adds some
23
+ methods to make standard use cases easier. You may find detailed information
24
+ about maruku at {their project page}[http://maruku.rubyforge.org/]. They added
25
+ some nice features to {Markdown
26
+ formatting}[http://daringfireball.net/projects/markdown/syntax], esp. the {meta
27
+ data syntax}[http://maruku.rubyforge.org/proposal.html] which made implementing
28
+ literate maruku a charm.
29
+
30
+ Wanna see examples? Okay, here they are:
31
+
32
+ ==== Markdown
33
+
34
+ This is a normal paragraph, followed by a plain old code block
35
+
36
+ literate_maruku == maruku + ruby
37
+
38
+ And the following code block will not only be rendered, but also executed.
39
+
40
+ def echo_block(string)
41
+ (0...(text.size)).map{|i| text[0..i]}.reverse.join(" ... ")
42
+ end
43
+ {: execute}
44
+
45
+ And, finally, the following block will be executed and its output will be
46
+ rendered as well.
47
+
48
+ echo_block("hallo")
49
+ {: execute attach_output}
50
+
51
+
52
+ ==== HTML
53
+
54
+ This is a normal paragraph, followed by a plain old code block
55
+
56
+ literate_maruku == maruku + ruby
57
+
58
+ And the following code block will not only be rendered, but also executed.
59
+
60
+ def echo_block(string)
61
+ (0...(text.size)).map{|i| text[0..i]}.reverse.join(" ... ")
62
+ end
63
+
64
+ And, finally, the following block will be executed and its output will be
65
+ rendered as well.
66
+
67
+ echo_block("hallo")
68
+ >> "hello ... hell ... hel ... he ... h"
69
+
70
+
71
+ == The Command Line Interface
72
+
73
+ Simply call <tt>literate_maruku filename.mkd</tt> to load your markdown
74
+ formatted ruby files. This will execute the code but not generate any output.
75
+ It basically works like a simpe <tt>ruby filename.rb</tt> call, but without all
76
+ the command line parameters the +ruby+ command supports.
77
+
78
+ If you like to generate some html files, append an additional parameter, which
79
+ tells literate_maruku where to put the output.
80
+ <tt>literate_maruku --output_path=test filename.mkd</tt> would file the output
81
+ of <tt>filename.mkd</tt> to <tt>test/filename.html</tt>. That's all, folks.
82
+
83
+ == The Programming Interface
84
+
85
+ To use Literate Maruku in your own special way simply use the
86
+ <tt>LiterateMaruku#require</tt> method.
87
+
88
+ require 'literate_maruku'
89
+
90
+ LiterateMaruku.require('filename.mkd') # or
91
+ LiterateMaruku.require('filename.mkd', :output => "test")
92
+
93
+ These will have the same result as the command line examples.
94
+
95
+ If you are unhappy with these little possibilities, no problem: You may still
96
+ use the standard maruku interface to do with your markdown string, what you like
97
+ after require'ing literate_maruku the maruku code base is extended for the
98
+ literate programming style.
99
+
100
+
101
+ == Installing & Compatibility
102
+
103
+ gem install literate_maruku
104
+
105
+ Literate Maruku is currently only tested and known to work with
106
+
107
+ * Ruby 1.8.6 and 1.8.7 (MRI)
108
+ * Ruby 1.9.1 (YARV)
109
+ * JRuby 1.x
110
+
111
+
112
+ == Additional Resources
113
+
114
+ * {Project's website}[http://github.com/schmidt/literate_maruku/]
115
+ * {API doc}[http://rdoc.info/projects/schmidt/literate_maruku]
116
+ * {Build Status on RunCodeRun}[http://runcoderun.com/schmidt/literate_maruku]
117
+
118
+
119
+ == How to submit patches
120
+
121
+ In order to submit patches, please fork the repository on GitHub, add your
122
+ patches to your own copy and send a "Pull Request" afterwards. I will then try
123
+ to add your submissions as soon as possible. Patches containing corresponding
124
+ tests are always welcome.
125
+
126
+ Bug reports or general feature requests should be added using GitHub Issues.
127
+
128
+
129
+ == License
130
+
131
+ This code is free to use under the terms of the MIT license.
132
+
133
+ :include: License.txt
data/Rakefile CHANGED
@@ -1,4 +1,44 @@
1
- require 'config/requirements'
2
- require 'config/hoe' # setup Hoe + all gem configuration
1
+ require 'rake'
2
+ require 'rake/rdoctask'
3
3
 
4
- Dir['tasks/**/*.rake'].each { |rake| load rake }
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gemspec|
7
+ gemspec.name = "literate_maruku"
8
+ gemspec.summary = "Literate programming for Ruby based on Maruku."
9
+ gemspec.description = "Given Ruby's open classes and Maruku's powerful " +
10
+ "parser architecture, literate_maruku provides a basic literate " +
11
+ "programming environment for Ruby."
12
+ gemspec.email = "ruby@schmidtwisser.de"
13
+ gemspec.homepage = "http://github.com/schmidt/literate_maruku"
14
+ gemspec.authors = ["Gregor Schmidt"]
15
+
16
+ gemspec.executable = "literate_maruku"
17
+
18
+ gemspec.add_dependency('maruku', '>= 0.6.0')
19
+
20
+ gemspec.add_development_dependency('rake')
21
+ gemspec.add_development_dependency('jeweler', '>= 1.4.0')
22
+ end
23
+
24
+ Jeweler::GemcutterTasks.new
25
+ rescue LoadError
26
+ puts "Jeweler not available. Install it with: sudo gem install jeweler"
27
+ end
28
+
29
+ desc "Run all tests"
30
+ task :test do
31
+ require 'rake/runtest'
32
+ Rake.run_tests 'test/**/*_test.rb'
33
+ end
34
+
35
+ desc 'Generate documentation for the literate_maruku gem.'
36
+ Rake::RDocTask.new(:doc) do |doc|
37
+ doc.rdoc_dir = 'doc'
38
+ doc.title = 'literate_maruku'
39
+ doc.options << '--line-numbers' << '--inline-source'
40
+ doc.rdoc_files.include('README.rdoc')
41
+ doc.rdoc_files.include('lib/**/*.rb')
42
+ end
43
+
44
+ task :default => :test
data/bin/literate_maruku CHANGED
@@ -11,8 +11,6 @@ end
11
11
 
12
12
  require 'optparse'
13
13
 
14
- # NOTE: the option -p/--path= is given as an example, and should probably be replaced in your application.
15
-
16
14
  OPTIONS = {
17
15
  :output_path => nil
18
16
  }
@@ -25,7 +23,7 @@ corresponding code in a style of literate programming. This is the
25
23
  command line front end of the literate_maruku gem. You may find
26
24
  additional information on our website
27
25
 
28
- http://rug-b.rubyforge.org/literate_maruku/
26
+ http://github.com/schmidt/literate_maruku/
29
27
 
30
28
  Usage: #{File.basename($0)} [options] filename.mkd
31
29
 
@@ -1,7 +1,7 @@
1
1
  $:.unshift File.dirname(__FILE__)
2
2
 
3
3
  require "rubygems"
4
- gem "maruku"
4
+ gem "maruku", ">= 0.6.0"
5
5
  require "maruku"
6
6
 
7
7
  module LiterateMaruku
@@ -44,14 +44,21 @@ module LiterateMaruku
44
44
  content
45
45
  end
46
46
 
47
- private
47
+ private
48
48
  def generate_output(file)
49
49
  Maruku.new(markdown_string(file))
50
50
  end
51
51
 
52
52
  def markdown_string(file)
53
- dir = $:.find{ |load_dir| File.exists?(File.join(load_dir, file)) } || "."
54
- File.open(File.join(dir, file)){|f| f.readlines.join}
53
+ if File.exist?(file)
54
+ filename = file
55
+ else
56
+ dir = $:.find{ |load_dir| File.exist?(File.join(load_dir, file)) }
57
+ raise LoadError, "no such file to load -- #{file}" if dir.nil?
58
+
59
+ filename = File.join(dir, file)
60
+ end
61
+ File.open(filename) { |f| f.readlines.join }
55
62
  end
56
63
 
57
64
  def store_in_file(file_base_name, string, directory)
@@ -102,7 +109,7 @@ module MaRuKu
102
109
  alias_method :to_html_code_using_pre,
103
110
  :to_html_code_using_pre_with_literate
104
111
 
105
- private
112
+ private
106
113
  def is_true?(key)
107
114
  get_setting(key) && get_setting(key) != "false"
108
115
  end
@@ -0,0 +1,63 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{literate_maruku}
8
+ s.version = "0.1.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Gregor Schmidt"]
12
+ s.date = %q{2009-11-28}
13
+ s.default_executable = %q{literate_maruku}
14
+ s.description = %q{Given Ruby's open classes and Maruku's powerful parser architecture, literate_maruku provides a basic literate programming environment for Ruby.}
15
+ s.email = %q{ruby@schmidtwisser.de}
16
+ s.executables = ["literate_maruku"]
17
+ s.extra_rdoc_files = [
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".gitignore",
22
+ "History.txt",
23
+ "License.txt",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "bin/literate_maruku",
27
+ "lib/literate_maruku.rb",
28
+ "literate_maruku.gemspec",
29
+ "test/literate_maruku_test.rb",
30
+ "test/test_document.mkd",
31
+ "test/test_helper.rb",
32
+ "version.yml"
33
+ ]
34
+ s.homepage = %q{http://github.com/schmidt/literate_maruku}
35
+ s.rdoc_options = ["--charset=UTF-8"]
36
+ s.require_paths = ["lib"]
37
+ s.rubygems_version = %q{1.3.5}
38
+ s.summary = %q{Literate programming for Ruby based on Maruku.}
39
+ s.test_files = [
40
+ "test/literate_maruku_test.rb",
41
+ "test/test_helper.rb"
42
+ ]
43
+
44
+ if s.respond_to? :specification_version then
45
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
46
+ s.specification_version = 3
47
+
48
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
49
+ s.add_runtime_dependency(%q<maruku>, [">= 0.6.0"])
50
+ s.add_development_dependency(%q<rake>, [">= 0"])
51
+ s.add_development_dependency(%q<jeweler>, [">= 1.4.0"])
52
+ else
53
+ s.add_dependency(%q<maruku>, [">= 0.6.0"])
54
+ s.add_dependency(%q<rake>, [">= 0"])
55
+ s.add_dependency(%q<jeweler>, [">= 1.4.0"])
56
+ end
57
+ else
58
+ s.add_dependency(%q<maruku>, [">= 0.6.0"])
59
+ s.add_dependency(%q<rake>, [">= 0"])
60
+ s.add_dependency(%q<jeweler>, [">= 1.4.0"])
61
+ end
62
+ end
63
+
@@ -1,70 +1,72 @@
1
- require File.dirname(__FILE__) + '/test_helper.rb'
2
-
3
- class TestMaRuKu < Test::Unit::TestCase
4
- def test_should_not_execute_each_and_every_code_environment
5
- doc = Maruku.new(%q{ THIS_CONSTANT_WILL_NOT_BE_DEFINED = true})
6
-
7
- output = %q{
8
- <pre><code>THIS_CONSTANT_WILL_NOT_BE_DEFINED = true</code></pre>
9
- }
10
-
11
- assert_equal output, doc.to_html
12
- assert !Object.const_defined?("THIS_CONSTANT_WILL_NOT_BE_DEFINED")
13
- end
14
-
15
- def test_should_execute_code_with_metadata
16
- doc = Maruku.new(%q{
17
- TEST_WORKS = true
18
- {: execute}})
19
-
20
- output = %q{
21
- <pre><code>TEST_WORKS = true</code></pre>
22
- }
23
-
24
- assert_equal output, doc.to_html
25
- assert Object.const_defined?("TEST_WORKS")
26
- assert TEST_WORKS
27
- end
28
-
29
- def test_should_attach_output_if_requested
30
- doc = Maruku.new(%q{
31
- 1 + 1 == 2
32
- {: execute attach_output}})
33
-
34
- output = %q{
35
- <pre><code>1 + 1 == 2
36
- &gt;&gt; true</code></pre>
37
- }
38
-
39
- assert_equal output, doc.to_html
40
- end
41
- end
42
-
43
- class LiterateMarukuTest < Test::Unit::TestCase
44
- def setup
45
- @dirname = File.dirname(__FILE__)
46
- @base_filename = "test_document"
47
-
48
- @mkd_filename = @base_filename + ".mkd"
49
- @html_filename = @base_filename + ".html"
50
-
51
- @full_filename = File.join(@dirname, @html_filename)
52
-
53
- File.delete(@full_filename) if File.exists?(@full_filename)
54
- end
55
-
56
- def teardown
57
- File.delete(@full_filename) if File.exists?(@full_filename)
58
- end
59
-
60
- def test_require_should_execute_annotated_code_environments
61
- LiterateMaruku.require(@mkd_filename)
62
- assert $this_code_block_will_be_executed
63
- end
64
-
65
- def test_require_should_generate_an_html_file
66
- LiterateMaruku.require(@mkd_filename, :output => @dirname)
67
-
68
- assert File.exists?(@full_filename)
69
- end
70
- end
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+
3
+ class MaRuKuTest < Test::Unit::TestCase
4
+ def test_should_not_execute_each_and_every_code_environment
5
+ doc = Maruku.new(%q{ THIS_CONSTANT_WILL_NOT_BE_DEFINED = true})
6
+
7
+ output = %q{<pre><code>THIS_CONSTANT_WILL_NOT_BE_DEFINED = true</code></pre>}
8
+
9
+ assert_equal output, doc.to_html
10
+ assert !Object.const_defined?("THIS_CONSTANT_WILL_NOT_BE_DEFINED")
11
+ end
12
+
13
+ def test_should_execute_code_with_metadata
14
+ doc = Maruku.new(%q{
15
+ TEST_WORKS = true
16
+ {: execute}})
17
+
18
+ output = %q{<pre><code>TEST_WORKS = true</code></pre>}
19
+
20
+ assert_equal output, doc.to_html
21
+ assert Object.const_defined?("TEST_WORKS")
22
+ assert TEST_WORKS
23
+ end
24
+
25
+ def test_should_attach_output_if_requested
26
+ doc = Maruku.new(%q{
27
+ 1 + 1 == 2
28
+ {: execute attach_output}})
29
+
30
+ output = %q{<pre><code>1 + 1 == 2
31
+ &gt;&gt; true</code></pre>}
32
+
33
+ assert_equal output, doc.to_html
34
+ end
35
+ end
36
+
37
+ class LiterateMarukuTest < Test::Unit::TestCase
38
+ def setup
39
+ @dirname = File.dirname(__FILE__)
40
+ @base_filename = "test_document"
41
+
42
+ @mkd_filename = File.join(@dirname, @base_filename + ".mkd")
43
+ @html_filename = File.join(@dirname, @base_filename + ".html")
44
+
45
+ teardown
46
+ end
47
+
48
+ def teardown
49
+ File.delete(@html_filename) if File.exists?(@html_filename)
50
+ end
51
+
52
+ def test_require_should_execute_annotated_code_environments
53
+ LiterateMaruku.require(@mkd_filename)
54
+ assert $this_code_block_will_be_executed
55
+ end
56
+
57
+ def test_require_should_not_execute_every_code_environment
58
+ LiterateMaruku.require(@mkd_filename)
59
+ assert !$this_code_block_will_not_be_executed
60
+ end
61
+
62
+ def test_require_should_generate_an_html_file
63
+ LiterateMaruku.require(@mkd_filename, :output => @dirname)
64
+ assert File.exists?(@html_filename)
65
+ end
66
+
67
+ def test_require_should_raise_load_error_for_missing_files
68
+ assert_raise(LoadError) do
69
+ LiterateMaruku.require("missing_file.mkd")
70
+ end
71
+ end
72
+ end
data/version.yml ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ :major: 0
3
+ :minor: 1
4
+ :patch: 2
metadata CHANGED
@@ -1,99 +1,96 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: literate_maruku
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.1.1
7
- date: 2007-10-05 00:00:00 +02:00
8
- summary: Literate programming for ruby based on maruku
9
- require_paths:
10
- - lib
11
- email: ruby@schmidtwisser.de
12
- homepage: http://rug-b.rubyforge.org/literate_maruku
13
- rubyforge_project: rug-b
14
- description: Literate programming for ruby based on maruku
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.1.2
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- - |
29
- -----BEGIN CERTIFICATE-----
30
- MIIDODCCAiCgAwIBAgIBADANBgkqhkiG9w0BAQUFADBCMQ0wCwYDVQQDDARydWJ5
31
- MR0wGwYKCZImiZPyLGQBGRYNc2NobWlkdHdpc3NlcjESMBAGCgmSJomT8ixkARkW
32
- AmRlMB4XDTA3MDkxNjEwMzkyN1oXDTA4MDkxNTEwMzkyN1owQjENMAsGA1UEAwwE
33
- cnVieTEdMBsGCgmSJomT8ixkARkWDXNjaG1pZHR3aXNzZXIxEjAQBgoJkiaJk/Is
34
- ZAEZFgJkZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOzbl83o33wh
35
- veLMQ2JyEstgOulisHRBFpfbF9LbdavuS/EdoOUeEPkziWL/ZI0jvUo0MGmQ/8Of
36
- F9DJbvNbhDdg0bK7BMe4R/I3Wpu49mX+7pOsdlC44nzJkVG1DQ67qWp6jx1zvDRc
37
- iCoXaQKnROtsx6bCavVvm4P7XLrAQvs7l+1Ke5KLkXRtJ9xJWtAyBLRFoM4e6DeT
38
- Py0DsixF9Zb5Nrb7UvK0CN8m6dulsKXNRDVQLHkFa5Zg/BEb0RI93LPmeBt8KGIE
39
- eYVjk+6z+py03D18xd9KsUhOB/0lC0a5vWSZIKfZnxf1uYY9TTZVqTGGUMFi1sD4
40
- k2TYBqQVsS8CAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
41
- BBYEFAeq4388e2PUlF/YeemzaY8neefWMA0GCSqGSIb3DQEBBQUAA4IBAQAArQQo
42
- 3teQbCcYmZFTrdOzujMca6F4JVzTp+yTnOsp1/5hiBEUMc3GreCVAPh2tU9+IpuB
43
- Lif+s5nLfYdI+JrpCHDzm+ecJEJ7u7gxidzUwEBPYpVuU32ALge7fuWWhQfi29JY
44
- QwNZgIkGe34z3a2+r2GLBns/GY7t0Lomv6U2SvwLreLc8g7thr2hZfgEJidvcrJR
45
- Q6amsFqY06NalH+I175Bp4y9rR7IArgNDS3I5Cly5/heVKK2SRm5Z+IACmKMxIXh
46
- hzBK8YDsrjUvPNIJn9yl0LeEsZ5VhupI2OXr6Cqa/tVMJq0oiTsLfel3Tsb9Ph83
47
- y3O9DT3o4BiyPe77
48
- -----END CERTIFICATE-----
49
-
50
- post_install_message:
51
6
  authors:
52
7
  - Gregor Schmidt
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-11-28 00:00:00 +01:00
13
+ default_executable: literate_maruku
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: maruku
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 0.6.0
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: jeweler
37
+ type: :development
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 1.4.0
44
+ version:
45
+ description: Given Ruby's open classes and Maruku's powerful parser architecture, literate_maruku provides a basic literate programming environment for Ruby.
46
+ email: ruby@schmidtwisser.de
47
+ executables:
48
+ - literate_maruku
49
+ extensions: []
50
+
51
+ extra_rdoc_files:
52
+ - README.rdoc
53
53
  files:
54
+ - .gitignore
54
55
  - History.txt
55
56
  - License.txt
56
- - Manifest.txt
57
- - README.txt
57
+ - README.rdoc
58
58
  - Rakefile
59
59
  - bin/literate_maruku
60
- - config/hoe.rb
61
- - config/requirements.rb
62
60
  - lib/literate_maruku.rb
63
- - lib/literate_maruku/version.rb
64
- - log/debug.log
65
- - script/destroy
66
- - script/generate
67
- - script/txt2html
68
- - setup.rb
69
- - tasks/deployment.rake
70
- - tasks/environment.rake
71
- - tasks/website.rake
61
+ - literate_maruku.gemspec
62
+ - test/literate_maruku_test.rb
72
63
  - test/test_document.mkd
73
64
  - test/test_helper.rb
74
- - test/test_literate_maruku.rb
75
- - website/index.html
76
- - website/index.txt
77
- - website/javascripts/rounded_corners_lite.inc.js
78
- - website/stylesheets/screen.css
79
- - website/template.rhtml
80
- test_files:
81
- - test/test_helper.rb
82
- - test/test_literate_maruku.rb
83
- rdoc_options:
84
- - --main
85
- - README.txt
86
- extra_rdoc_files:
87
- - History.txt
88
- - License.txt
89
- - Manifest.txt
90
- - README.txt
91
- - website/index.txt
92
- executables:
93
- - literate_maruku
94
- extensions: []
65
+ - version.yml
66
+ has_rdoc: true
67
+ homepage: http://github.com/schmidt/literate_maruku
68
+ licenses: []
95
69
 
70
+ post_install_message:
71
+ rdoc_options:
72
+ - --charset=UTF-8
73
+ require_paths:
74
+ - lib
75
+ required_ruby_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: "0"
80
+ version:
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: "0"
86
+ version:
96
87
  requirements: []
97
88
 
98
- dependencies: []
99
-
89
+ rubyforge_project:
90
+ rubygems_version: 1.3.5
91
+ signing_key:
92
+ specification_version: 3
93
+ summary: Literate programming for Ruby based on Maruku.
94
+ test_files:
95
+ - test/literate_maruku_test.rb
96
+ - test/test_helper.rb
data/Manifest.txt DELETED
@@ -1,26 +0,0 @@
1
- History.txt
2
- License.txt
3
- Manifest.txt
4
- README.txt
5
- Rakefile
6
- bin/literate_maruku
7
- config/hoe.rb
8
- config/requirements.rb
9
- lib/literate_maruku.rb
10
- lib/literate_maruku/version.rb
11
- log/debug.log
12
- script/destroy
13
- script/generate
14
- script/txt2html
15
- setup.rb
16
- tasks/deployment.rake
17
- tasks/environment.rake
18
- tasks/website.rake
19
- test/test_document.mkd
20
- test/test_helper.rb
21
- test/test_literate_maruku.rb
22
- website/index.html
23
- website/index.txt
24
- website/javascripts/rounded_corners_lite.inc.js
25
- website/stylesheets/screen.css
26
- website/template.rhtml
data/README.txt DELETED
@@ -1,4 +0,0 @@
1
- = Literate Maruku
2
-
3
- See LiterateMaruku::ClassMethods for API documentation or our website for more
4
- detailed usage information.