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 +4 -4
- data/README.md +2 -2
- data/lib/planet.rb +1 -0
- data/lib/planet/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f106b2b139596fb244ffbcb99d6d07e8ca366db
|
|
4
|
+
data.tar.gz: 190faaf05764373a2d26af0864d2689dbcd3ce5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-

|
|
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
|
```
|
data/lib/planet.rb
CHANGED
|
@@ -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
|
data/lib/planet/version.rb
CHANGED