<commit_before># coding: utf-8

require_relative 'lib/transpec_test'

namespace :test do
  # On Travis CI, reuse system gems to speed up build.
  bundler_args = if ENV['TRAVIS']
                   []
                 else
                   %w(--path vendor/bundle)
                 end

  # rubocop:disable LineLength
  tests = [
    TranspecTest.new(File.expand_path('.'), nil, ['--quiet']),
    TranspecTest.new('https://github.com/sferik/twitter.git', 'v4.1.0', bundler_args),
    TranspecTest.new('https://github.com/yujinakayama/mail.git', 'transpec-test', bundler_args)
  ]

  # Sometimes Guard fails with JRuby randomly.
  unless RUBY_ENGINE == 'jruby'
    tests << TranspecTest.new('https://github.com/yujinakayama/guard.git', 'transpec-test', bundler_args + %w(--without development))<commit_msg>Use rspec 2.99 ready projects in test tasks<commit_after># coding: utf-8

require_relative 'lib/transpec_test'

namespace :test do
  # On Travis CI, reuse system gems to speed up build.
  bundler_args = if ENV['TRAVIS']
                   []
                 else
                   %w(--path vendor/bundle)
                 end

  # rubocop:disable LineLength
  tests = [
    TranspecTest.new(File.expand_path('.'), nil, ['--quiet']),
    TranspecTest.new('https://github.com/yujinakayama/twitter.git', 'transpec-test-rspec-2-99', bundler_args),
    TranspecTest.new('https://github.com/yujinakayama/mail.git', 'transpec-test-rspec-2-99', bundler_args)
  ]

  # Sometimes Guard fails with JRuby randomly.
  unless RUBY_ENGINE == 'jruby'
    tests << TranspecTest.new('https://github.com/yujinakayama/guard.git', 'transpec-test-rspec-2-99', bundler_args + %w(--without development))
{'fraction_non_alphanumeric': 0.14277251184834122, 'fraction_numerical': 0.010071090047393365, 'mean_word_length': 2.9187935034802783, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '4463269', 'n_tokens_mistral': 594, 'n_tokens_neox': 560, 'n_words': 110}