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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmVlMjlkOTI2NDM3NjQ4MTAwZDhhYTAwOWEwZTk5OGZhZTdiYzI2ZA==
4
+ NTE5YTI2NjAwMGQ3YzY0ZTc0NmQ4NmNlYjI5OTJkOTZhNDEyNGRmNw==
5
5
  data.tar.gz: !binary |-
6
- NmY1ZTIxNTE4ZTkwOTk2Nzc1ZDUzYjc0Yjc0NWU3OTI2MDRjYzYxOQ==
6
+ NjQ0Mjk0ZTY1ZDkwYTdjNTRiYWFiZjhkNDI3NzM5ZGVjODlmZGI5NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjhhNDJjMTIwNjU4ZDQ3MzkzZjc4ZjA3YmQ3OTE3MmY2Yjg5NGY2OTAwMTJm
10
- NDEwYjVjZDVjNzJhYzQ1YjNlMmZmMmUxZTYwMGUyMjVkMzIxMzllYTM4Mzk5
11
- Y2VkZmZhZjExNDY2YjdiNWEwODRmMDdjMzNjOTVmMTY5N2U0ZjE=
9
+ ZTQyMDFlM2Q4ODkzNDg1YWMzMGE2MzRmOTUxMmJjNGZlNjk2N2Y5YTA5ZDlk
10
+ YTFmZGY4N2YxMzIwNDdjYjg5ODAyOTBiOWQwYTdlMjg5ODhmNTU2ZmYyNTQx
11
+ MmVjNDM4NGZjNTZmYTRkNWMyMzAwZDc2NmZmY2M4ZmEyMWNiODU=
12
12
  data.tar.gz: !binary |-
13
- NTNmZjgzMGVhODM3ODRjYzE2MGY1MWFlZmJhMTViMDg5OGQ2NzAzYTM4MjQ2
14
- NGU2NDEyYjFjMDM2YjM4NzQ5MmE2MDUwMGVlZDA1NTJhYmQ5MjgxZmM3NGMy
15
- OWVlNTIxYTI5MDMxMGJhYTY5NDllNjg4NjQyNzUzNWZjMmI0ZDA=
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
- # working directory is added via a class patch to enable lazy load
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
@@ -1,7 +1,7 @@
1
1
  module Minke
2
2
  module Generators
3
3
  module GoMicroservice
4
- VERSION = "0.5.0"
4
+ VERSION = "0.6.0"
5
5
  end
6
6
  end
7
7
  end
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.5.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-02 00:00:00.000000000 Z
11
+ date: 2016-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler