<commit_before>## Resources
require 'rubygems'
gem 'sinatra', :version => '1.0'
require 'sinatra'



## Application

get '/' do
  %Q{
    <body style='line-height: 1.8em; font-family: Archer, Museo, Helvetica, Georgia; font-size 25px; text-align: center; padding-top: 20%;'>
      Post some HTML content to this server and receive a PDF document.
      <pre style='font-family: Iconsolata, monospace;background-color:#EEE'>curl -X POST http://#{request.host}/ < some_file.html > some_file.pdf</pre>
      <br />
      Also, try <a href='http://github.com/JackDanger/pdfservice'>the official Ruby client</a>
    </body
}
end<commit_msg>fixing gem call for Ruby 1.9.1<commit_after>## Resources
require 'rubygems'
gem 'sinatra', '~> 1.0.0'
require 'sinatra'



## Application

get '/' do
  %Q{
    <body style='line-height: 1.8em; font-family: Archer, Museo, Helvetica, Georgia; font-size 25px; text-align: center; padding-top: 20%;'>
      Post some HTML content to this server and receive a PDF document.
      <pre style='font-family: Iconsolata, monospace;background-color:#EEE'>curl -X POST http://#{request.host}/ < some_file.html > some_file.pdf</pre>
      <br />
      Also, try <a href='http://github.com/JackDanger/pdfservice'>the official Ruby client</a>
    </body
}
end
{'fraction_non_alphanumeric': 0.15625, 'fraction_numerical': 0.015625, 'mean_word_length': 3.779850746268657, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '6479376', 'n_tokens_mistral': 454, 'n_tokens_neox': 429, 'n_words': 121}