Sha256: f0730f568496ef935969e42f19e545a5c7cf2f2367f7f0530936c360acf13517

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = "env_test_helpers"
  spec.version       = EnvTestHelpers::VERSION
  spec.authors       = ["Artur Pañach"]
  spec.email         = ["arturictus@gmail.com"]
  spec.summary       = %q{Helps to handle env vars in tests.}
  spec.description   = %q{Use case:
  - I have configurations set in ignored files, most of this variables are Api keys or passwords.
  - The code and tests needs this variables but I can not share them in my VCS.

  Solution:
  - I mock or set this variables in the test they are required.}
  spec.homepage      = "https://github.com/arturictus/env_test_helpers"
  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.add_development_dependency "bundler", "~> 1.7"
  spec.add_development_dependency "rake", "~> 10.0"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
env_test_helpers-0.0.1 env_test_helpers.gemspec