Sha256: ffffa7fe67b0e2ce72fd5d0d19d2b3439ec79e6000e1af85209f1ee0a4d21b29

Contents?: true

Size: 473 Bytes

Versions: 28

Compression:

Stored size: 473 Bytes

Contents

$:.unshift File.expand_path("../lib",__FILE__)
require "valid_email2"

# Include and configure  benchmark
require 'rspec-benchmark'
RSpec.configure do |config|
  config.include RSpec::Benchmark::Matchers
end
RSpec::Benchmark.configure do |config|
  config.disable_gc = true
end

class TestModel
  include ActiveModel::Validations

  def initialize(attributes = {})
    @attributes = attributes
  end

  def read_attribute_for_validation(key)
    @attributes[key]
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
valid_email2-5.3.0 spec/spec_helper.rb
valid_email2-5.2.6 spec/spec_helper.rb
valid_email2-5.2.5 spec/spec_helper.rb
valid_email2-5.2.4 spec/spec_helper.rb
valid_email2-5.2.3 spec/spec_helper.rb
valid_email2-5.2.1 spec/spec_helper.rb
valid_email2-5.2.0 spec/spec_helper.rb
valid_email2-5.1.1 spec/spec_helper.rb
valid_email2-5.1.0 spec/spec_helper.rb
valid_email2-5.0.5 spec/spec_helper.rb
valid_email2-5.0.4 spec/spec_helper.rb
valid_email2-5.0.3 spec/spec_helper.rb
valid_email2-5.0.2 spec/spec_helper.rb
valid_email2-5.0.1 spec/spec_helper.rb
valid_email2-5.0.0 spec/spec_helper.rb
valid_email2-4.0.6 spec/spec_helper.rb
valid_email2-4.0.5 spec/spec_helper.rb
valid_email2-4.0.4 spec/spec_helper.rb
valid_email2-4.0.3 spec/spec_helper.rb
valid_email2-4.0.2 spec/spec_helper.rb