minke 1.13.14 → 1.13.15

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
  SHA1:
3
- metadata.gz: e3b59e1ea5d9381f5999bf6f892ac2603f2fa6d7
4
- data.tar.gz: 615125bf7abf184d7eb054bbbd762d2efea64dae
3
+ metadata.gz: 91332371ea0b79e30114c2dd941a6944a0e87ee7
4
+ data.tar.gz: 6016853d9987a423e99ae2e742ef627ea3e17af5
5
5
  SHA512:
6
- metadata.gz: abf2299d8977a32f46b90bbf55243d972ee18286e175e33d5e83b2d3cf8cce493d19287cc880b95dc5def07f5aac0c5b1fb1fb1eb8f86dbc6d22c003be0af0c2
7
- data.tar.gz: 5d5413b6f6a6aff6dc9c5b7b16e8c917b6c0dfa28eac2f66804acfed2a1b89e5840b0eebbef476134af8ec657150f4f5eaa95a0bbffa547725f829494fa635d8
6
+ metadata.gz: a97898bcd0001be5e23b3f686989b464de19fb1e31eff3035eb3772b97b1a297e7193e8b927c85baa4c443cc6894fb8947062ac8bbf142aa9577ad69187e334f
7
+ data.tar.gz: 30bc1a0027fc42c3c4a60d7446fdfd8881e60503c50cc571e1886a3b5eeeebbea8386bc772ffafe240f17c837a09362ed01ffde1bb534743612b34f230fda1de
data/.travis.yml CHANGED
@@ -30,7 +30,7 @@ after_deploy:
30
30
  docker build -t nicholasjackson/minke --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .;
31
31
  docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
32
32
  docker push nicholasjackson/minke:latest;
33
- docker tag nicholasjackson/minke nicholasjackson/minke:1.13.14;
34
- docker push nicholasjackson/minke:1.13.14;
33
+ docker tag nicholasjackson/minke nicholasjackson/minke:1.13.15;
34
+ docker push nicholasjackson/minke:1.13.15;
35
35
  curl https://hooks.microbadger.com/images/nicholasjackson/minke/tkpohfdrYPE0B0TL5NzLcOap4k0=;
36
36
  fi
data/docker/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gem "rake"
4
4
  gem "cucumber"
5
5
 
6
- gem 'minke', "= 1.13.14"
6
+ gem 'minke', "= 1.13.15"
7
7
  gem 'minke-generator-swift', "= 0.4"
8
8
  gem 'minke-generator-netmvc'
9
9
  gem 'minke-generator-go', "= 0.8.5"
@@ -1,5 +1,5 @@
1
1
  #!/bin/bash
2
- MINKE_VERSION="1.13.14"
2
+ MINKE_VERSION="1.13.15"
3
3
 
4
4
  DOCKER_SOCK="/var/run/docker.sock:/var/run/docker.sock"
5
5
  NEW_UUID=$(base64 /dev/urandom | tr -d '/+' | head -c 32 | tr '[:upper:]' '[:lower:]')
@@ -6,11 +6,15 @@ module Minke
6
6
  @logger.info "## Build application"
7
7
 
8
8
  if @generator_config.build_settings.build_commands.build != nil
9
- run_with_block do
9
+ run_with_block do |pre_tasks, post_tasks|
10
+ pre_tasks.call
11
+
10
12
  @generator_config.build_settings.build_commands.build.each do |command|
11
13
  @logger.debug command.to_s
12
14
  run_command_in_container command
13
15
  end
16
+
17
+ post_tasks.call
14
18
  end
15
19
  end
16
20
  end
@@ -6,10 +6,14 @@ module Minke
6
6
  @logger.info '### Fetching dependencies'
7
7
 
8
8
  if @generator_config.build_settings.build_commands.fetch != nil
9
- run_with_block do
9
+ run_with_block do |pre_tasks, post_tasks|
10
+ pre_tasks.call
11
+
10
12
  @generator_config.build_settings.build_commands.fetch.each do |command|
11
13
  run_command_in_container command
12
14
  end
15
+
16
+ post_tasks.call
13
17
  end
14
18
  end
15
19
  end
@@ -5,10 +5,14 @@ module Minke
5
5
  def run args = nil
6
6
  @logger.info "## Test application"
7
7
 
8
- run_with_block do
8
+ run_with_block do |pre_tasks, post_tasks|
9
+ pre_tasks.call
10
+
9
11
  @generator_config.build_settings.build_commands.test.each do |command|
10
12
  run_command_in_container command
11
13
  end
14
+
15
+ post_tasks.call
12
16
  end
13
17
  end
14
18
 
data/lib/minke/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.13.14"
2
+ VERSION = "1.13.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minke
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.14
4
+ version: 1.13.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson