minke-generator-swift 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/swift/scaffold/_build/config.yml.erb +16 -18
- data/lib/generators/swift/scaffold/_build/dockercompose/<%= application_name %>/docker-compose.yml.erb +0 -11
- data/lib/generators/swift/scaffold/_build/dockercompose/<%= application_name %>/docker-no-server.yml.erb +0 -10
- data/lib/generators/swift/scaffold/src/Tests/<%= application_name %>/HealthHandlerTests.swift.erb +1 -1
- data/lib/generators/swift/scaffold/src/Tests/<%= application_name %>/models/HealthHandlerResponseTests.swift.erb +1 -1
- data/lib/generators/swift/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4cac329278b2c8efeff51b0431522059e4fe6b2
|
4
|
+
data.tar.gz: 67fc351aa1ddbf3720db2960c90f4c3f05a355be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d50782cdf47f3ff20c9a649a02800171d21103362f39d51de074d7e7e517bfc218d3d945dd6c13e480760911a9995914adf56bb223dad9a9620903628c995def
|
7
|
+
data.tar.gz: 65edd7acf2325007853047fd52e5715d422713840a7365b23adf6662c233e0f8d90ced58a0a23c00f0bb44d7e9662288665e5f5f8feee2f4503f8095e2c982f7
|
@@ -25,23 +25,21 @@ build:
|
|
25
25
|
from: './swagger_spec/swagger.yml'
|
26
26
|
to: './dockerfile/<%= application_name %>/swagger_spec'
|
27
27
|
run:
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
type: bridge
|
28
|
+
consul_loader:
|
29
|
+
config_file: './consul_keys.yml'
|
30
|
+
url:
|
31
|
+
address: consul
|
32
|
+
port: 8500
|
33
|
+
type: bridge
|
35
34
|
cucumber:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
port: 8500
|
42
|
-
type: bridge
|
43
|
-
health_check:
|
44
|
-
address: <%= application_name %>
|
45
|
-
port: 8090
|
46
|
-
path: /v1/health
|
35
|
+
consul_loader:
|
36
|
+
config_file: './consul_keys.yml'
|
37
|
+
url:
|
38
|
+
address: consul
|
39
|
+
port: 8500
|
47
40
|
type: bridge
|
41
|
+
health_check:
|
42
|
+
address: <%= application_name %>
|
43
|
+
port: 8090
|
44
|
+
path: /v1/health
|
45
|
+
type: bridge
|
@@ -8,16 +8,7 @@ services:
|
|
8
8
|
environment:
|
9
9
|
- "CONSUL_URI=consul:8500"
|
10
10
|
links:
|
11
|
-
- consul:consul
|
12
11
|
- statsd:statsd
|
13
|
-
consul:
|
14
|
-
image: progrium/consul
|
15
|
-
ports:
|
16
|
-
- "::8400"
|
17
|
-
- "::8500"
|
18
|
-
- "::53/udp"
|
19
|
-
hostname: node1
|
20
|
-
command: "-server -bootstrap -ui-dir /ui"
|
21
12
|
statsd:
|
22
13
|
image: 'hopsoft/graphite-statsd:latest'
|
23
14
|
ports:
|
@@ -26,8 +17,6 @@ services:
|
|
26
17
|
- "8125/udp"
|
27
18
|
registrator:
|
28
19
|
image: 'gliderlabs/registrator:latest'
|
29
|
-
links:
|
30
|
-
- consul:consul
|
31
20
|
command: '-internal -tags=dev consul://consul:8500'
|
32
21
|
volumes:
|
33
22
|
- '/var/run/docker.sock:/tmp/docker.sock'
|
@@ -1,14 +1,6 @@
|
|
1
1
|
version: '2'
|
2
2
|
|
3
3
|
services:
|
4
|
-
consul:
|
5
|
-
image: progrium/consul
|
6
|
-
ports:
|
7
|
-
- "9400:8400"
|
8
|
-
- "9500:8500"
|
9
|
-
- "9600:53/udp"
|
10
|
-
hostname: node1
|
11
|
-
command: "-server -bootstrap -ui-dir /ui"
|
12
4
|
statsd:
|
13
5
|
image: 'hopsoft/graphite-statsd:latest'
|
14
6
|
ports:
|
@@ -16,8 +8,6 @@ services:
|
|
16
8
|
- "8125:8125/udp"
|
17
9
|
registrator:
|
18
10
|
image: 'gliderlabs/registrator:latest'
|
19
|
-
links:
|
20
|
-
- consul:consul
|
21
11
|
command: '-internal -tags=dev consul://consul:8500'
|
22
12
|
volumes:
|
23
13
|
- '/var/run/docker.sock:/tmp/docker.sock'
|
data/lib/generators/swift/scaffold/src/Tests/<%= application_name %>/HealthHandlerTests.swift.erb
CHANGED
@@ -29,7 +29,7 @@ public class HealthHandlerTests: XCTestCase {
|
|
29
29
|
}
|
30
30
|
|
31
31
|
extension HealthHandlerTests {
|
32
|
-
static var allTests: [(String, HealthHandlerTests -> () throws -> Void)] {
|
32
|
+
static var allTests: [(String, (HealthHandlerTests) -> () throws -> Void)] {
|
33
33
|
return [
|
34
34
|
("testReturnsHTTPStatusOK", testReturnsHTTPStatusOK),
|
35
35
|
("testReturnsValidResponse", testReturnsValidResponse)
|
@@ -15,7 +15,7 @@ public class HealthHandlerResponseTests: XCTestCase {
|
|
15
15
|
}
|
16
16
|
|
17
17
|
extension HealthHandlerResponseTests {
|
18
|
-
static var allTests: [(String, HealthHandlerResponseTests -> () throws -> Void)] {
|
18
|
+
static var allTests: [(String, (HealthHandlerResponseTests) -> () throws -> Void)] {
|
19
19
|
return [
|
20
20
|
("testSerializesObject", testSerializesObject)
|
21
21
|
]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minke-generator-swift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nic Jackson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|