<commit_before>class Spree::Cms::AssetImage < ActiveRecord::Base
  has_one :asset, as: :content, class_name: 'Spree::Cms::Asset'
  has_attached_file :photo,
                    styles: { thumb: '100x100>' },
                    default_style: :thumb,
                    url: '/spree/cms/asset_image/:id/:style/:basename.:extension',
                    path: ':rails_root/public/spree/cms/asset_image/:id/:style/:basename.:extension'

  validates_attachment :photo,
                       :presence => true,
                       :content_type => { :content_type => %w(image/jpeg image/jpg image/png image/gif) }
end
<commit_msg>Update asset image<commit_after>class Spree::Cms::AssetImage < ActiveRecord::Base
  has_one :asset, as: :content, class_name: 'Spree::Cms::Asset'
  has_attached_file :photo,
                    styles: { thumb: '100x100>' },
                    default_style: :original,
                    url: '/spree/cms/asset_image/:id/:style/:basename.:extension',
                    path: ':rails_root/public/spree/cms/asset_image/:id/:style/:basename.:extension'

  validates_attachment :photo,
                       :presence => true,
                       :content_type => { :content_type => %w(image/jpeg image/jpg image/png image/gif) }
end

{'fraction_non_alphanumeric': 0.13700787401574804, 'fraction_numerical': 0.009448818897637795, 'mean_word_length': 2.3012987012987014, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '802239', 'n_tokens_mistral': 401, 'n_tokens_neox': 380, 'n_words': 64}