Skip to content

Commit

Permalink
Require Ruby >= 2.0; can now switch to kramdown 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
cabo committed Jan 19, 2018
1 parent 65b24be commit 5eaf8d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kramdown-rfc2629.gemspec
Expand Up @@ -4,13 +4,13 @@ spec = Gem::Specification.new do |s|
s.summary = "Kramdown extension for generating RFC 7749 XML."
s.description = %{An RFC7749 (XML2RFC) generating backend for Thomas Leitner's
"kramdown" markdown parser. Mostly useful for RFC writers.}
s.add_dependency('kramdown', '~> 1.14.0')
s.add_dependency('kramdown', '~> 1.16.0')
s.add_dependency('certified', '~> 1.0')
s.files = Dir['lib/**/*.rb'] + %w(README.md LICENSE kramdown-rfc2629.gemspec bin/kdrfc bin/kramdown-rfc2629 bin/doilit bin/kramdown-rfc-extract-markdown data/kramdown-rfc2629.erb data/encoding-fallbacks.txt)
s.require_path = 'lib'
s.executables = ['kramdown-rfc2629', 'doilit', 'kramdown-rfc-extract-markdown', 'kdrfc']
s.default_executable = 'kramdown-rfc2629'
s.required_ruby_version = '>= 1.9.2'
s.required_ruby_version = '>= 2.0.0'
# s.requirements = 'wget'
# s.has_rdoc = true
s.author = "Carsten Bormann"
Expand Down
2 changes: 1 addition & 1 deletion lib/kramdown-rfc2629.rb
Expand Up @@ -11,7 +11,7 @@

raise "sorry, 1.8 was last decade" unless RUBY_VERSION >= '1.9'

gem 'kramdown', '~> 1.14.0'
gem 'kramdown', '~> 1.16.0'
require 'kramdown'
my_span_elements = %w{list figure xref eref iref cref spanx vspace}
Kramdown::Parser::Html::Constants::HTML_SPAN_ELEMENTS.concat my_span_elements
Expand Down

0 comments on commit 5eaf8d8

Please sign in to comment.