train 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: 90c0f7ae6d9f3cd9d417f855a88867b3ae5582ecf02b13775317ac251e4ead35
|
4
|
+
data.tar.gz: d0eb5084a35c2a4862c74c7857d4d3ff891d9b47dab1f80aaf2ba27a40fcc231
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa5e89b6c7415b04002457f750bec3fe525c1edbc8208e9c9c488fc88aa00ff8bf62d24f71fa18226f8d68bef6d893420024447407bd4d1bb3a4e20228bb6a0
|
7
|
+
data.tar.gz: '00691484482dcd5ff8a1be8e7458b11229bdb28d6c883666f06e0ac1efb9ea20c3992d2326f863626237f9037439321068d2a07e3e6423ccccf1c9cdcff6e3af'
|
@@ -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
|
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: json
|