markdpwn 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,15 +1,14 @@
1
1
  source :rubygems
2
2
 
3
3
  # Code formatting.
4
- gem 'pygments.rb', '>= 0.2.4'
4
+ gem 'pygments.rb', '>= 0.2.11'
5
5
 
6
6
  # Github formatting.
7
- gem 'github-markup', '>= 0.7.1', :require => 'github/markup'
8
- gem 'redcarpet', '>= 2.1.0'
7
+ gem 'github-markup', '>= 0.7.2', :require => 'github/markup'
8
+ gem 'redcarpet', '>= 2.1.1'
9
9
  gem 'RedCloth', '>= 4.2.9'
10
10
  gem 'rdoc', '>= 3.12'
11
- # TODO(pwnall): add org-ruby back in when they make a relese with the UTF-8 fix
12
- # gem 'org-ruby', '>= 0.6.1'
11
+ gem 'org-ruby', '>= 0.6.2'
13
12
  gem 'creole', '>= 0.4.2'
14
13
  gem 'wikicloth', '>= 0.7.1'
15
14
 
@@ -8,30 +8,33 @@ GEM
8
8
  expression_parser (0.9.0)
9
9
  ffi (1.0.11)
10
10
  git (1.2.5)
11
- github-markup (0.7.1)
11
+ github-markup (0.7.2)
12
12
  jeweler (1.8.3)
13
13
  bundler (~> 1.0)
14
14
  git (>= 1.2.5)
15
15
  rake
16
16
  rdoc
17
- json (1.6.5)
18
- minitest (2.11.2)
19
- multi_json (1.0.4)
20
- pygments.rb (0.2.4)
17
+ json (1.6.6)
18
+ minitest (2.12.1)
19
+ multi_json (1.2.0)
20
+ org-ruby (0.6.2)
21
+ rubypants (>= 0.2.0)
22
+ pygments.rb (0.2.11)
21
23
  rubypython (~> 0.5.3)
22
24
  rake (0.9.2.2)
23
25
  rcov (1.0.0)
24
26
  rdoc (3.12)
25
27
  json (~> 1.4)
26
- redcarpet (2.1.0)
28
+ redcarpet (2.1.1)
29
+ rubypants (0.2.0)
27
30
  rubypython (0.5.3)
28
31
  blankslate (>= 2.1.2.3)
29
32
  ffi (~> 1.0.7)
30
- simplecov (0.5.4)
31
- multi_json (~> 1.0.3)
33
+ simplecov (0.6.1)
34
+ multi_json (~> 1.0)
32
35
  simplecov-html (~> 0.5.3)
33
36
  simplecov-html (0.5.3)
34
- wikicloth (0.7.1)
37
+ wikicloth (0.8.0)
35
38
  builder
36
39
  expression_parser
37
40
  yard (0.7.5)
@@ -43,13 +46,14 @@ DEPENDENCIES
43
46
  RedCloth (>= 4.2.9)
44
47
  bundler (>= 1.0.22)
45
48
  creole (>= 0.4.2)
46
- github-markup (>= 0.7.1)
49
+ github-markup (>= 0.7.2)
47
50
  jeweler (>= 1.8.3)
48
51
  minitest (>= 2.11)
49
- pygments.rb (>= 0.2.4)
52
+ org-ruby (>= 0.6.2)
53
+ pygments.rb (>= 0.2.11)
50
54
  rcov
51
55
  rdoc (>= 3.12)
52
- redcarpet (>= 2.1.0)
56
+ redcarpet (>= 2.1.1)
53
57
  simplecov
54
58
  wikicloth (>= 0.7.1)
55
59
  yard (>= 0.7)
@@ -37,6 +37,7 @@ Markdpwn.markdpwn comment
37
37
  # => "<p>I like what you did to <code>markdpwn</code>.</p>\n"
38
38
  ```
39
39
 
40
+
40
41
  ## Dependencies
41
42
 
42
43
  The `pygments.rb` gem requires the Python VM library and the `pygments` package.
@@ -55,6 +56,14 @@ following command installs them on Fedora.
55
56
  sudo yum install -y asciidoc perl-Pod-Simple python-docutils
56
57
  ```
57
58
 
59
+ on OSX, follow the instructions
60
+ [here](http://docutils.sourceforge.net/README.html#gnu-linux-bsds-unix-mac-os-x-etc)
61
+ to install the `rst2html` tool, and run the command below for `asciidoc`.
62
+
63
+ ```bash
64
+ brew install asciidoc
65
+ ```
66
+
58
67
 
59
68
  ## Contributing to markdpwn
60
69
 
@@ -71,6 +80,7 @@ sudo yum install -y asciidoc perl-Pod-Simple python-docutils
71
80
  have your own version, or is otherwise necessary, that is fine, but please
72
81
  isolate to its own commit so I can cherry-pick around it.
73
82
 
83
+
74
84
  ## Copyright
75
85
 
76
86
  Copyright (c) 2012 Victor Costan. See LICENSE.txt for further details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "markdpwn"
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Victor Costan"]
12
- s.date = "2012-02-22"
12
+ s.date = "2012-04-15"
13
13
  s.description = "HTML-formats text documents such as Markdown, textile, and source code"
14
14
  s.email = "victor@costan.us"
15
15
  s.extra_rdoc_files = [
@@ -34,6 +34,7 @@ Gem::Specification.new do |s|
34
34
  "markdpwn.gemspec",
35
35
  "test/fixtures/readme.asciidoc",
36
36
  "test/fixtures/readme.md",
37
+ "test/fixtures/readme.org",
37
38
  "test/fixtures/readme.pod",
38
39
  "test/fixtures/readme.rdoc",
39
40
  "test/fixtures/readme.rst",
@@ -49,18 +50,19 @@ Gem::Specification.new do |s|
49
50
  s.homepage = "http://github.com/pwnall/markdpwn"
50
51
  s.licenses = ["MIT"]
51
52
  s.require_paths = ["lib"]
52
- s.rubygems_version = "1.8.16"
53
+ s.rubygems_version = "1.8.22"
53
54
  s.summary = "HTML-formats text documents such as Markdown, textile, and source code"
54
55
 
55
56
  if s.respond_to? :specification_version then
56
57
  s.specification_version = 3
57
58
 
58
59
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
59
- s.add_runtime_dependency(%q<pygments.rb>, [">= 0.2.4"])
60
- s.add_runtime_dependency(%q<github-markup>, [">= 0.7.1"])
61
- s.add_runtime_dependency(%q<redcarpet>, [">= 2.1.0"])
60
+ s.add_runtime_dependency(%q<pygments.rb>, [">= 0.2.11"])
61
+ s.add_runtime_dependency(%q<github-markup>, [">= 0.7.2"])
62
+ s.add_runtime_dependency(%q<redcarpet>, [">= 2.1.1"])
62
63
  s.add_runtime_dependency(%q<RedCloth>, [">= 4.2.9"])
63
64
  s.add_runtime_dependency(%q<rdoc>, [">= 3.12"])
65
+ s.add_runtime_dependency(%q<org-ruby>, [">= 0.6.2"])
64
66
  s.add_runtime_dependency(%q<creole>, [">= 0.4.2"])
65
67
  s.add_runtime_dependency(%q<wikicloth>, [">= 0.7.1"])
66
68
  s.add_development_dependency(%q<minitest>, [">= 2.11"])
@@ -70,11 +72,12 @@ Gem::Specification.new do |s|
70
72
  s.add_development_dependency(%q<rcov>, [">= 0"])
71
73
  s.add_development_dependency(%q<simplecov>, [">= 0"])
72
74
  else
73
- s.add_dependency(%q<pygments.rb>, [">= 0.2.4"])
74
- s.add_dependency(%q<github-markup>, [">= 0.7.1"])
75
- s.add_dependency(%q<redcarpet>, [">= 2.1.0"])
75
+ s.add_dependency(%q<pygments.rb>, [">= 0.2.11"])
76
+ s.add_dependency(%q<github-markup>, [">= 0.7.2"])
77
+ s.add_dependency(%q<redcarpet>, [">= 2.1.1"])
76
78
  s.add_dependency(%q<RedCloth>, [">= 4.2.9"])
77
79
  s.add_dependency(%q<rdoc>, [">= 3.12"])
80
+ s.add_dependency(%q<org-ruby>, [">= 0.6.2"])
78
81
  s.add_dependency(%q<creole>, [">= 0.4.2"])
79
82
  s.add_dependency(%q<wikicloth>, [">= 0.7.1"])
80
83
  s.add_dependency(%q<minitest>, [">= 2.11"])
@@ -85,11 +88,12 @@ Gem::Specification.new do |s|
85
88
  s.add_dependency(%q<simplecov>, [">= 0"])
86
89
  end
87
90
  else
88
- s.add_dependency(%q<pygments.rb>, [">= 0.2.4"])
89
- s.add_dependency(%q<github-markup>, [">= 0.7.1"])
90
- s.add_dependency(%q<redcarpet>, [">= 2.1.0"])
91
+ s.add_dependency(%q<pygments.rb>, [">= 0.2.11"])
92
+ s.add_dependency(%q<github-markup>, [">= 0.7.2"])
93
+ s.add_dependency(%q<redcarpet>, [">= 2.1.1"])
91
94
  s.add_dependency(%q<RedCloth>, [">= 4.2.9"])
92
95
  s.add_dependency(%q<rdoc>, [">= 3.12"])
96
+ s.add_dependency(%q<org-ruby>, [">= 0.6.2"])
93
97
  s.add_dependency(%q<creole>, [">= 0.4.2"])
94
98
  s.add_dependency(%q<wikicloth>, [">= 0.7.1"])
95
99
  s.add_dependency(%q<minitest>, [">= 2.11"])
@@ -0,0 +1,3 @@
1
+ ** List
2
+ 1. Eggs
3
+ 2. Ham
@@ -3,7 +3,7 @@ require File.expand_path('../helper', File.dirname(__FILE__))
3
3
  describe Markdpwn::Docs do
4
4
  describe "#render return value" do
5
5
  [
6
- '.asciidoc', '.md', '.pod', '.rdoc', '.rst', '.textile', '.wiki'
6
+ '.asciidoc', '.md', '.org', '.pod', '.rdoc', '.rst', '.textile', '.wiki'
7
7
  ].each do |ext|
8
8
  describe "with a #{ext} document" do
9
9
  let :result do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdpwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,44 +9,59 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-22 00:00:00.000000000 Z
12
+ date: 2012-04-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pygments.rb
16
- requirement: &21415220 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.2.4
21
+ version: 0.2.11
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *21415220
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.2.11
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: github-markup
27
- requirement: &21293660 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
31
36
  - !ruby/object:Gem::Version
32
- version: 0.7.1
37
+ version: 0.7.2
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *21293660
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.7.2
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: redcarpet
38
- requirement: &21291080 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
42
52
  - !ruby/object:Gem::Version
43
- version: 2.1.0
53
+ version: 2.1.1
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *21291080
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 2.1.1
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: RedCloth
49
- requirement: &21288100 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: 4.2.9
55
70
  type: :runtime
56
71
  prerelease: false
57
- version_requirements: *21288100
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 4.2.9
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: rdoc
60
- requirement: &21298100 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,10 +85,31 @@ dependencies:
65
85
  version: '3.12'
66
86
  type: :runtime
67
87
  prerelease: false
68
- version_requirements: *21298100
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '3.12'
94
+ - !ruby/object:Gem::Dependency
95
+ name: org-ruby
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: 0.6.2
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: 0.6.2
69
110
  - !ruby/object:Gem::Dependency
70
111
  name: creole
71
- requirement: &21294880 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
72
113
  none: false
73
114
  requirements:
74
115
  - - ! '>='
@@ -76,10 +117,15 @@ dependencies:
76
117
  version: 0.4.2
77
118
  type: :runtime
78
119
  prerelease: false
79
- version_requirements: *21294880
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: 0.4.2
80
126
  - !ruby/object:Gem::Dependency
81
127
  name: wikicloth
82
- requirement: &21305820 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
83
129
  none: false
84
130
  requirements:
85
131
  - - ! '>='
@@ -87,10 +133,15 @@ dependencies:
87
133
  version: 0.7.1
88
134
  type: :runtime
89
135
  prerelease: false
90
- version_requirements: *21305820
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: 0.7.1
91
142
  - !ruby/object:Gem::Dependency
92
143
  name: minitest
93
- requirement: &21303220 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
94
145
  none: false
95
146
  requirements:
96
147
  - - ! '>='
@@ -98,10 +149,15 @@ dependencies:
98
149
  version: '2.11'
99
150
  type: :development
100
151
  prerelease: false
101
- version_requirements: *21303220
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '2.11'
102
158
  - !ruby/object:Gem::Dependency
103
159
  name: yard
104
- requirement: &20960680 !ruby/object:Gem::Requirement
160
+ requirement: !ruby/object:Gem::Requirement
105
161
  none: false
106
162
  requirements:
107
163
  - - ! '>='
@@ -109,10 +165,15 @@ dependencies:
109
165
  version: '0.7'
110
166
  type: :development
111
167
  prerelease: false
112
- version_requirements: *20960680
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0.7'
113
174
  - !ruby/object:Gem::Dependency
114
175
  name: bundler
115
- requirement: &20959200 !ruby/object:Gem::Requirement
176
+ requirement: !ruby/object:Gem::Requirement
116
177
  none: false
117
178
  requirements:
118
179
  - - ! '>='
@@ -120,10 +181,15 @@ dependencies:
120
181
  version: 1.0.22
121
182
  type: :development
122
183
  prerelease: false
123
- version_requirements: *20959200
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: 1.0.22
124
190
  - !ruby/object:Gem::Dependency
125
191
  name: jeweler
126
- requirement: &20955640 !ruby/object:Gem::Requirement
192
+ requirement: !ruby/object:Gem::Requirement
127
193
  none: false
128
194
  requirements:
129
195
  - - ! '>='
@@ -131,10 +197,15 @@ dependencies:
131
197
  version: 1.8.3
132
198
  type: :development
133
199
  prerelease: false
134
- version_requirements: *20955640
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ! '>='
204
+ - !ruby/object:Gem::Version
205
+ version: 1.8.3
135
206
  - !ruby/object:Gem::Dependency
136
207
  name: rcov
137
- requirement: &20968460 !ruby/object:Gem::Requirement
208
+ requirement: !ruby/object:Gem::Requirement
138
209
  none: false
139
210
  requirements:
140
211
  - - ! '>='
@@ -142,10 +213,15 @@ dependencies:
142
213
  version: '0'
143
214
  type: :development
144
215
  prerelease: false
145
- version_requirements: *20968460
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
218
+ requirements:
219
+ - - ! '>='
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
146
222
  - !ruby/object:Gem::Dependency
147
223
  name: simplecov
148
- requirement: &20965840 !ruby/object:Gem::Requirement
224
+ requirement: !ruby/object:Gem::Requirement
149
225
  none: false
150
226
  requirements:
151
227
  - - ! '>='
@@ -153,7 +229,12 @@ dependencies:
153
229
  version: '0'
154
230
  type: :development
155
231
  prerelease: false
156
- version_requirements: *20965840
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
234
+ requirements:
235
+ - - ! '>='
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
157
238
  description: HTML-formats text documents such as Markdown, textile, and source code
158
239
  email: victor@costan.us
159
240
  executables: []
@@ -179,6 +260,7 @@ files:
179
260
  - markdpwn.gemspec
180
261
  - test/fixtures/readme.asciidoc
181
262
  - test/fixtures/readme.md
263
+ - test/fixtures/readme.org
182
264
  - test/fixtures/readme.pod
183
265
  - test/fixtures/readme.rdoc
184
266
  - test/fixtures/readme.rst
@@ -205,7 +287,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
205
287
  version: '0'
206
288
  segments:
207
289
  - 0
208
- hash: -1475987804085383442
290
+ hash: -2821084060881153957
209
291
  required_rubygems_version: !ruby/object:Gem::Requirement
210
292
  none: false
211
293
  requirements:
@@ -214,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
296
  version: '0'
215
297
  requirements: []
216
298
  rubyforge_project:
217
- rubygems_version: 1.8.16
299
+ rubygems_version: 1.8.22
218
300
  signing_key:
219
301
  specification_version: 3
220
302
  summary: HTML-formats text documents such as Markdown, textile, and source code