minke 1.14.2 → 1.14.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/docker/Gemfile +2 -2
- data/lib/minke/command.rb +1 -1
- data/lib/minke/logger.rb +20 -18
- data/lib/minke/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 727acfd36bb5af0a3d866b8431ceb5e74155c50b
|
4
|
+
data.tar.gz: a9da9753778473b969fdd0cdb65f68ca83b5629c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89a178d0601ccf30db033bf3c17858fd9da2a9c410f3bd09a662b1e1dfcb62c7b447b86b9f3c861da347cc8718a2d4770d03375e62d43911bef173594deabc97
|
7
|
+
data.tar.gz: 2b9ba32d3fa6c9ebc32fa24add80e99941014915b52750041bb645468badca226e8018af1a4356e2acdfd0fea85db3722ac8f96cd3e21d938a596f4c8c369eca
|
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.14.
|
34
|
-
docker push nicholasjackson/minke:1.14.
|
33
|
+
docker tag nicholasjackson/minke nicholasjackson/minke:1.14.3;
|
34
|
+
docker push nicholasjackson/minke:1.14.3;
|
35
35
|
curl https://hooks.microbadger.com/images/nicholasjackson/minke/tkpohfdrYPE0B0TL5NzLcOap4k0=;
|
36
36
|
fi
|
data/docker/Gemfile
CHANGED
@@ -3,8 +3,8 @@ source 'https://rubygems.org'
|
|
3
3
|
gem "rake"
|
4
4
|
gem "cucumber"
|
5
5
|
|
6
|
-
gem 'minke', "= 1.14.
|
6
|
+
gem 'minke', "= 1.14.3"
|
7
7
|
gem 'minke-generator-swift', "= 0.4"
|
8
8
|
gem 'minke-generator-netmvc'
|
9
|
-
gem 'minke-generator-go', "= 0.9.
|
9
|
+
gem 'minke-generator-go', "= 0.9.2"
|
10
10
|
gem 'minke-generator-spring'
|
data/lib/minke/command.rb
CHANGED
@@ -15,7 +15,7 @@ module Minke
|
|
15
15
|
ENV['DOCKER_PROJECT'] = project_name
|
16
16
|
ENV['DOCKER_NETWORK'] = network_name
|
17
17
|
|
18
|
-
logger = Minke::Logging.create_logger(self.verbose)
|
18
|
+
logger = Minke::Logging.create_logger(STDOUT, self.verbose)
|
19
19
|
shell = Minke::Helpers::Shell.new(logger)
|
20
20
|
|
21
21
|
task_runner = Minke::Tasks::TaskRunner.new ({
|
data/lib/minke/logger.rb
CHANGED
@@ -3,26 +3,28 @@ module Minke
|
|
3
3
|
@@debug = false
|
4
4
|
@@ret = "\n"
|
5
5
|
|
6
|
-
def self.create_logger verbose = false
|
7
|
-
Logger.new(
|
6
|
+
def self.create_logger(output, verbose = false)
|
7
|
+
Logger.new(output).tap do |l|
|
8
8
|
l.datetime_format = ''
|
9
9
|
l.formatter = proc do |severity, datetime, progname, msg|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
10
|
+
if msg != nil
|
11
|
+
case severity
|
12
|
+
when 'ERROR'
|
13
|
+
s = "#{@@ret if @@debug}#{'ERROR'.colorize(:red)}: #{msg.chomp('')}\n"
|
14
|
+
@@debug = false
|
15
|
+
s
|
16
|
+
when 'INFO'
|
17
|
+
s = "#{@@ret if @@debug}#{'INFO'.colorize(:green)}: #{msg.chomp('')}\n"
|
18
|
+
@@debug = false
|
19
|
+
s
|
20
|
+
when 'DEBUG'
|
21
|
+
if verbose == true
|
22
|
+
"#{'DEBUG'.colorize(:yellow)}: #{msg.chomp('')}\n"
|
23
|
+
else
|
24
|
+
@@debug = true
|
25
|
+
"#{'.'.colorize(:yellow)}"
|
26
|
+
end
|
27
|
+
end
|
26
28
|
end
|
27
29
|
end
|
28
30
|
end
|
data/lib/minke/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.
|
4
|
+
version: 1.14.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nic Jackson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|