orchestration 0.3.6 → 0.3.7

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
2
  SHA256:
3
- metadata.gz: e894b654b10256d1ebd803cf1b5143e7c0ab807985e17061eec8d42616c1990a
4
- data.tar.gz: 93c97cedd89042374605d2efb2ffa4704e0431bb353fe1c68427619858aa1f7e
3
+ metadata.gz: 9afb24c9efeefd9ccd9799fa399c7ff62f4f0f6cc242e62363503138c7403784
4
+ data.tar.gz: e1da14692011a5ef18572265418050273ea8013a572a1f225afbc09f7f7f40b1
5
5
  SHA512:
6
- metadata.gz: a4177e1b725784022f40cad3a8869c58d265501bbb627a1922986cb9da751a3353ac5b45392794cb857c7b8048ae17bc700956ba00c4f43fc00e3279f2772e7c
7
- data.tar.gz: d505f7e64c6593aaa8ac4d8a89e9830745f65f776b342d6fa6702cb15b118f79f3caefa5f48462d0bb95b281497c252b248851a7880cb5c9085c40654e15d382
6
+ metadata.gz: e2694f7b030351f1e02483c80d071cd070cf626bcfc8787580c058f96a5f5cf9c42bb0c82e09cb8d1e9bd32aba249f4874699f126f1593e2335f794e7d472bf5
7
+ data.tar.gz: 1d9fe30e7fd4b3320fb90dd05bd34456c45ed82dfe9ab21a2f176aa78141d97d3f94012bb19407c848c4b45876e03bd564bccaffe9d2364bbca9cfc5417f263c
data/README.md CHANGED
@@ -11,7 +11,7 @@ _Orchestration_ is a toolkit for testing, building, and deploying _Ruby_ (includ
11
11
  Add _Orchestration_ to your Gemfile:
12
12
 
13
13
  ```ruby
14
- gem 'orchestration', '~> 0.3.6'
14
+ gem 'orchestration', '~> 0.3.7'
15
15
  ```
16
16
 
17
17
  Install:
data/TODO CHANGED
@@ -17,3 +17,8 @@ Provide a way of declaratively configuring bespoke healthchecks.
17
17
 
18
18
  Auto-healthcheck any services with a local port bind using the Listener
19
19
  healthcheck.
20
+
21
+ Add remote Docker swarm management.
22
+ https://github.com/mikejmoore/docker-swarm-sdk
23
+
24
+ Add scp and ssh execution of docker-compose bundle to servers.
@@ -31,8 +31,15 @@ module Orchestration
31
31
 
32
32
  def database_url
33
33
  settings = database_settings
34
+ return nil if settings.nil?
34
35
  return nil if settings.fetch('adapter') == 'sqlite3'
35
36
 
37
+ build_database_url(settings)
38
+ end
39
+
40
+ private
41
+
42
+ def build_database_url(settings)
36
43
  scheme = settings.fetch('scheme')
37
44
  database = settings.fetch('database')
38
45
  username = settings.fetch('username')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orchestration
4
- VERSION = '0.3.6'
4
+ VERSION = '0.3.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orchestration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-07 00:00:00.000000000 Z
11
+ date: 2019-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize