<commit_before>checks:
  ruby:
    code_rating: true
    duplicate_code: true
tools:
  rubocop:
    use_native_config: true
filter:
  excluded_paths:
    - spec/*
    - vendor/*
build:
  environment:
    ruby: 2.4.1
  project_setup:
    before:
      # - cd /home/runner/.rbenv/plugins/ruby-build && git pull && cd -
      - rbenv install -l
      - rbenv install 2.4.1
      - rbenv global 2.4.1
      - ruby -v
      - gem update --system
      - gem install bundler i18n rspec
  tests:
    before:
      - bin/bundle-audit check --update
      - bin/rubocop --display-cop-names
      - printf "yes\nno\n" | bin/resume
      - bin/resume -l it <<< "no\n"
      - printf "yes\nno\n" | bin/resume -l ja
      - bin/rake resume
      - ruby resume.rb <<< "no\n"
      - ruby resume.rb -l it <<< "no\n"
      - ruby resume.rb -l ja <<< "no\n"
    override:
      -
        command: bin/rspec spec/ --no-drb --format progress
        environment:
          'SCRUTINIZER_CC_FILE': 'my-coverage'
        coverage:
          file: 'my-coverage'
          format: 'rb-cc'
checks:
  ruby:
    code_rating: true
    duplicate_code: true
<commit_msg>Attempt to get Scrutinizer to update Ruby versions<commit_after>checks:
  ruby:
    code_rating: true
    duplicate_code: true
tools:
  rubocop:
    use_native_config: true
filter:
  excluded_paths:
    - spec/*
    - vendor/*
build:
  environment:
    ruby: 2.4.1
  project_setup:
    before:
      - cd /home/scrutinizer/.rbenv/plugins/ruby-build && git pull && cd -
      - rbenv install -l
      - rbenv install 2.4.1
      - rbenv global 2.4.1
      - ruby -v
      - gem update --system
      - gem install bundler i18n rspec
  tests:
    before:
      - bin/bundle-audit check --update
      - bin/rubocop --display-cop-names
      - printf "yes\nno\n" | bin/resume
      - bin/resume -l it <<< "no\n"
      - printf "yes\nno\n" | bin/resume -l ja
      - bin/rake resume
      - ruby resume.rb <<< "no\n"
      - ruby resume.rb -l it <<< "no\n"
      - ruby resume.rb -l ja <<< "no\n"
    override:
      -
        command: bin/rspec spec/ --no-drb --format progress
        environment:
          'SCRUTINIZER_CC_FILE': 'my-coverage'
        coverage:
          file: 'my-coverage'
          format: 'rb-cc'
checks:
  ruby:
    code_rating: true
    duplicate_code: true

{'fraction_non_alphanumeric': 0.1271551724137931, 'fraction_numerical': 0.009482758620689655, 'mean_word_length': 1.7467455621301775, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 3, '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': '1017703', 'n_tokens_mistral': 859, 'n_tokens_neox': 842, 'n_words': 205}