aws-mfa-secure 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e81c055162b0662b4d2ce8655a2555f358c5b7afca116c0cd73264fe58b0cc5
4
- data.tar.gz: 4e6b2ecbea6985723df1bf8f0eeec0922bc49301101a830849c1157343ce4387
3
+ metadata.gz: 62039bd7f56af605c3a2c499b67adf53c5de41d32f502b9d34bb0a569553fba8
4
+ data.tar.gz: 2751b27e5163aec11db0b64ad26d7653f7ff3bf2fbb7d0820a204c6112568d00
5
5
  SHA512:
6
- metadata.gz: d5cfede15368b0cbf227bc96afb9249c20762980ac0c6982535f503e41314cea23d88727b906117d77cb248c1df78e641b3870acc2dc35638710409fa9342be1
7
- data.tar.gz: be27644ea0d237fd6c931999b332e6a51b42e4c1c67b4cddb8bd1d54af2b03ad8e9bf28696ec44dc7279b9a7c661ff1081fc0c9435d0fd043286d401bdcbae80
6
+ metadata.gz: 72ceaf1ef30338d2e518bf71a6429b2f3f143fe1561c2c2a1451b06ddba6008baf4bfd2a1834c2020ad5325dc5fb7116ce9cab3a0b2c3a36d40b74edcdc8130e
7
+ data.tar.gz: c3558a483f7e04b05cbb8ebbcd676e74aee898a5f4be581451d01c81b4aa1fec5b4d606e7a1854c1f56f31fb4d6a274d3c8079bfe7528628064a15823f3ec239
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.3.1]
7
+ - allow specs to pass in other projects
8
+
6
9
  ## [0.3.0]
7
10
  - require aws_mfa_secure so ext can be one line: require "aws_mfa_secure/ext/aws"
8
11
 
@@ -13,4 +13,5 @@ module AwsMfaSecure
13
13
  class Error < StandardError; end
14
14
  end
15
15
 
16
- require "#{Dir.pwd}/spec/monkey_patches" if ENV['AWS_MFA_SECURE_TEST']
16
+ root = File.expand_path("../", __dir__)
17
+ require "#{root}/spec/monkey_patches" if ENV['AWS_MFA_SECURE_TEST']
@@ -1,3 +1,3 @@
1
1
  module AwsMfaSecure
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -2,7 +2,8 @@ AwsMfaSecure::Base # autoload
2
2
  module AwsMfaSecure
3
3
  class Base
4
4
  def session_creds_path
5
- "#{Dir.pwd}/spec/fixtures/aws-mfa-secure-sessions/fake_credentials"
5
+ root = File.expand_path("../", __dir__)
6
+ "#{root}/spec/fixtures/aws-mfa-secure-sessions/fake_credentials"
6
7
  end
7
8
 
8
9
  def fetch_creds?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-mfa-secure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen