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

Gem::Specification.new do |spec|
  spec.name          = "rbtc_arbitrage"
  spec.version       = RbtcArbitrage::VERSION
  spec.authors       = ["<NAME>"]
  spec.email         = ["<EMAIL>"]
  spec.description   = %q{A gem for conducting arbitrage with Bitcoin.}
  spec.summary       = %q{A gem for conducting arbitrage with Bitcoin.}
  spec.homepage      = ""
  spec.license       = "MIT"

  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"<commit_msg>explicitly add files in submodules to gemspec<commit_after># coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rbtc_arbitrage/version'

Gem::Specification.new do |spec|
  spec.name          = "rbtc_arbitrage"
  spec.version       = RbtcArbitrage::VERSION
  spec.authors       = ["<NAME>"]
  spec.email         = ["<EMAIL>"]
  spec.description   = %q{A gem for conducting arbitrage with Bitcoin.}
  spec.summary       = %q{A gem for conducting arbitrage with Bitcoin.}
  spec.homepage      = ""
  spec.license       = "MIT"

  spec.files         = `git ls-files`.split($/)
  # get an array of submodule dirs by executing 'pwd' inside each submodule
  `git submodule --quiet foreach pwd`.split($\).each do |submodule_path|
    # for each submodule, change working directory to that submodule
    Dir.chdir(submodule_path) do
      # issue git ls-files in submodule's directory
      submodule_files = `git ls-files`.split($\)
      # prepend the submodule path to create absolute file paths
      submodule_files_fullpaths = submodule_files.map do |filename|
        "#{submodule_path}/#{filename}"
      end
      # remove leading path parts to get paths relative to the gem's root dir
      # (this assumes, that the gemspec resides in the gem's root dir)
      submodule_files_paths = submodule_files_fullpaths.map do |filename|
        filename.gsub "#{File.dirname(__FILE__)}/", ""
      end
      # add relative paths to gem.files
      spec.files += submodule_files_paths
    end
  end

  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"
{'fraction_non_alphanumeric': 0.1311787072243346, 'fraction_numerical': 0.0022813688212927757, 'mean_word_length': 3.2163461538461537, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '318091', 'n_tokens_mistral': 885, 'n_tokens_neox': 859, 'n_words': 209}