minke-generator-go 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/generators/gomicroservice.rb +1 -10
- data/lib/generators/gomicroservice/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTE5YTI2NjAwMGQ3YzY0ZTc0NmQ4NmNlYjI5OTJkOTZhNDEyNGRmNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjQ0Mjk0ZTY1ZDkwYTdjNTRiYWFiZjhkNDI3NzM5ZGVjODlmZGI5NA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTQyMDFlM2Q4ODkzNDg1YWMzMGE2MzRmOTUxMmJjNGZlNjk2N2Y5YTA5ZDlk
|
10
|
+
YTFmZGY4N2YxMzIwNDdjYjg5ODAyOTBiOWQwYTdlMjg5ODhmNTU2ZmYyNTQx
|
11
|
+
MmVjNDM4NGZjNTZmYTRkNWMyMzAwZDc2NmZmY2M4ZmEyMWNiODU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzMxMjgyMThkODdkYThlM2M5YTM5YjhjNzBiZmU1NDJlMWU5YjI3M2UzMTgx
|
14
|
+
ZjU0NDkzNjJmNGZjZTAyNDE1MTkyYzAyY2JkYmY5NTk0NjgxZGE0ZDgxNTg4
|
15
|
+
OTVkZWE3YzU2YjBlYzRiNDZjMDNiNGNjYzhiZmJhZmIwMDY3NjU=
|
@@ -23,16 +23,7 @@ module Minke
|
|
23
23
|
bs.image = 'golang:latest'
|
24
24
|
bs.env = ['CGO_ENABLED=0']
|
25
25
|
bs.binds = ["#{ENV['GOPATH']}/src:/go/src"]
|
26
|
-
|
27
|
-
end
|
28
|
-
|
29
|
-
# we need lazy evaluation of this property
|
30
|
-
class << config.build_settings.docker_settings
|
31
|
-
def working_directory
|
32
|
-
dir = File.expand_path('../.')
|
33
|
-
gopath = "#{ENV['GOPATH']}"
|
34
|
-
"/go" + dir.gsub(gopath,'')
|
35
|
-
end
|
26
|
+
bs.working_directory = '/go/src/<%= namespace %>/<%= application_name %>'
|
36
27
|
end
|
37
28
|
|
38
29
|
Minke::Generators.register config
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minke-generator-go
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
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-06-
|
11
|
+
date: 2016-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|