train 1.6.3 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 8769ecc9e3ecf63139d0dcbdd4464161e3e9dc246c4dcd31017e0aa6f3749076
4
- data.tar.gz: 161ef818dddabbb473733ac38308332f9ce400a5679648d937fe259a5f2ad60d
2
+ SHA1:
3
+ metadata.gz: 5436721b1bcbe3b31c0b932b746c5025b3825e3f
4
+ data.tar.gz: f9fe4cade6e49ba1825127c299a2d9c5f552aac4
5
5
  SHA512:
6
- metadata.gz: 49dcf05e5532d235723c0b66029ea82183c9baec663f1c8421d6c2134374aa02154eb9677551d593a5adef2e952aa6ba0ac8d7da6b6702e54db867d911d6ab4b
7
- data.tar.gz: a83fdb31f658510168815b534851e01e34929c77c68ef6a11560c67a7c62b985828cafee2533e5ca1c96e54754eb3629d6c3d2d43713ca04c06ebc736c107886
6
+ metadata.gz: 50aa25d31056c2b834476d176d9f4eaec0e207b4927eca8c4f68be4fa37127bd201695154c6273f13db5ed96704b72f637c6d548d9c3c96e705c32292fafe816
7
+ data.tar.gz: 240972a00b73d6cddc5e24c36cf5ba0bfa41177999c4397fc588055b543de7145bf6ebadbd568c8a6f1ad11154cf93635ab143d04dd8a6ae383c51b37ecbd2c6
@@ -14,7 +14,9 @@ module Train::Transports
14
14
  name 'gcp'
15
15
 
16
16
  # GCP will look automatically for the below env var for service accounts etc. :
17
- option :google_application_credentials, required: false, default: ENV['GOOGLE_APPLICATION_CREDENTIALS']
17
+ option :google_application_credentials, required: false do
18
+ ENV['GOOGLE_APPLICATION_CREDENTIALS']
19
+ end
18
20
  # see https://cloud.google.com/docs/authentication/production#providing_credentials_to_your_application
19
21
  # In the absence of this, the client is expected to have already set up local credentials via:
20
22
  # $ gcloud auth application-default login
@@ -22,8 +24,12 @@ module Train::Transports
22
24
  # GCP projects can have default regions / zones set, see:
23
25
  # https://cloud.google.com/compute/docs/regions-zones/changing-default-zone-region
24
26
  # can also specify project via env var:
25
- option :google_cloud_project, required: false, default: ENV['GOOGLE_CLOUD_PROJECT']
26
- option :google_super_admin_email, required: false, default: ENV['GOOGLE_SUPER_ADMIN_EMAIL']
27
+ option :google_cloud_project, required: false do
28
+ ENV['GOOGLE_CLOUD_PROJECT']
29
+ end
30
+ option :google_super_admin_email, required: false do
31
+ ENV['GOOGLE_SUPER_ADMIN_EMAIL']
32
+ end
27
33
 
28
34
  def connection(_ = nil)
29
35
  @connection ||= Connection.new(@options)
data/lib/train/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = '1.6.3'.freeze
6
+ VERSION = '1.7.0'.freeze
7
7
  end
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.6.3
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-19 00:00:00.000000000 Z
11
+ date: 2019-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -34,14 +34,14 @@ dependencies:
34
34
  name: mixlib-shellout
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '2.0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - "~>"
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '2.0'
47
47
  - !ruby/object:Gem::Dependency
@@ -304,7 +304,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
304
304
  requirements:
305
305
  - - ">="
306
306
  - !ruby/object:Gem::Version
307
- version: '2.0'
307
+ version: '2.3'
308
308
  required_rubygems_version: !ruby/object:Gem::Requirement
309
309
  requirements:
310
310
  - - ">="
@@ -312,7 +312,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
312
312
  version: '0'
313
313
  requirements: []
314
314
  rubyforge_project:
315
- rubygems_version: 2.7.6
315
+ rubygems_version: 2.6.14.3
316
316
  signing_key:
317
317
  specification_version: 4
318
318
  summary: Transport interface to talk to different backends.