<commit_before># -*- encoding: utf-8 -*-i
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

Gem::Specification.new do |s|
  s.name        = "cg_service"
  s.version = "0.6.18"
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["CG Labs"]
  s.email       = ["<EMAIL>"]
  s.description = "Shared library code for CG services."
  s.summary     = ""

  s.add_dependency 'activerecord', '~> 3.0.6'
  unless RUBY_PLATFORM =~ /java/
	  s.add_dependency 'pg'
  	s.add_dependency 'thin', '1.2.8'
	end
  s.add_dependency 'sinatra', '>= 1.2.1'
  s.add_dependency 'sinatra-reloader'
  s.add_dependency 'json', '>=1.4.6'
  s.add_dependency 'cg_lookup_client'<commit_msg>JRuby specific dependencies added to gemspec<commit_after># -*- encoding: utf-8 -*-i
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

Gem::Specification.new do |s|
  s.name        = "cg_service"
  s.version = "0.6.18"
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["CG Labs"]
  s.email       = ["<EMAIL>"]
  s.description = "Shared library code for CG services."
  s.summary     = ""

  s.add_dependency 'activerecord', '~> 3.0.6'
  if RUBY_PLATFORM =~ /java/
    s.add_dependency 'activerecord-jdbc-adapter', '1.2.1'
    s.add_dependency 'activerecord-jdbcpostgresql-adapter'
    s.add_dependency 'jdbc-postgres'
    s.add_dependency 'jruby-openssl'
  else
	  s.add_dependency 'pg'
  	s.add_dependency 'thin', '1.2.8'
	end
  s.add_dependency 'sinatra', '>= 1.2.1'
  s.add_dependency 'sinatra-reloader'
  s.add_dependency 'json', '>=1.4.6'
  s.add_dependency 'cg_lookup_client'
{'fraction_non_alphanumeric': 0.17232859789993824, 'fraction_numerical': 0.02285361334156887, 'mean_word_length': 3.263157894736842, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '1023643', 'n_tokens_mistral': 680, 'n_tokens_neox': 624, 'n_words': 124}