minke 1.13.15 → 1.13.16

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: 91332371ea0b79e30114c2dd941a6944a0e87ee7
4
- data.tar.gz: 6016853d9987a423e99ae2e742ef627ea3e17af5
3
+ metadata.gz: 2aa0e68808d27776c9de9795277ad0dad8f178e3
4
+ data.tar.gz: cb2a53605cd6deb9a35a8e0b9c42d9a277803105
5
5
  SHA512:
6
- metadata.gz: a97898bcd0001be5e23b3f686989b464de19fb1e31eff3035eb3772b97b1a297e7193e8b927c85baa4c443cc6894fb8947062ac8bbf142aa9577ad69187e334f
7
- data.tar.gz: 30bc1a0027fc42c3c4a60d7446fdfd8881e60503c50cc571e1886a3b5eeeebbea8386bc772ffafe240f17c837a09362ed01ffde1bb534743612b34f230fda1de
6
+ metadata.gz: c18c441499f82ec11f8b40eb36cc9f64a1fe4d9d90f1e85805eefb1b9424ecc1b6511a780853f952e03cfaf1ecd4ff5b57d777384d33eeb574a79926c7cdf61a
7
+ data.tar.gz: 126c9ab80a44e8bdd379cadeac8600a94599a4ad44e77ac8def8ef6f4ceb31700e2a55364b2ec06226c25810c93c06b0456bd6496bfe5d58e41b96a261046c5d
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.15;
34
- docker push nicholasjackson/minke:1.13.15;
33
+ docker tag nicholasjackson/minke nicholasjackson/minke:1.13.16;
34
+ docker push nicholasjackson/minke:1.13.16;
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.15"
6
+ gem 'minke', "= 1.13.16"
7
7
  gem 'minke-generator-swift', "= 0.4"
8
8
  gem 'minke-generator-netmvc'
9
9
  gem 'minke-generator-go', "= 0.8.5"
data/docker/entrypoint.sh CHANGED
@@ -1,15 +1,19 @@
1
1
  #!/usr/bin/env bash
2
- INSTALL="echo \"#Copying cache\" && gem install bundler && bundle install"
3
- COMMAND="bundle exec minke $@"
2
+ bundle_install=true
3
+
4
+ if [[ -e "Gemfile.sha" ]]; then
5
+ sha=`cat Gemfile.sha`
6
+ current_sha=`sha1sum Gemfile`
4
7
 
5
- if [[ $1 != \generate* ]]; then
6
- if [ -d "./vendor" ]; then
7
- eval $COMMAND
8
- else
9
- eval "$INSTALL && $COMMAND"
8
+ if [[ "$sha" == "$current_sha" ]]; then
9
+ bundle_install=false
10
10
  fi
11
11
  fi
12
12
 
13
- if [[ $1 = \generate* ]]; then
14
- eval $COMMAND
13
+ if $bundle_install; then
14
+ bundle install
15
+ sha1sum Gemfile > Gemfile.sha
15
16
  fi
17
+
18
+ COMMAND="bundle exec minke $@"
19
+ eval $COMMAND
data/lib/minke/command.rb CHANGED
@@ -81,7 +81,6 @@ module Minke
81
81
  def fetch
82
82
  if config.fetch != nil
83
83
  tasks = create_tasks :fetch
84
- tasks[:bundler].run
85
84
  tasks[:fetch].run
86
85
  end
87
86
  end
@@ -1,5 +1,5 @@
1
1
  #!/bin/bash
2
- MINKE_VERSION="1.13.15"
2
+ MINKE_VERSION="1.13.16"
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:]')
data/lib/minke/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.13.15"
2
+ VERSION = "1.13.16"
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.15
4
+ version: 1.13.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson