<commit_before># -*- encoding: utf-8 -*-

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'adyen_engine/version'

Gem::Specification.new do |s|
  s.name    = "adyen_engine"
  s.version = AdyenEngine::VERSION

  s.summary = "Integrate Adyen payment services in your Ruby on Rails application."
  s.description = <<-EOS
    A Rails engine that makes use of the adyen gem, http://github.io/wvanbergen/adyen, to ease
    integration of Adyen within a Rails app.
  EOS

  s.authors  = ['<NAME>']
  s.email    = ['<EMAIL>']
  s.homepage = 'http://github.com/njpearman/adyen_engine'
  s.license  = 'MIT'

  s.add_development_dependency('rake')
  s.add_development_dependency('rspec', '~> 2.14')
  s.add_development_dependency('rspec-rails', '~> 2.14')
  s.add_development_dependency('sqlite3')
  s.add_development_dependency('factory_girl_rails')

  s.add_dependency('rails', '>= 3.1.3')
  
  if RUBY_PLATFORM == 'java'
    s.add_development_dependency('nokogiri', '~> 1.4.6')
  elsif RUBY_VERSION < "1.9"
    s.add_development_dependency('nokogiri', '~> 1.5.0')
  else
    s.add_development_dependency('nokogiri', '~> 1.6.0')
  end
  
  s.requirements << 'Having Nokogiri installed will speed up XML handling when using the SOAP API.'

  s.rdoc_options << '--title' << s.name << '--main' << 'README.rdoc' << '--line-numbers' << '--inline-source'
  s.extra_rdoc_files = ['README.rdoc']

  s.files = `git ls-files`.split($/)
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
end<commit_msg>made the gem depend on the correct version of rails<commit_after># -*- encoding: utf-8 -*-

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'adyen_engine/version'

Gem::Specification.new do |s|
  s.name    = "adyen_engine"
  s.version = AdyenEngine::VERSION

  s.summary = "Integrate Adyen payment services in your Ruby on Rails application."
  s.description = <<-EOS
    A Rails engine that makes use of the adyen gem, http://github.io/wvanbergen/adyen, to ease
    integration of Adyen within a Rails app.
  EOS

  s.authors  = ['<NAME>']
  s.email    = ['<EMAIL>']
  s.homepage = 'http://github.com/njpearman/adyen_engine'
  s.license  = 'MIT'

  s.add_development_dependency('rake')
  s.add_development_dependency('rspec', '~> 2.14')
  s.add_development_dependency('rspec-rails', '~> 2.14')
  s.add_development_dependency('sqlite3')
  s.add_development_dependency('factory_girl_rails')

  if RUBY_VERSION < '1.9.3'
    s.add_dependency('rails', '~> 3.1')
  else
    s.add_dependency('rails', '>= 3.1.3')
  end
  
  if RUBY_PLATFORM == 'java'
    s.add_development_dependency('nokogiri', '~> 1.4.6')
  elsif RUBY_VERSION < "1.9"
    s.add_development_dependency('nokogiri', '~> 1.5.0')
  else
    s.add_development_dependency('nokogiri', '~> 1.6.0')
  end
  
  s.requirements << 'Having Nokogiri installed will speed up XML handling when using the SOAP API.'

  s.rdoc_options << '--title' << s.name << '--main' << 'README.rdoc' << '--line-numbers' << '--inline-source'
  s.extra_rdoc_files = ['README.rdoc']

  s.files = `git ls-files`.split($/)
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
end
{'fraction_non_alphanumeric': 0.1683752718235477, 'fraction_numerical': 0.015222118670394533, 'mean_word_length': 3.9160305343511452, 'pattern_counts': {'":': 0, '<': 42, '<?xml version=': 0, '>': 20, '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': '5790178', 'n_tokens_mistral': 1301, 'n_tokens_neox': 1205, 'n_words': 239}