minke 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzBmMDVmMWY5ZTI1ODNlMGFhZWM1MGJhNWViODdhNGI3ZDU3NGY5Yw==
4
+ N2VlY2ZlYTMyYTU5NDIyYWEwODQwYzk2MDk2ZDJmNWFlMjE2MTcxOQ==
5
5
  data.tar.gz: !binary |-
6
- NDgxZDY1MTBkZDgyY2ZiNjVkM2I5ODM3MTdlZjExZjc0ODk1OWU1MQ==
6
+ NzZlMjRkZjFhNTQ0YTI1Y2ZjM2RiMWQzZDQ5YTQ1NDJiYjczOWY0OA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODkwMzE5NTU3ODg5YjJhNGUwYWI3NDNiZWNkYWRiNTdmNmIxOWVkY2YxYzll
10
- NTYzMjE1NWU2ZGYzZDU5Y2M5YzczZTZkM2NjMDdmZjBmYWRjOTA4NDM1YWM5
11
- NmM3N2NiNzAyOGIyZTQzMGY4YzdiMGVlYjU4YmY5MjdlMDRhM2E=
9
+ NGU0ODFmMTI5OTVhZmQ3YjhiOTliMzM4ZTY1NTU0MWU5NDZlN2E1MjFiNWRk
10
+ MWY5NTk5ZDY0NTMzMTFlZTc5ZjJlMGE1ZWFmODM5ZmMxZGQzY2QwMWE5Mjg5
11
+ ZjE4YzZiZjA0YjM0ZTA3NTJkYzkwOGE1NDQ1MmRmYjg1NmM2NGI=
12
12
  data.tar.gz: !binary |-
13
- YzVlMzdhNTQ5Y2YzNjFkY2Y1YTI3MTYwNjllNzIxN2Y0ZTI2MTI0YmI2NjQx
14
- YTE4ODFhOWIyNmU3ZmNlZjkwMDM0NTUxNGM5ZTg2ZGU3N2FmZTViODI4MTBm
15
- YjBhMzQ3MjMwMzQxNDIwMjUxYTRiZmQyNzg3ODUyYTdmMDcxYjA=
13
+ MmU4ZDA1ZWQzODRlNzY2ZGI5MGEyZmY2NzA3ZjFjZTIxNzc5NmM1Mjc3Mjkz
14
+ NGVkMTE2YWYxZmU4M2Y1ZjEzYjk4OGUwZWRjN2M1YjM2YzI3Mjc3ZTdmOTM3
15
+ MmUxOTExOGFhNzU3ZDI5ZjJiZWQ2MjczOGQ2Njg5MTA3NjQxODc=
@@ -20,7 +20,6 @@ module Minke
20
20
  process_directory generator.template_location, '**/.*', output_folder, @variables.application_name
21
21
 
22
22
  # run generate command if present
23
- puts generator.inspect
24
23
  if generator.generate_settings != nil && generator.generate_settings.command != nil
25
24
  image = build_image generator.generate_settings.docker_file unless generator.generate_settings.docker_file == nil
26
25
  image = fetch_image generator.generate_settings.docker_image unless generator.generate_settings.docker_image == nil
@@ -10,7 +10,7 @@ module Minke
10
10
  end
11
11
 
12
12
  Dir.mkdir directory unless Dir.exist? to
13
- FileUtils.cp from, to
13
+ FileUtils.cp_r from, to
14
14
  end
15
15
 
16
16
  ##
@@ -5,6 +5,7 @@ namespace :app do
5
5
  create_dependencies
6
6
 
7
7
  if @config.fetch != nil
8
+ puts 'run fetch'
8
9
  runner = Minke::Tasks::Fetch.new @config, :fetch, @generator_config, @docker_runner, @docker_compose_factory, @logger, @helper
9
10
  runner.run
10
11
  end
@@ -5,9 +5,13 @@ module Minke
5
5
  def run args = nil
6
6
  puts "## Build application"
7
7
  run_with_block do
8
- @generator_settings.build_settings.build_commands.build.each do |command|
9
- puts command.to_s
10
- run_command_in_container command
8
+ if @generator_settings.build_settings.build_commands.build != nil
9
+
10
+ @generator_settings.build_settings.build_commands.build.each do |command|
11
+ puts command.to_s
12
+ run_command_in_container command
13
+ end
14
+
11
15
  end
12
16
  end
13
17
  end
data/lib/minke/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
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.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-20 00:00:00.000000000 Z
11
+ date: 2016-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler