gantree 0.5.0 → 0.5.0.1

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: e885b83834412d374c592d09e2ccb605318ca4ba
4
- data.tar.gz: 0be2e35ba2997c67e9730d40acf02d654b4a0e0f
3
+ metadata.gz: 270c14c364f82b0e1a12bc6c0ba8892001037959
4
+ data.tar.gz: 5889daf3bef216bdc488d4f04305b089bf16cdda
5
5
  SHA512:
6
- metadata.gz: 06fdbee2f644bb2f890402b4195a12a1677ee97da4e14827ef9cae93d5ba89352d7c91a70d33fed98b4a451e5644e33e89191ee4882c87f82b03daec6c2d76b5
7
- data.tar.gz: c36e0db768daf3a64ab4aa84bb2ec67afb6556bc98c0eda9a04754d43dffd22ad1caf2f6320b1204db4650d2d962b177e50ff5c81751b020c1634bca2a6051e6
6
+ metadata.gz: a07845770f4eb0fae0642f5629a61562c010ab49a0eb4602abdf154674c8e25823ce31e11aa44521b18ee99e9a04aa99c8953b57d0f648eda5c06bdf63914d2a
7
+ data.tar.gz: 121fec1d71a3929c9673cbe20b2a3b0052cc00e5c669155d130908446d491c491d268229dafb174b8b5eb0016df2c2d3f11a6bbeab41a8300f638facba64b06f
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Gantree
2
2
 
3
- [![Build Status](https://travis-ci.org/feelobot/gantree.svg?branch=master)](https://travis-ci.org/feelobot/gantree)
3
+ [![Circle CI](https://circleci.com/gh/feelobot/gantree/tree/master.svg?style=svg)](https://circleci.com/gh/feelobot/gantree/tree/master)
4
4
  [![Test Coverage](https://codeclimate.com/github/feelobot/gantree/badges/coverage.svg)](https://codeclimate.com/github/feelobot/gantree)
5
5
  [![Code Climate](https://codeclimate.com/github/feelobot/gantree/badges/gpa.svg)](https://codeclimate.com/github/feelobot/gantree)
6
6
  [![Gem Version](https://badge.fury.io/rb/gantree.svg)](http://badge.fury.io/rb/gantree)
@@ -14,27 +14,23 @@ module Gantree
14
14
 
15
15
  def build
16
16
  puts "Building..."
17
- build_status = system("docker build -t #{@image_path}:#{@tag} .")
18
- if build_status.success?
17
+ if system("docker build -t #{@image_path}:#{@tag} .")
19
18
  puts "Image Built: #{@image_path}:#{@tag}".green
20
19
  puts "gantree push --image-path #{@image_path} -t #{@tag}" unless @options[:hush]
21
20
  puts "gantree deploy app_name -t #{@tag}" unless @options[:hush]
22
21
  else
23
22
  puts "Error: Image was not built successfully".red
24
- puts "#{output}"
25
23
  exit 1
26
24
  end
27
25
  end
28
26
 
29
27
  def push
30
28
  puts "Pushing to #{@image_path}:#{@tag} ..."
31
- push_status = "docker push #{@image_path}:#{@tag}"
32
- if push_status.success?
29
+ if system("docker push #{@image_path}:#{@tag}")
33
30
  puts "Image Pushed: #{@image_path}:#{@tag}".green
34
31
  puts "gantree deploy app_name -t #{@tag}" unless @options[:hush]
35
32
  else
36
33
  puts "Error: Image was not pushed successfully".red
37
- puts "#{output}"
38
34
  exit 1
39
35
  end
40
36
  end
@@ -1,3 +1,3 @@
1
1
  module Gantree
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gantree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-19 00:00:00.000000000 Z
11
+ date: 2015-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor