heroku_hatchet 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/hatchet/app.rb +7 -1
- data/lib/hatchet/version.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: 4ee0b38854a5f1cb30cfc0d7e9fd24852f1e6b1b
|
4
|
+
data.tar.gz: e4590d04c6c89c2aa7c13aa43188876e626d74af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f91146008e35f431a642779c6cc4026f8e537dc7800262d561bf4d3750a6f955a0e78b16b5501c90a780f0a39716765bfefeba6e129628359609a207832c3073
|
7
|
+
data.tar.gz: 0ef2a05da46150f37a1cf93f33fa3b314f25073ec8d8b253324c58d7f7797444be3648090cd779e72e3185b615f0ed1d34c7ca2a311ef9137beeb1086e3d8ba0
|
data/CHANGELOG.md
CHANGED
data/lib/hatchet/app.rb
CHANGED
@@ -85,12 +85,18 @@ module Hatchet
|
|
85
85
|
heroku.delete_app(name)
|
86
86
|
end
|
87
87
|
|
88
|
+
def in_directory(directory = self.directory)
|
89
|
+
Dir.chdir(directory) do
|
90
|
+
yield directory
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
88
94
|
# creates a new app on heroku, "pushes" via anvil or git
|
89
95
|
# then yields to self so you can call self.run or
|
90
96
|
# self.deployed?
|
91
97
|
# Allow deploy failures on CI server by setting ENV['HATCHET_RETRIES']
|
92
98
|
def deploy(&block)
|
93
|
-
|
99
|
+
in_directory do
|
94
100
|
self.setup!
|
95
101
|
self.push_with_retry!
|
96
102
|
block.call(self, heroku, output) if block.present?
|
data/lib/hatchet/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_hatchet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Schneeman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: heroku-api
|