minke 1.13.8 → 1.13.9

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: ec16a6f8bb966d59cb0305eb6abc45e93b31939a
4
- data.tar.gz: 960268cd2550e92d486b51017a11c61c01e7d174
3
+ metadata.gz: e9e8e41df805b4ae39e2b77c7ee0a3556bbc25be
4
+ data.tar.gz: 1ea8151c518be563da7fabd04bfb9d8ae23dfede
5
5
  SHA512:
6
- metadata.gz: f72fe2a479b1298b9365ed4f6f6dc7d6af2e17f4e305122a3b99d44d77b64a67b7f8285682a878de40c768b86287ca26046d0d9fada2f72f0a76921e47c2367c
7
- data.tar.gz: 763efb3149550d65dce85329d5a825d8bb8eb48f8514796d1bceaf41bbfc2b2f5f8d5be12b1deaca64b6864a7349087a51cbba19ac28d06090e9c6b1dff0f568
6
+ metadata.gz: f3722a5affda81a67ba07a8bc08b791e8ee57dbf404bd0e3f5407283a4a61d9a61c83fb7b7b2e15f6eb46cc54fa3d546ada6fff1cfe85152ce2b4dca3ed31e08
7
+ data.tar.gz: 404a404c30fa0aa2cbab7ae66acb122748dba8f84c6eaea2fc8baeb988db0c66e2c6d26831bb1313d30c8afad8da428edf2a64ca35e11db03d21ff0c2e198912
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.8;
34
- docker push nicholasjackson/minke:1.13.8;
33
+ docker tag nicholasjackson/minke nicholasjackson/minke:1.13.9;
34
+ docker push nicholasjackson/minke:1.13.9;
35
35
  curl https://hooks.microbadger.com/images/nicholasjackson/minke/tkpohfdrYPE0B0TL5NzLcOap4k0=;
36
36
  fi
data/bin/minke CHANGED
@@ -79,8 +79,10 @@ subcommands = {
79
79
 
80
80
  global.order!
81
81
  command = ARGV.shift
82
- subcommands[command].order!
83
82
 
83
+ if !subcommands[command].nil?
84
+ subcommands[command].order!
85
+ end
84
86
 
85
87
  def load_config config_file, verbose
86
88
  reader = Minke::Config::Reader.new Minke::Logging.create_logger(verbose)
data/docker/Gemfile CHANGED
@@ -8,7 +8,7 @@ gem "cucumber"
8
8
  gem "cucumber-rest-api", "= 0.3"
9
9
  gem 'cucumber-api', '~> 0.3'
10
10
 
11
- gem 'minke', "= 1.13.7"
11
+ gem 'minke', "= 1.13.9"
12
12
  gem 'minke-generator-swift', "= 0.2.2"
13
13
  gem 'minke-generator-netmvc'
14
14
  gem 'minke-generator-go', "= 0.8.5"
@@ -1,10 +1,10 @@
1
1
  #!/bin/bash
2
- MINKE_VERSION="1.13.7"
2
+ MINKE_VERSION="1.13.9"
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
6
 
7
- DOCKER_IMAGE="minketester"
7
+ DOCKER_IMAGE="nicholasjackson/minke:${MINKE_VERSION}"
8
8
 
9
9
  COMMAND=$*
10
10
 
@@ -14,9 +14,6 @@ GEM_VOLUMES=""
14
14
  [[ -t 1 ]] && IT="-it" || IT=""
15
15
 
16
16
  if [[ $1 != \generate* ]]; then
17
-
18
- echo "Generate"
19
-
20
17
  # Test if we need to mount any special volumes for paths specified in the Gemfile
21
18
  while read -r line; do
22
19
  l=$(echo $line | sed "s/.*:path *=> *//" | sed "s/['|\"]\(.*\)['|\"]/\1/")
@@ -24,7 +21,7 @@ if [[ $1 != \generate* ]]; then
24
21
  done < <(grep :path Gemfile)
25
22
 
26
23
  DIR=$(dirname `pwd`)
27
- DOCKER_RUN="docker run --rm ${IT} --net=minke_${NEW_UUID} ${GEM_VOLUMES} -v ${DOCKER_SOCK} -v ${DIR}:${DIR} -v ${DIR}/_build/vendor:/usr/local/bundle -e DOCKER_NETWORK=minke_${NEW_UUID} -w ${DIR}/_build ${DOCKER_IMAGE} ${COMMAND}"
24
+ DOCKER_RUN="docker run --rm --net=minke_${NEW_UUID} ${GEM_VOLUMES} -v ${DOCKER_SOCK} -v ${DIR}:${DIR} -v ${DIR}/_build/vendor:/usr/local/bundle -e DOCKER_NETWORK=minke_${NEW_UUID} -w ${DIR}/_build ${DOCKER_IMAGE} ${COMMAND}"
28
25
 
29
26
  echo "Running command: minke ${COMMAND}"
30
27
 
@@ -36,7 +33,7 @@ fi
36
33
 
37
34
  if [[ $1 = \generate* ]]; then
38
35
  DIR=$(pwd)
39
- DOCKER_RUN="docker run --rm ${IT} -v ${DOCKER_SOCK} -v ${DIR}:${DIR} -w ${DIR}/${DIR} ${DOCKER_IMAGE} ${COMMAND}"
36
+ DOCKER_RUN="docker run --rm -v ${DOCKER_SOCK} -v ${DIR}:${DIR} -w ${DIR}:${DIR} ${DOCKER_IMAGE} ${COMMAND}"
40
37
  echo $DOCKER_RUN
41
38
  eval "$DOCKER_RUN"
42
39
  fi
data/lib/minke/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.13.8"
2
+ VERSION = "1.13.9"
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.8
4
+ version: 1.13.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson