<commit_before>require 'date'

require 'ordered_week/week_day'

class OrderedWeek
  include Enumerable

  VERSION = '0.0.1'
  DEFAULT_START_DAY = :monday

  @start_day = DEFAULT_START_DAY

  attr_reader :start_day
  alias to_ary to_a

  private_constant :WeekDay
  private_constant :DEFAULT_START_DAY

  def self.start_day
    @start_day
  end

  def self.start_day= day
    @start_day = WeekDay.validate(day)
  end

  def initialize(includes_date = Date.today, start_day = self.class.start_day)
    @start_day = WeekDay.validate(start_day)
    @days = build_days(validate_includes_date(includes_date))
  end

  def inspect<commit_msg>Increment version to 0.1.0<commit_after>require 'date'

require 'ordered_week/week_day'

class OrderedWeek
  include Enumerable

  VERSION = '0.1.0'
  DEFAULT_START_DAY = :monday

  @start_day = DEFAULT_START_DAY

  attr_reader :start_day
  alias to_ary to_a

  private_constant :WeekDay
  private_constant :DEFAULT_START_DAY

  def self.start_day
    @start_day
  end

  def self.start_day= day
    @start_day = WeekDay.validate(day)
  end

  def initialize(includes_date = Date.today, start_day = self.class.start_day)
    @start_day = WeekDay.validate(start_day)
    @days = build_days(validate_includes_date(includes_date))
  end

  def inspect
{'fraction_non_alphanumeric': 0.07638347622759158, 'fraction_numerical': 0.007014809041309431, 'mean_word_length': 4.305785123966942, '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': '190763', 'n_tokens_mistral': 466, 'n_tokens_neox': 442, 'n_words': 92}