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

Gem::Specification.new do |spec|
  spec.name          = "chef-attribute-validator"
  spec.version       = Chef::Attribute::Validator::VERSION
  spec.authors       = ["<NAME>"]
  spec.email         = ["<EMAIL>"]
  spec.description   = %q{Define, enforce, and handle violations of validation rules for Chef node attributes.  This gem provides the validation engine, and can be used outside of a convergence run; a cookbook (attribute-validator) is available to perform validation during a chef run, at compile or converge time.}
  spec.summary       = %q{A Rubygem implementing a rule engine for validating Chef node attributes.}
  spec.homepage      = "https://github.com/clintoncwolfe/chef-attribute-validator"
  spec.license       = "BSD (3-clause)"

  spec.files         = `git ls-files`.split($/)
  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_development_dependency "bundler", "~> 1.3"
  spec.add_development_dependency "rake"

  spec.add_runtime_dependency "chef", "~> 11.6"  # TODO: test with older chefs
end
<commit_msg>chef 12 runtime runtime_dependency<commit_after># coding: utf-8    # -*-ruby-*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'chef-attribute-validator/version'

Gem::Specification.new do |spec|
  spec.name          = "chef-attribute-validator"
  spec.version       = Chef::Attribute::Validator::VERSION
  spec.authors       = ["<NAME>"]
  spec.email         = ["<EMAIL>"]
  spec.description   = %q{Define, enforce, and handle violations of validation rules for Chef node attributes.  This gem provides the validation engine, and can be used outside of a convergence run; a cookbook (attribute-validator) is available to perform validation during a chef run, at compile or converge time.}
  spec.summary       = %q{A Rubygem implementing a rule engine for validating Chef node attributes.}
  spec.homepage      = "https://github.com/clintoncwolfe/chef-attribute-validator"
  spec.license       = "BSD (3-clause)"

  spec.files         = `git ls-files`.split($/)
  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_development_dependency "bundler", "~> 1.3"
  spec.add_development_dependency "rake"

  spec.add_runtime_dependency "chef", ">= 11.6"  # TODO: test with older chefs
end

{'fraction_non_alphanumeric': 0.13474917612596118, 'fraction_numerical': 0.005858659831563529, 'mean_word_length': 3.759581881533101, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '6792865', 'n_tokens_mistral': 895, 'n_tokens_neox': 854, 'n_words': 223}