txgh 6.7.1 → 6.8.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb7acabd36a05473ecc43f546b2182cbd9e5f2fc1acd85bf1198056c9b2e15d2
|
|
4
|
+
data.tar.gz: ebdc29e94fea7746a431877bd8278022bafb18731b7ca8b4f9572df2f35cc517
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 012c8b283d3c44b87ac909740cab8af679c63cb6edbedc1e457b685e557c324d8cf64177de84d9bda0a70f8cb05e2414ebcc0fcc36a3cb567cf8b10d7baa6929
|
|
7
|
+
data.tar.gz: 5fdaad9449f84fdfb8c5f88907ff3ad0e7809c1b94b631135f00508afac9ab40c69e39d48cc1c851c9cc9957f1b8684a5b714dce08bc9cc969ef6a869c890886
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require 'erb'
|
|
2
|
+
|
|
1
3
|
module Txgh
|
|
2
4
|
module Config
|
|
3
5
|
module Providers
|
|
@@ -10,7 +12,7 @@ module Txgh
|
|
|
10
12
|
end
|
|
11
13
|
|
|
12
14
|
def load(payload, parser, options = {})
|
|
13
|
-
parser.
|
|
15
|
+
parser.load(ERB.new(File.read(payload)).result(binding))
|
|
14
16
|
end
|
|
15
17
|
|
|
16
18
|
def scheme
|
data/lib/txgh/version.rb
CHANGED
|
@@ -15,9 +15,9 @@ describe TxManager do
|
|
|
15
15
|
it 'loads tx config from the given file' do
|
|
16
16
|
path = 'file://path/to/tx_config'
|
|
17
17
|
project_config.merge!('tx_config' => path)
|
|
18
|
-
expect(
|
|
18
|
+
expect(File).to receive(:read).with('path/to/tx_config').and_return('{}')
|
|
19
19
|
config = TxManager.tx_config(project, repo)
|
|
20
|
-
expect(config).to
|
|
20
|
+
expect(config).to be_a(TxConfig)
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
context 'with git-based config' do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: txgh
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.
|
|
4
|
+
version: 6.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Jackowski
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-
|
|
12
|
+
date: 2019-02-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: abroad
|