hanzo 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -9
- data/lib/hanzo/heroku.rb +1 -1
- data/lib/hanzo/version.rb +1 -1
- data/lib/hanzo.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: aa7493b5279e5a136b1f204ec813e3892785c23f
|
4
|
+
data.tar.gz: 7e7f98199989d0dc95034329e9e0ce693fa67c7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24fbce60605372cd4dddc98892f71765296542044206bb78925d9e986ef534ae5b994fba83bb99a68efc4078992e4826478f17af071b05fb053bbfa9f5d62340
|
7
|
+
data.tar.gz: 75f91cb45c674cf78e0830e7c8bc569856c050dff3029645701732dfec669996c796ec9689183514a85a7420adc2bbdb574a371608946c2e22e5c489533065ab
|
data/README.md
CHANGED
@@ -40,13 +40,21 @@ production: heroku-app-name-production
|
|
40
40
|
Adding production
|
41
41
|
```
|
42
42
|
|
43
|
+
### Deploy a branch or a tag
|
44
|
+
|
45
|
+
```bash
|
46
|
+
> bundle exec hanzo deploy qa
|
47
|
+
|
48
|
+
-----> Branch to deploy: |HEAD|
|
49
|
+
```
|
50
|
+
|
43
51
|
### Install labs
|
44
52
|
|
45
53
|
Once all your environments are activated, you might want to enable some
|
46
54
|
Heroku labs feature for all your environments.
|
47
55
|
|
48
56
|
```bash
|
49
|
-
>
|
57
|
+
> bundle exec hanzo install labs
|
50
58
|
|
51
59
|
-----> Activating Heroku Labs
|
52
60
|
Add preboot? yes
|
@@ -59,14 +67,6 @@ Heroku labs feature for all your environments.
|
|
59
67
|
- Enabled for production
|
60
68
|
```
|
61
69
|
|
62
|
-
### Deploy a branch or a tag
|
63
|
-
|
64
|
-
```bash
|
65
|
-
> bundle exec hanzo deploy qa
|
66
|
-
|
67
|
-
-----> Branch to deploy: |HEAD|
|
68
|
-
```
|
69
|
-
|
70
70
|
## License
|
71
71
|
|
72
72
|
`Hanzo` is © 2013 [Mirego](http://www.mirego.com) and may be freely distributed under the [New BSD license](http://opensource.org/licenses/BSD-3-Clause). See the [`LICENSE.md`](https://github.com/mirego/hanzo/blob/master/LICENSE.md) file.
|
data/lib/hanzo/heroku.rb
CHANGED
@@ -3,7 +3,7 @@ module Hanzo
|
|
3
3
|
class << self
|
4
4
|
|
5
5
|
def available_labs
|
6
|
-
|
6
|
+
Hanzo.run("heroku labs").each_line.to_a.inject([]) do |memo, line|
|
7
7
|
if line = /^\[\s\]\s+(?<name>\w+)\s+(?<description>.+)$/.match(line)
|
8
8
|
memo << [line[:name], line[:description]]
|
9
9
|
else
|
data/lib/hanzo/version.rb
CHANGED
data/lib/hanzo.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanzo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Garneau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|