eac_config 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eac_config/rspec/setup.rb +18 -0
- data/lib/eac_config/rspec.rb +9 -0
- data/lib/eac_config/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f849abc9e1add60abdeb04359a38568809a240839eb68fbe6a69c298179713cf
|
4
|
+
data.tar.gz: 9f9fdc2e7afc1143273b22c3267143c35f307dabcebee01a03b7c82cde2e232c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2c40d3aeab688ecd2f85225cbafe9023a7bbd17d645d28608d6de12ff439aebd0fcfdd107da925082410b996c65a3930bcc1035e77e8a6c3b500fe5a4ed8816
|
7
|
+
data.tar.gz: 403bc52ef8019a834eada038392cb2a91ae2d09530b35f5fa966946972855cbfd5744317347bb890550a7302fc0ea347a95c0dc2692786c86f1597c6b7a8f991
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
require 'eac_config/envvars_node'
|
5
|
+
|
6
|
+
module EacConfig
|
7
|
+
module Rspec
|
8
|
+
module Setup
|
9
|
+
def self.extended(obj)
|
10
|
+
obj.clean_envvars_load_path
|
11
|
+
end
|
12
|
+
|
13
|
+
def clean_envvars_load_path
|
14
|
+
::EacConfig::EnvvarsNode.new.load_path.entry.value = []
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/eac_config/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -75,6 +75,8 @@ files:
|
|
75
75
|
- lib/eac_config/paths_hash/entry_key_error.rb
|
76
76
|
- lib/eac_config/paths_hash/node.rb
|
77
77
|
- lib/eac_config/paths_hash/path_search.rb
|
78
|
+
- lib/eac_config/rspec.rb
|
79
|
+
- lib/eac_config/rspec/setup.rb
|
78
80
|
- lib/eac_config/version.rb
|
79
81
|
- lib/eac_config/yaml_file_node.rb
|
80
82
|
- lib/eac_config/yaml_file_node/entry.rb
|