<commit_before># frozen_string_literal: true

require "rails_helper"

module Socializer
  RSpec.describe VERSION do
    it { is_expected.to be_a String }
    it { is_expected.to match_regex(/\d+.\d+.\d+(-[a-zA-Z0-9]+)*/) }
    it { is_expected.not_to be_nil }

    it { expect(Socializer::VERSION.frozen?).to be true }
  end
end<commit_msg>make sure Socializer::VERSION and the gemspec version match<commit_after># frozen_string_literal: true

require "rails_helper"

module Socializer
  RSpec.describe VERSION do
    it { is_expected.to be_a String }
    it { is_expected.to match_regex(/\d+.\d+.\d+(-[a-zA-Z0-9]+)*/) }
    it { is_expected.not_to be_nil }

    it { expect(Socializer::VERSION.frozen?).to be true }

    let(:gemspec_path) { Engine.root.join("socializer.gemspec").to_s }
    let(:specification) { Gem::Specification.load(gemspec_path) }

    it { expect(Socializer::VERSION).to eq(specification.version.to_s) }
  end
end
{'fraction_non_alphanumeric': 0.14072494669509594, 'fraction_numerical': 0.0042643923240938165, 'mean_word_length': 3.9682539682539684, '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': '803121', 'n_tokens_mistral': 354, 'n_tokens_neox': 336, 'n_words': 65}