Sha256: ae5576142bf9972780b2e3a73dc81d6c26f606e33c285664272f3ca414b29ba8

Contents?: true

Size: 1.63 KB

Versions: 11

Compression:

Stored size: 1.63 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 "activerecord", "~>4.1"
  spec.add_runtime_dependency "activesupport", "~>4.1"
  spec.add_runtime_dependency "active_hash", "~>1.3"

  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 "sqlite3", "~>1.3"
  spec.add_development_dependency "fuubar"

  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

11 entries across 11 versions & 1 rubygems

Version Path
active_mocker-1.2.pre.10 active_mocker.gemspec
active_mocker-1.2.pre.9 active_mocker.gemspec
active_mocker-1.2.pre.8 active_mocker.gemspec
active_mocker-1.2.pre.7 active_mocker.gemspec
active_mocker-1.2.pre.6 active_mocker.gemspec
active_mocker-1.2.pre.5 active_mocker.gemspec
active_mocker-1.2.pre.4 active_mocker.gemspec
active_mocker-1.2.pre.3 active_mocker.gemspec
active_mocker-1.2.pre.2 active_mocker.gemspec
active_mocker-1.2.pre.1 active_mocker.gemspec
active_mocker-1.2.pre active_mocker.gemspec