orchestration 0.5.9 → 0.5.10

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: 5509fae5c79bb804de588e7e15e254c0b460cc35acca4495e9d76006d4f8ba26
4
- data.tar.gz: 7dd08a1cd7ccc2a9153062105330f59db5cf669f4c15dfa98cbfb13c438410d5
3
+ metadata.gz: 150c7f4fbfb486398d0b26e7362b1d913463525d2e3b5d2fd5d3778fa728cc64
4
+ data.tar.gz: 4c91a0705f955b13aed805b8fa6ce2e4a78177ad81a98177e7ab4a970233a1ff
5
5
  SHA512:
6
- metadata.gz: 1e89b322c9462c740d6300c1b37d66f4e50b9501f5b570b5d9e369e5b72a031014e728c547891783f181fa15b46846c0a0241ad43a87f5ecdf7cc0acea8b383d
7
- data.tar.gz: 3d3846f9d09263614f950a4f1eb1d47b3c52b19ccce2e0522c198b693f352935e26116446307aeea1354c268e32bc7cd82049317961b10053adbc62b587c99b5
6
+ metadata.gz: 52541a298cbfbbd1f4361370543c428c60fc411e9000a4223dbb865aa02d13931fcf3bce2a3d2b2017b7ffaf12493e6a95b4c333b7352e0476edcd3929d02c93
7
+ data.tar.gz: 7a617a4b2c7eca3a8b830bb96597934252361be208e1bd545fe4f79067759c709582a59486067c3e7498ac779fa8e6f8c7107725410fabfe80e5d569c42a6ac3
data/README.md CHANGED
@@ -27,7 +27,7 @@ The below screenshot demonstrates _Orchestration_ being installed in a brand new
27
27
  Add _Orchestration_ to your Gemfile:
28
28
 
29
29
  ```ruby
30
- gem 'orchestration', '~> 0.5.9'
30
+ gem 'orchestration', '~> 0.5.10'
31
31
  ```
32
32
 
33
33
  Install:
@@ -191,12 +191,20 @@ make serve server='-p 3001 -b 192.168.0.1'
191
191
  A default `test` target is provided in your application's main `Makefile`. You are encouraged to modify this target to suit your application's requirements.
192
192
 
193
193
  To launch all dependency containers, run database migrations, and run tests:
194
- ```
194
+ ```bash
195
195
  make test
196
196
  ```
197
197
 
198
- If you prefer to run tests manually (e.g. if you want to run tests for a specific file) then the `test-setup` target can be used:
198
+ The default `test` command can (and should) be extended. This command is defined in the root `Makefile` in the project and, by defaults, runs `rspec` and `rubocop`.
199
+
200
+ To run only the `test` command, without test setup (i.e. without restarting containers etc.), pass the `light` option:
201
+
202
+ ```bash
203
+ make test light=1
199
204
  ```
205
+
206
+ If you prefer to run tests manually (e.g. if you want to run tests for a specific file) then the `test-setup` target can be used:
207
+ ```bash
200
208
  make test-setup
201
209
  bundle exec rspec spec/my_class_spec.rb
202
210
  ```
@@ -62,7 +62,7 @@ module Orchestration
62
62
  .fetch(service)
63
63
  .new(config, @environment)
64
64
  .definition
65
- &.merge('networks' => { 'local' => {} })
65
+ &.tap { |definition| definition['networks'] ||= { 'local' => {} } }
66
66
  end
67
67
  end
68
68
  end
@@ -2,5 +2,3 @@
2
2
  # e.g.:
3
3
  #
4
4
  # DISABLE_SPRING=1
5
-
6
- PUBLISH_PORT=3000
@@ -112,7 +112,7 @@ all: build
112
112
 
113
113
  .PHONY: start
114
114
  ifndef network
115
- start: network := ${compose_project_name}_default
115
+ start: network := ${compose_project_name}
116
116
  endif
117
117
  start: _create-log-directory _clean-logs
118
118
  @$(call print,'${yellow}Starting ${cyan}${env}${yellow} containers${reset} ...')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orchestration
4
- VERSION = '0.5.9'
4
+ VERSION = '0.5.10'
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.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-18 00:00:00.000000000 Z
11
+ date: 2021-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: database_url