<commit_before># Top level module for Revamp
module Revamp
  # Prepare version
  #
  # @param desired [String] a desired version
  # @return [String] a prepared version
  def self.version_prep(desired)
    version = desired
    if desired.match(/[^0-9\.]+/)
      git = `git describe --tags --dirty --always`
      version += '.' + git.tr('-', '.')
    end
    version.strip
  end

  # Version for Herald
  VERSION     = version_prep '1.0.1'
  # Lincense for Herald
  LICENSE     = 'Apache-2.0'
  # Project name
  NAME        = 'Revamp'
  # Package (gem) for Herald
  PACKAGE     = 'revamp'
  # A summary info
  SUMMARY     = 'Converts puppet module file to valid RPM or DEB package'
  # A homepage for Herald
  HOMEPAGE    = 'https://github.com/coi-gov-pl/gem-revamp'
  # A description info
  DESCRIPTION = <<-eos
  This module can convert standard puppet module file in form of tarball to
  valid RPM or DEB package with all dependencies as references to other
  system packages. The dependencies can be packaged inside the final system
  package or just referenced as dependencies.
  eos
end
<commit_msg>Bimp to next development version<commit_after># Top level module for Revamp
module Revamp
  # Prepare version
  #
  # @param desired [String] a desired version
  # @return [String] a prepared version
  def self.version_prep(desired)
    version = desired
    if desired.match(/[^0-9\.]+/)
      git = `git describe --tags --dirty --always`
      version += '.' + git.tr('-', '.')
    end
    version.strip
  end

  # Version for Herald
  VERSION     = version_prep '1.0.2.pre'
  # Lincense for Herald
  LICENSE     = 'Apache-2.0'
  # Project name
  NAME        = 'Revamp'
  # Package (gem) for Herald
  PACKAGE     = 'revamp'
  # A summary info
  SUMMARY     = 'Converts puppet module file to valid RPM or DEB package'
  # A homepage for Herald
  HOMEPAGE    = 'https://github.com/coi-gov-pl/gem-revamp'
  # A description info
  DESCRIPTION = <<-eos
  This module can convert standard puppet module file in form of tarball to
  valid RPM or DEB package with all dependencies as references to other
  system packages. The dependencies can be packaged inside the final system
  package or just referenced as dependencies.
  eos
end

{'fraction_non_alphanumeric': 0.09164059007599464, 'fraction_numerical': 0.006258381761287439, 'mean_word_length': 2.8191126279863483, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, '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': '3586021', 'n_tokens_mistral': 718, 'n_tokens_neox': 681, 'n_words': 260}