minke 1.11.1 → 1.11.2

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: f0b6d139c785e4975c59280ecd2983128af2b8ed
4
- data.tar.gz: ffdcc500a8d82dfdddc3d70efc356df23d5c95e2
3
+ metadata.gz: cae3864a161b20a56c969033a995be030add5132
4
+ data.tar.gz: 6de93ee0ed6e6e406a7d86fe6be9d0328f00c578
5
5
  SHA512:
6
- metadata.gz: 4ea0b5b0a0a63b44f1ac1ac2ac68aec214b815eac4198e2ba11a9aedcd39c900f7a8cb1fb1f4ce9cec3a2e5a1dd266a43d5838d0a33095684b4fa33eb16b1cef
7
- data.tar.gz: 39dd8b65b7f96a719e775356271cfb8aca3e39ca6d87659f0a5ec44df0d309b8fcd6cfb53816cd71cf1a98d9b5179bc11642a8dd5765cfe554b6e89b23dfd2a0
6
+ metadata.gz: 10643eea6e924f9a21fbb8034633b5d598480a8a5ad9ddd647d43eaf44c76b8e7468d6056006a64a5bf687affa2574d1a848ecfc32eb3e4852a1a4f51768700d
7
+ data.tar.gz: efb131593f7eb2d50a6b8c7fcdc3c98b253bb8994e98e30b6ac137138c66a676d6160ea9e79a7cf060c8a6bc648507209d340da0159f95a9aab6512e62326542
data/docker/Gemfile CHANGED
@@ -7,8 +7,8 @@ gem "cucumber"
7
7
  gem "cucumber-rest-api", "= 0.3"
8
8
  gem 'cucumber-api', '~> 0.3'
9
9
 
10
- gem 'minke'
11
- gem 'minke-generator-swift'
10
+ gem 'minke', "= 1.11.1"
11
+ gem 'minke-generator-swift', "= 0.1.8"
12
12
  gem 'minke-generator-netmvc'
13
13
  gem 'minke-generator-go'
14
14
  gem 'minke-generator-spring'
@@ -32,7 +32,8 @@ module Minke
32
32
  # Docker::Image
33
33
  def find_image image_name
34
34
  found = nil
35
- ::Docker::Image.all.each do | image |
35
+
36
+ ::Docker::Image.all.each do | image |
36
37
  found = image if image.info["RepoTags"].include? image_name
37
38
  end
38
39
 
@@ -4,6 +4,7 @@ module Minke
4
4
  ##
5
5
  # Executes a shell command and returns the return status
6
6
  def execute command
7
+ puts command
7
8
  system("#{command}")
8
9
  end
9
10
 
@@ -6,8 +6,9 @@ module Minke
6
6
  puts "## Update dependencies"
7
7
 
8
8
  puts '### Install gems'
9
- rvm_installed = @shell_helper.execute('which rvm')
10
- rvm_command = 'source /usr/local/rvm/scripts/rvm && ' if rvm_installed
9
+ rvm = "#{ENV['HOME']}/.rvm/scripts/rvm"
10
+ rvm_installed = File.exist?(rvm)
11
+ rvm_command = "source #{rvm} && " if rvm_installed
11
12
 
12
13
  @shell_helper.execute("#{rvm_command}bundle install -j3 && bundle update")
13
14
 
data/lib/minke/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.11.1"
2
+ VERSION = "1.11.2"
3
3
  end
data/lib/minke.rb CHANGED
@@ -14,6 +14,7 @@ require 'openssl'
14
14
  require 'base64'
15
15
  require 'securerandom'
16
16
  require 'sshkey'
17
+ require 'mkmf'
17
18
 
18
19
  require 'minke/version'
19
20
 
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.11.1
4
+ version: 1.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson