Sha256: ac2725fb6ac61de8ab6f63ca0593dd81ae21a1f75a78ab3b83ee5cfdb7b2f030

Contents?: true

Size: 558 Bytes

Versions: 10

Compression:

Stored size: 558 Bytes

Contents

require "bundler"
Bundler.setup

require "dotgpg"

require "minitest/spec"
require "./spec/helper/assertions"

# Make a totally isolated directory for running tests.
# This is necessary because GPG maintains state in GNUPGHOME,
# and we don't want running the tests to spoil developer's real key stores.
$fixture = Pathname.new(Dir::mktmpdir).realpath
FileUtils.cp_r "spec/fixture/", $fixture
$fixture += "fixture"
$basic = $fixture + "basic"
ENV["GNUPGHOME"] = $fixture.join("gnupghome").to_s
at_exit{ FileUtils.rm_rf $fixture }

require "minitest/autorun"

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
dotgpg-0.7.0 spec/helper.rb
dotgpg-0.6.1 spec/helper.rb
dotgpg-0.6.0 spec/helper.rb
dotgpg-0.5.1 spec/helper.rb
dotgpg-0.5.0 spec/helper.rb
dotgpg-0.4.2 spec/helper.rb
dotgpg-0.4.1 spec/helper.rb
dotgpg-0.4 spec/helper.rb
dotgpg-0.3 spec/helper.rb
dotenv-gpg-0.3 spec/helper.rb