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

Gem::Specification.new do |spec|
  spec.name          = 'r-train'
  spec.version       = Train::VERSION
  spec.authors       = ['<NAME>']
  spec.email         = ['<EMAIL>']
  spec.summary       = 'Transport interface to talk to different backends.'
  spec.description   = 'Transport interface to talk to different backends.'
  spec.homepage      = 'https://github.com/chef/train/'
  spec.license       = 'Apache-2.0'

  spec.files = %w{
    train.gemspec README.md Rakefile LICENSE Gemfile CHANGELOG.md .rubocop.yml
  } + Dir.glob(
    '{lib,test}/**/*', File::FNM_DOTMATCH
  ).reject { |f| File.directory?(f) }

  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.add_dependency 'json', '~> 1.8'
  spec.add_dependency 'mixlib-shellout', '~> 2.1'
  # net-ssh 3.x drops Ruby 1.9 support, so this constraint could be raised when
  # 1.9 support is no longer needed here or for Inspec
  spec.add_dependency 'net-ssh', '>= 2.9', '< 4.0'
  spec.add_dependency 'net-scp', '~> 1.2'
  spec.add_dependency 'winrm', '~> 1.6'
  spec.add_dependency 'winrm-fs', '~> 0.3'
  spec.add_dependency 'docker-api', '~> 1.26.2'

  spec.add_development_dependency 'mocha', '~> 1.1'
end<commit_msg>loose restriction for mixlib-shellout to work easier with older chef-clients<commit_after># coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'train/version'

Gem::Specification.new do |spec|
  spec.name          = 'r-train'
  spec.version       = Train::VERSION
  spec.authors       = ['<NAME>']
  spec.email         = ['<EMAIL>']
  spec.summary       = 'Transport interface to talk to different backends.'
  spec.description   = 'Transport interface to talk to different backends.'
  spec.homepage      = 'https://github.com/chef/train/'
  spec.license       = 'Apache-2.0'

  spec.files = %w{
    train.gemspec README.md Rakefile LICENSE Gemfile CHANGELOG.md .rubocop.yml
  } + Dir.glob(
    '{lib,test}/**/*', File::FNM_DOTMATCH
  ).reject { |f| File.directory?(f) }

  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.add_dependency 'json', '~> 1.8'
  # chef-client < 12.4.1 require mixlib-shellout-2.0.1
  spec.add_dependency 'mixlib-shellout', '~> 2.0'
  # net-ssh 3.x drops Ruby 1.9 support, so this constraint could be raised when
  # 1.9 support is no longer needed here or for Inspec
  spec.add_dependency 'net-ssh', '>= 2.9', '< 4.0'
  spec.add_dependency 'net-scp', '~> 1.2'
  spec.add_dependency 'winrm', '~> 1.6'
  spec.add_dependency 'winrm-fs', '~> 0.3'
  spec.add_dependency 'docker-api', '~> 1.26.2'

  spec.add_development_dependency 'mocha', '~> 1.1'
end
{'fraction_non_alphanumeric': 0.16842452208305866, 'fraction_numerical': 0.02076466710613052, 'mean_word_length': 3.3795093795093796, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 23, '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': '174939', 'n_tokens_mistral': 1180, 'n_tokens_neox': 1119, 'n_words': 240}