<commit_before>{ lib, bundlerEnv, ruby }:

bundlerEnv rec {
  name = "watson-ruby-${version}";

  version = (import ./gemset.nix).watson-ruby.version;
  inherit ruby;
  # expects Gemfile, Gemfile.lock and gemset.nix in the same directory
  gemdir = ./.;

  meta = with lib; {
    description = "An inline issue manager";
    homepage    = http://goosecode.com/watson/;
    license     = with licenses; mit;
    maintainers = with maintainers; [ robertodr ];
    platforms   = platforms.unix;
  };
}<commit_msg>watson-ruby: hide bundlerEnv to avoid collisions<commit_after>{ stdenv, bundlerEnv, ruby }:


stdenv.mkDerivation rec {
  name = "watson-ruby-${version}";
  version = (import ./gemset.nix).watson-ruby.version;

  env = bundlerEnv rec {
    name = "watson-ruby-gems-${version}";
    inherit ruby;
    # expects Gemfile, Gemfile.lock and gemset.nix in the same directory
    gemdir = ./.;
  };

  phases = [ "installPhase" ];

  installPhase = ''
    mkdir -p $out/bin
    ln -s ${env}/bin/watson $out/bin/watson
  '';

  meta = with stdenv.lib; {
    description = "An inline issue manager";
    homepage    = http://goosecode.com/watson/;
    license     = with licenses; mit;
    maintainers = with maintainers; [ robertodr ];
    platforms   = platforms.unix;
  };
}
{'fraction_non_alphanumeric': 0.13771517996870108, 'fraction_numerical': 0.0, 'mean_word_length': 2.9353846153846153, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5211585', 'n_tokens_mistral': 465, 'n_tokens_neox': 419, 'n_words': 106}