kramdown-rfc2629 0.12.1 → 0.13.1
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/README.md +3 -3
- data/kramdown-rfc2629.gemspec +2 -2
- data/lib/kramdown-rfc2629.rb +2 -2
- metadata +5 -5
data/README.md
CHANGED
@@ -14,7 +14,7 @@ their work in markdown.
|
|
14
14
|
# Usage
|
15
15
|
|
16
16
|
Start by installing the kramdown-rfc2629 gem (this requires kramdown
|
17
|
-
version 0.
|
17
|
+
version 0.13.1, but has also been tested with version 0.11.0 and 0.12.0):
|
18
18
|
|
19
19
|
sudo gem install kramdown-rfc2629
|
20
20
|
|
@@ -22,8 +22,8 @@ The guts of kramdown-rfc2629 are in one Ruby file,
|
|
22
22
|
`lib/kramdown-rfc2629.rb` --- this melds nicely into the extension
|
23
23
|
structure provided by kramdown. `bin/kramdown-rfc2629` is a simple
|
24
24
|
command-line program showing how to use this. For this, you'll need a
|
25
|
-
Ruby 1.9 that can be found under the name "ruby1.9",
|
26
|
-
if you want to see the fruits of your work.
|
25
|
+
Ruby 1.9 that can be found under the name "ruby1.9", the command
|
26
|
+
"wget", and maybe XML2RFC if you want to see the fruits of your work.
|
27
27
|
|
28
28
|
kramdown-rfc2629 mydraft.mkd >mydraft.xml
|
29
29
|
xml2rfc mydraft.xml
|
data/kramdown-rfc2629.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
2
2
|
s.name = 'kramdown-rfc2629'
|
3
|
-
s.version = '0.
|
3
|
+
s.version = '0.13.1'
|
4
4
|
s.summary = "Kramdown extension for generating RFC 2629 XML."
|
5
5
|
s.description = %{An RFC2629 (XML2RFC) generating backend for Thomas Leitner's
|
6
6
|
"kramdown" markdown parser. Mostly useful for RFC writers.}
|
7
|
-
s.add_dependency('kramdown', '~> 0.
|
7
|
+
s.add_dependency('kramdown', '~> 0.13')
|
8
8
|
s.files = Dir['lib/**/*.rb'] + %w(README.md kramdown-rfc2629.gemspec bin/kramdown-rfc2629)
|
9
9
|
s.require_path = 'lib'
|
10
10
|
s.executables = ['kramdown-rfc2629']
|
data/lib/kramdown-rfc2629.rb
CHANGED
@@ -12,8 +12,8 @@
|
|
12
12
|
|
13
13
|
raise "sorry, 1.8 was last decade" unless RUBY_VERSION >= '1.9'
|
14
14
|
|
15
|
-
# this version is adapted to kramdown 0.12.0
|
16
|
-
gem 'kramdown', '
|
15
|
+
# this version is adapted to kramdown 0.12.0 or 0.13.1
|
16
|
+
gem 'kramdown', '~> 0.13'
|
17
17
|
require 'kramdown'
|
18
18
|
|
19
19
|
require 'rexml/parsers/baseparser'
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 13
|
8
8
|
- 1
|
9
|
-
version: 0.
|
9
|
+
version: 0.13.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Carsten Bormann
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-01-
|
17
|
+
date: 2011-01-22 00:00:00 +01:00
|
18
18
|
default_executable: kramdown-rfc2629
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -27,8 +27,8 @@ dependencies:
|
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
segments:
|
29
29
|
- 0
|
30
|
-
-
|
31
|
-
version: "0.
|
30
|
+
- 13
|
31
|
+
version: "0.13"
|
32
32
|
type: :runtime
|
33
33
|
version_requirements: *id001
|
34
34
|
description: |-
|