Sha256: 26c1784cad5f8fa435398e9ca04c9c75d15588f49e2a0b41ddaf7bec992464dd

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'active_mocker/version'

Gem::Specification.new do |spec|
  spec.name          = "active_mocker"
  spec.version       = ActiveMocker::VERSION
  spec.authors       = ["Dustin Zeisler"]
  spec.email         = ["dustin@zive.me"]
  spec.summary       = %q{Create mocks from active record models without loading rails or running a database}
  spec.description   = %q{Create mocks from active record models without loading rails or running a database. The Mock's methods have the same arguments as the AR model and if they change you get a error in your test.}
  spec.homepage      = "https://github.com/zeisler/active_mocker"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  spec.required_ruby_version = '>= 2.0.0'

  spec.add_runtime_dependency "activesupport", "~>4.0"

  spec.add_development_dependency "bundler", "~> 1.5"
  spec.add_development_dependency "rake", "~>10.1"
  spec.add_development_dependency "rspec", "~>2.14"
  spec.add_development_dependency "i18n", "~>0.6"
  spec.add_development_dependency "active_hash", "~>1.3"

  if ENV['DEBUG'] == '1'
    spec.add_development_dependency "debase", "~>0.0"
    spec.add_development_dependency "ruby-debug-ide", "~>0.4"
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_mocker-1.1.0 active_mocker.gemspec
active_mocker-1.0.1 active_mocker.gemspec