<commit_before>require 'rom/types'

module ROM
  module SQL
    module Types
      include ROM::Types

      singleton_class.send(:define_method, :Constructor, &ROM::Types.method(:Constructor))

      Serial = Int.constrained(gt: 0).meta(primary_key: true)

      Blob = Constructor(Sequel::SQL::Blob, &Sequel::SQL::Blob.method(:new))
    end
  end
end<commit_msg>Remove smart trick that caused a segfault on mri 2.3.1<commit_after>require 'rom/types'

module ROM
  module SQL
    module Types
      include ROM::Types

      def self.Constructor(*args, &block)
        ROM::Types.Constructor(*args, &block)
      end

      Serial = Int.constrained(gt: 0).meta(primary_key: true)

      Blob = Constructor(Sequel::SQL::Blob, &Sequel::SQL::Blob.method(:new))
    end
  end
end
{'fraction_non_alphanumeric': 0.12628865979381443, 'fraction_numerical': 0.006443298969072165, 'mean_word_length': 3.5976331360946747, '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': '5354938', 'n_tokens_mistral': 262, 'n_tokens_neox': 240, 'n_words': 57}