<commit_before># -*- encoding: utf-8 -*-
require File.expand_path('lib/asciidoctor-pdf/version', File.dirname(__FILE__))

Gem::Specification.new do |s| 
  s.name = 'asciidoctor-pdf'
  s.version = Asciidoctor::Pdf::VERSION

  s.summary = 'Converts AsciiDoc documents to PDF files using Prawn'
  s.description = <<-EOS
An extension for Asciidoctor that converts AsciiDoc documents to PDF files using the Prawn PDF generator.
  EOS

  s.author = 'OpenDevise Inc.'
  s.email = '<EMAIL>'
  s.homepage = 'https://github.com/asciidoctor/asciidoctor-pdf'
  s.license = 'MIT'

  s.required_ruby_version = '>= 1.9'

  begin
    s.files = `git ls-files -z -- */* {README.adoc,LICENSE.adoc,NOTICE.adoc,Rakefile}`.split "\0"
  rescue
    s.files = Dir['**/*']
  end

  # FIXME optimize-pdf is currently a shell script, so listing it here won't work
  s.executables = %w(asciidoctor-pdf optimize-pdf)
  s.test_files = s.files.grep(/^(?:test|spec|feature)\/.*$/)
  s.require_paths = %w(lib)

  s.has_rdoc = true
  s.rdoc_options = %(--charset=UTF-8 --title="Asciidoctor PDF" --main=README.adoc -ri)
  s.extra_rdoc_files = %w(README.adoc LICENSE.adoc NOTICE.adoc)

  s.add_development_dependency 'rake', '~> 10.0'
  #s.add_development_dependency 'rdoc', '~> 4.1.0'

  s.add_runtime_dependency 'asciidoctor', ['>= 1.5.0.preview.7', '< 1.6.0']
  # FIXME coderay should be an optional dependency
  s.add_runtime_dependency 'coderay', '~> 1.1.0'
  s.add_runtime_dependency 'prawn', '1.0.0'
  s.add_runtime_dependency 'prawn-templates', '0.0.3'
  s.add_runtime_dependency 'prawn-svg', '0.15.0.0'
  s.add_runtime_dependency 'treetop', '1.5.3'
  s.add_runtime_dependency 'tilt', '~> 2.0.0'
  s.add_runtime_dependency 'slim', '~> 2.0.2'

  # FIXME make thread_safe a required dependency since we are using templates
  #s.add_runtime_dependency 'thread_safe', '~> 0.3.1'
end
<commit_msg>upgrade Prawn and Asciidoctor deps<commit_after># -*- encoding: utf-8 -*-
require File.expand_path('lib/asciidoctor-pdf/version', File.dirname(__FILE__))

Gem::Specification.new do |s| 
  s.name = 'asciidoctor-pdf'
  s.version = Asciidoctor::Pdf::VERSION

  s.summary = 'Converts AsciiDoc documents to PDF files using Prawn'
  s.description = <<-EOS
An extension for Asciidoctor that converts AsciiDoc documents to PDF files using the Prawn PDF generator.
  EOS

  s.author = 'OpenDevise Inc.'
  s.email = '<EMAIL>'
  s.homepage = 'https://github.com/asciidoctor/asciidoctor-pdf'
  s.license = 'MIT'

  s.required_ruby_version = '>= 1.9'

  begin
    s.files = `git ls-files -z -- */* {README.adoc,LICENSE.adoc,NOTICE.adoc,Rakefile}`.split "\0"
  rescue
    s.files = Dir['**/*']
  end

  # FIXME optimize-pdf is currently a shell script, so listing it here won't work
  s.executables = %w(asciidoctor-pdf optimize-pdf)
  s.test_files = s.files.grep(/^(?:test|spec|feature)\/.*$/)
  s.require_paths = %w(lib)

  s.has_rdoc = true
  s.rdoc_options = %(--charset=UTF-8 --title="Asciidoctor PDF" --main=README.adoc -ri)
  s.extra_rdoc_files = %w(README.adoc LICENSE.adoc NOTICE.adoc)

  s.add_development_dependency 'rake', '~> 10.0'
  #s.add_development_dependency 'rdoc', '~> 4.1.0'

  s.add_runtime_dependency 'asciidoctor', ['>= 1.5.0.rc.2', '< 1.6.0']
  # FIXME coderay should be an optional dependency
  s.add_runtime_dependency 'coderay', '1.1.0'
  s.add_runtime_dependency 'prawn', '1.0.0'
  s.add_runtime_dependency 'prawn-templates', '0.0.3'
  s.add_runtime_dependency 'prawn-svg', '0.16.0'
  s.add_runtime_dependency 'slim', '~> 2.0.0'
  s.add_runtime_dependency 'tilt', '~> 2.0.0'
  s.add_runtime_dependency 'treetop', '1.5.3'
end

{'fraction_non_alphanumeric': 0.16185452526374236, 'fraction_numerical': 0.023320377568017768, 'mean_word_length': 3.9154160982264665, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4476046', 'n_tokens_mistral': 1471, 'n_tokens_neox': 1402, 'n_words': 286}