<commit_before>actions :create
default_action :create

attribute :name, :kind_of => String, :name_attribute => true, :required => true
attribute :working_directory, :kind_of => [String, NilClass], :required => true

attribute :user, :kind_of => [String], :required => true
attribute :group, :kind_of => [String, NilClass], :default => 'root'

attribute :clock_file, :kind_of => [String, NilClass], :default => nil
attribute :pid_dir, :kind_of => [String, NilClass], :default => nil
attribute :log_dir, :kind_of => [String, NilClass], :default => nil
attribute :rails_env, :kind_of => [String, NilClass], :default => nil<commit_msg>Allow setting environment.<commit_after>actions :create
default_action :create

attribute :name, :kind_of => String, :name_attribute => true, :required => true
attribute :working_directory, :kind_of => [String, NilClass], :required => true

attribute :user, :kind_of => [String], :required => true
attribute :group, :kind_of => [String, NilClass], :default => 'root'
attribute :environment, :kind_of => Hash, :default => {}

attribute :clock_file, :kind_of => [String, NilClass], :default => nil
attribute :pid_dir, :kind_of => [String, NilClass], :default => nil
attribute :log_dir, :kind_of => [String, NilClass], :default => nil
attribute :rails_env, :kind_of => [String, NilClass], :default => nil
{'fraction_non_alphanumeric': 0.16366366366366367, 'fraction_numerical': 0.0, 'mean_word_length': 6.841176470588235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 39, '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': '1264565', 'n_tokens_mistral': 417, 'n_tokens_neox': 402, 'n_words': 126}