<commit_before># frozen_string_literal: true

$:.push File.expand_path('lib', __dir__)
require 'solidus_i18n/version'

Gem::Specification.new do |s|
  s.name        = 'solidus_i18n'
  s.version     = SolidusI18n::VERSION
  s.summary     = 'Provides locale information for use in Solidus.'
  s.description = 'A collection of translations for Solidus.'

  s.required_ruby_version = '~> 2.4'

  s.author   = '<NAME>'
  s.email    = '<EMAIL>'
  s.homepage = 'https://github.com/solidusio/solidus_i18n'
  s.license  = 'BSD-3-Clause'

  s.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  s.test_files = Dir['spec/**/*']
  s.bindir = "exe"
  s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
  s.require_paths = ["lib"]

  if s.respond_to?(:metadata)
    s.metadata["homepage_uri"] = s.homepage if s.homepage
    s.metadata["source_code_uri"] = s.homepage if s.homepage
  end

  s.add_runtime_dependency 'solidus_core', ['>= 1.1', '< 4']
  s.add_runtime_dependency 'solidus_support', '~> 0.4'

  s.add_development_dependency 'solidus_dev_support'
end
<commit_msg>Drop support for ruby 2.4 and allow ruby 3<commit_after># frozen_string_literal: true

$:.push File.expand_path('lib', __dir__)
require 'solidus_i18n/version'

Gem::Specification.new do |s|
  s.name        = 'solidus_i18n'
  s.version     = SolidusI18n::VERSION
  s.summary     = 'Provides locale information for use in Solidus.'
  s.description = 'A collection of translations for Solidus.'

  s.required_ruby_version = '>= 2.5.0'

  s.author   = '<NAME>'
  s.email    = '<EMAIL>'
  s.homepage = 'https://github.com/solidusio/solidus_i18n'
  s.license  = 'BSD-3-Clause'

  s.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  s.test_files = Dir['spec/**/*']
  s.bindir = "exe"
  s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
  s.require_paths = ["lib"]

  if s.respond_to?(:metadata)
    s.metadata["homepage_uri"] = s.homepage if s.homepage
    s.metadata["source_code_uri"] = s.homepage if s.homepage
  end

  s.add_runtime_dependency 'solidus_core', ['>= 1.1', '< 4']
  s.add_runtime_dependency 'solidus_support', '~> 0.4'

  s.add_development_dependency 'solidus_dev_support'
end

{'fraction_non_alphanumeric': 0.1678677405680373, 'fraction_numerical': 0.016108520559559136, 'mean_word_length': 3.8065173116089612, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '1737360', 'n_tokens_mistral': 964, 'n_tokens_neox': 907, 'n_words': 168}