planet-express 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee6f8996b57476df49f605f2248ae35722f5c983
4
- data.tar.gz: 96a7b590980f608746e6c8fe084aa2671a94398c
3
+ metadata.gz: 2f106b2b139596fb244ffbcb99d6d07e8ca366db
4
+ data.tar.gz: 190faaf05764373a2d26af0864d2689dbcd3ce5c
5
5
  SHA512:
6
- metadata.gz: a6eaaf9599d71cad4b000dd31a20ab30057d4e80ec313122f126d9d850bb1de5dad68461f87c58233dcbe32eaf04c7fb01ab81a9aecb2831fcac8577a5134684
7
- data.tar.gz: 4c019c2f61769abc59ece3a61c63d9ed3b85a6bc9b487748744a688bd72a1b929c447a71ccdedeb41ac10cb77a7a8e019311d41b1f448fa272fdbca9913297ce
6
+ metadata.gz: 82788e570c53820ebc8982346ce39d787627288be3b6e1fb2563a0326b8c7ddd03009818382ad9acc75a10e642c47388c69a48a4a931f3dfb2a0017ea6adbbf4
7
+ data.tar.gz: 125b27ca101a661e54a33178f39d7223fa75824bd55b69656c27923ae3275a8d25f64afe1b7aacb841621100354954d3d49d94c43b8079f85ef0538dfddade08
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Planet-Express
4
4
  ==============
5
5
 
6
- ![image](https://img.shields.io/badge/version-0.1.4-brightgreen.svg)
6
+ ![image](https://img.shields.io/badge/version-0.1.5-brightgreen.svg)
7
7
 
8
8
  Planet Express is a command line utility written in **Ruby** to deploy code from git repositories.
9
9
 
@@ -21,7 +21,7 @@ Installation
21
21
  For now you can clone this repository and build the gem
22
22
 
23
23
  ```
24
- git clone git@github.com:yadomi/planet-express.git
24
+ git clone git@github.com:yadomi/planet-express.git && cd planet-express
25
25
  bundle install
26
26
  rake install
27
27
  ```
@@ -102,6 +102,7 @@ module Planet
102
102
  Net::SSH.start(uri.host, uri.user, :keys => [Planet.servers[target.to_sym].key] ) do |ssh|
103
103
  cmd = %{
104
104
  cd #{uri.path} && \
105
+ git reset HEAD --hard && \
105
106
  git checkout #{branch} && \
106
107
  git pull origin #{branch} && \
107
108
  cd #{uri.path} && sh ./deploy/after_deploy.sh
@@ -1,3 +1,3 @@
1
1
  module Version
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: planet-express
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Yadomi