<commit_before>require 'spec_helper'

describe 'RDF::Sesame::VERSION' do
  it "should match the VERSION file" do
    version_file_path = File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'VERSION')
    RDF::Sesame::VERSION.to_s.should == File.read(version_file_path).chomp
  end
end<commit_msg>Refactor version specs to suit RSpec 3 syntax.<commit_after>require 'spec_helper'

describe 'RDF::Sesame::VERSION' do
  let(:version_file_path) do
    File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'VERSION')
  end

  let(:version) do
    File.read(version_file_path).chomp
  end

  it "should match the VERSION file" do
    expect(RDF::Sesame::VERSION.to_s).to eq version
  end
end
{'fraction_non_alphanumeric': 0.1669064748201439, 'fraction_numerical': 0.0014388489208633094, 'mean_word_length': 4.3538461538461535, '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': '6701388', 'n_tokens_mistral': 255, 'n_tokens_neox': 250, 'n_words': 51}