<commit_before># coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "cars_api/version"

Gem::Specification.new do |spec|
  spec.name          = "cars_api"
  spec.version       = CarsApi::VERSION
  spec.authors       = ["<NAME>"]
  spec.email         = ["<EMAIL>"]

  spec.summary       = "A car sharing API."
  spec.homepage      = "https://github.com/waterlink/cars_api"
  spec.license       = "MIT"

  # Prevent pushing this gem to RubyGems.org by setting "allowed_push_host", or
  # delete this section to allow pushing this gem to any host.
  if spec.respond_to?(:metadata)
    spec.metadata["allowed_push_host"] =
      "http://non-existent-rubygems.example.org"
  else
    raise "
    RubyGems 2.0 or newer is required to
    protect against public gem pushes."
  end

  spec.files = `git ls-files -z`
               .split("\x0")
               .reject { |f| f.match(%r{^(test|spec|features)/}) }

  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.11"
  spec.add_development_dependency "rake", "~> 10.0"

  # This is used only in InMemory implementations and in integration tests to
  # verify that real implementations return sane values.
  spec.add_dependency "geokit", "~> 1.10"

  # This is used for a nice DSL for command line application.
  spec.add_dependency "thor", "~> 0.19"
end<commit_msg>Add thin and sinatra dependencies for Web API server<commit_after># coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "cars_api/version"

Gem::Specification.new do |spec|
  spec.name          = "cars_api"
  spec.version       = CarsApi::VERSION
  spec.authors       = ["<NAME>"]
  spec.email         = ["<EMAIL>"]

  spec.summary       = "A car sharing API."
  spec.homepage      = "https://github.com/waterlink/cars_api"
  spec.license       = "MIT"

  # Prevent pushing this gem to RubyGems.org by setting "allowed_push_host", or
  # delete this section to allow pushing this gem to any host.
  if spec.respond_to?(:metadata)
    spec.metadata["allowed_push_host"] =
      "http://non-existent-rubygems.example.org"
  else
    raise "
    RubyGems 2.0 or newer is required to
    protect against public gem pushes."
  end

  spec.files = `git ls-files -z`
               .split("\x0")
               .reject { |f| f.match(%r{^(test|spec|features)/}) }

  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.11"
  spec.add_development_dependency "rake", "~> 10.0"

  # This is used only in InMemory implementations and in integration tests to
  # verify that real implementations return sane values.
  spec.add_dependency "geokit", "~> 1.10"

  # This is used for a nice DSL for command line application.
  spec.add_dependency "thor", "~> 0.19"

  # This is used for a web API server
  spec.add_dependency "thin", "~> 1.6"
  spec.add_dependency "sinatra", "~> 1.4"
end
{'fraction_non_alphanumeric': 0.1346093504863508, 'fraction_numerical': 0.011295889551302165, 'mean_word_length': 3.040557667934094, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 2, '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': '3987964', 'n_tokens_mistral': 1128, 'n_tokens_neox': 1039, 'n_words': 281}