<commit_before># please organize by hierarchy and alphabetically, double spaces between classes

Teacup.handler UIView, :backgroundColor { |view, color|
  view.backgroundColor = color.uicolor
}

Teacup.handler UIView, :shadow { |view, shadow|
  {
    opacity: :'shadowOpacity=',
    radius: :'shadowRadius=',
    offset: :'shadowOffset=',
    color: :'shadowColor=',
    path: :'shadowPath=',
  }.each { |key, msg|
    if value = shadow[key]
      if key == :color
        value = value.uicolor.CGColor
      end
      NSLog "Setting layer.#{msg} = #{value.inspect}" if view.respond_to? :debug and view.debug
      view.layer.send(msg, value)
      view.layer.masksToBounds = false
      view.layer.shouldRasterize = true
    end
  }
}


Teacup.handler UIActivityIndicatorView, :color { |view, color|
  view.color = color.uicolor
}<commit_msg>alias 'background' for 'backgroundColor' on UIView<commit_after># please organize by hierarchy and alphabetically, double spaces between classes

Teacup.handler UIView, :backgroundColor, :background { |view, color|
  view.backgroundColor = color.uicolor
}

Teacup.handler UIView, :shadow { |view, shadow|
  {
    opacity: :'shadowOpacity=',
    radius: :'shadowRadius=',
    offset: :'shadowOffset=',
    color: :'shadowColor=',
    path: :'shadowPath=',
  }.each { |key, msg|
    if value = shadow[key]
      if key == :color
        value = value.uicolor.CGColor
      end
      NSLog "Setting layer.#{msg} = #{value.inspect}" if view.respond_to? :debug and view.debug
      view.layer.send(msg, value)
      view.layer.masksToBounds = false
      view.layer.shouldRasterize = true
    end
  }
}


Teacup.handler UIActivityIndicatorView, :color { |view, color|
  view.color = color.uicolor
}
{'fraction_non_alphanumeric': 0.12788018433179724, 'fraction_numerical': 0.0, 'mean_word_length': 3.488372093023256, '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': '2816511', 'n_tokens_mistral': 571, 'n_tokens_neox': 567, 'n_words': 142}