train-core 1.7.2 → 1.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/train/plugins/base_connection.rb +2 -1
- data/lib/train/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c93f63aca0e633e8e966621a59e3013f533a84575816b7e030e153d46261f592
|
4
|
+
data.tar.gz: d28b723093e26f15fe93c4126e01b77954e1bf683dc32678175310ad2a3d814a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adf2c40a58eb65d4cf8fda0e581af387933946996c145c48b8eb6e872b0204a4bee9872aae9f99f13a1bfd0323c9e0ba6b50a6f5e97864ed7227d8eea608bc51
|
7
|
+
data.tar.gz: a46b6c2336551c9510b93147235b20b54cee3e2013be019d836028e2493ba705eb5aa60c7a7437f85870d06a9240dabb909310cf5de665f59972ebd70741d73f
|
@@ -29,6 +29,7 @@ class Train::Plugins::Transport
|
|
29
29
|
@cache_enabled = {
|
30
30
|
file: true,
|
31
31
|
command: false,
|
32
|
+
api_call: false,
|
32
33
|
}
|
33
34
|
|
34
35
|
@cache = {}
|
@@ -61,7 +62,7 @@ class Train::Plugins::Transport
|
|
61
62
|
end
|
62
63
|
|
63
64
|
# Enable caching types for Train. Currently we support
|
64
|
-
# :file and :command types
|
65
|
+
# :api_call, :file and :command types
|
65
66
|
def enable_cache(type)
|
66
67
|
fail Train::UnknownCacheType, "#{type} is not a valid cache type" unless @cache_enabled.keys.include?(type.to_sym)
|
67
68
|
@cache_enabled[type.to_sym] = true
|
data/lib/train/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: train-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Richter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|