<commit_before>::BASH_INCLUDES_DIRNAME = ".bash_profile_includes"
::BASH_INCLUDES_SUBDIR = ::File.expand_path("#{WS_HOME}/#{BASH_INCLUDES_DIRNAME}")

action :create do
  directory BASH_INCLUDES_SUBDIR do
    owner WS_USER
  end

  template "#{WS_HOME}/.bash_profile" do
    source "bash_profile.erb"
    owner WS_USER
  end

  template "#{BASH_INCLUDES_SUBDIR}/#{new_resource.name}.sh" do
    source "bash_profile-#{new_resource.name}.sh.erb"
    owner WS_USER
    mode "0755"
  end
end<commit_msg>allow bash profile includes provider to be used from other cookbooks/recipes<commit_after>::BASH_INCLUDES_DIRNAME = ".bash_profile_includes"
::BASH_INCLUDES_SUBDIR = ::File.expand_path("#{WS_HOME}/#{BASH_INCLUDES_DIRNAME}")

action :create do
  directory BASH_INCLUDES_SUBDIR do
    owner WS_USER
  end

  template "#{WS_HOME}/.bash_profile" do
    source "bash_profile.erb"
    cookbook 'pivotal_workstation'
    owner WS_USER
  end

  template "#{BASH_INCLUDES_SUBDIR}/#{new_resource.name}.sh" do
    source "bash_profile-#{new_resource.name}.sh.erb"
    owner WS_USER
    mode "0755"
  end
end
{'fraction_non_alphanumeric': 0.11060329067641682, 'fraction_numerical': 0.007312614259597806, 'mean_word_length': 4.824468085106383, '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': '2743079', 'n_tokens_mistral': 432, 'n_tokens_neox': 412, 'n_words': 75}