<commit_before>lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ndr_dev_support/version'

Gem::Specification.new do |spec|
  spec.name          = 'ndr_dev_support'
  spec.version       = NdrDevSupport::VERSION
  spec.authors       = ['NCRS Development Team']
  spec.email         = []
  spec.summary       = 'NDR Developer Support library'
  spec.description   = 'Provides support to developers of NDR projects'
  spec.homepage      = 'https://github.com/PublicHealthEngland/ndr_dev_support'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  # SECURE BNS 2018-08-06: Minimise sharing of (public-key encrypted) slack secrets in .travis.yml
  spec.files         -= %w[.travis.yml] # Not needed in the gem
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.required_ruby_version = '>= 2.4'

  spec.add_dependency 'pry'

  # Audit dependencies:
  spec.add_dependency 'highline', '>= 1.6.0'

  # Rubocop dependencies:
  spec.add_dependency 'parser'
  spec.add_dependency 'rainbow'
  spec.add_dependency 'rubocop', '0.52.1'
  spec.add_dependency 'unicode-display_width', '>= 1.3.3'

  # Integration test dependencies:
  spec.add_dependency 'capybara'
  spec.add_dependency 'capybara-screenshot'
  spec.add_dependency 'chromedriver-helper', '~> 2.0'
  spec.add_dependency 'poltergeist', '>= 1.8.0'
  spec.add_dependency 'selenium-webdriver'

  # CI server dependencies:
  spec.add_dependency 'activesupport', '< 6.0.0'
  spec.add_dependency 'brakeman', '>= 4.2.0'
  spec.add_dependency 'bundler-audit'
  spec.add_dependency 'github-linguist'
  spec.add_dependency 'prometheus-client', '>= 0.9.0'
  spec.add_dependency 'rugged'
  spec.add_dependency 'simplecov'
  spec.add_dependency 'with_clean_rbenv'

  # Deployment dependencies:
  spec.add_dependency 'capistrano', '~> 2.15'

  spec.add_development_dependency 'bundler', '~> 1.7'
  spec.add_development_dependency 'minitest', '~> 5.0'<commit_msg># relax historic developement dependency on bundler<commit_after>lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ndr_dev_support/version'

Gem::Specification.new do |spec|
  spec.name          = 'ndr_dev_support'
  spec.version       = NdrDevSupport::VERSION
  spec.authors       = ['NCRS Development Team']
  spec.email         = []
  spec.summary       = 'NDR Developer Support library'
  spec.description   = 'Provides support to developers of NDR projects'
  spec.homepage      = 'https://github.com/PublicHealthEngland/ndr_dev_support'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  # SECURE BNS 2018-08-06: Minimise sharing of (public-key encrypted) slack secrets in .travis.yml
  spec.files         -= %w[.travis.yml] # Not needed in the gem
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.required_ruby_version = '>= 2.4'

  spec.add_dependency 'pry'

  # Audit dependencies:
  spec.add_dependency 'highline', '>= 1.6.0'

  # Rubocop dependencies:
  spec.add_dependency 'parser'
  spec.add_dependency 'rainbow'
  spec.add_dependency 'rubocop', '0.52.1'
  spec.add_dependency 'unicode-display_width', '>= 1.3.3'

  # Integration test dependencies:
  spec.add_dependency 'capybara'
  spec.add_dependency 'capybara-screenshot'
  spec.add_dependency 'chromedriver-helper', '~> 2.0'
  spec.add_dependency 'poltergeist', '>= 1.8.0'
  spec.add_dependency 'selenium-webdriver'

  # CI server dependencies:
  spec.add_dependency 'activesupport', '< 6.0.0'
  spec.add_dependency 'brakeman', '>= 4.2.0'
  spec.add_dependency 'bundler-audit'
  spec.add_dependency 'github-linguist'
  spec.add_dependency 'prometheus-client', '>= 0.9.0'
  spec.add_dependency 'rugged'
  spec.add_dependency 'simplecov'
  spec.add_dependency 'with_clean_rbenv'

  # Deployment dependencies:
  spec.add_dependency 'capistrano', '~> 2.15'

  spec.add_development_dependency 'bundler'
  spec.add_development_dependency 'minitest', '~> 5.0'
{'fraction_non_alphanumeric': 0.14109141791044777, 'fraction_numerical': 0.01912313432835821, 'mean_word_length': 3.8849658314350797, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2230121', 'n_tokens_mistral': 1641, 'n_tokens_neox': 1509, 'n_words': 282}