ggake 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ggake/heroku.rb +9 -3
- data/lib/ggake/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: db02d8a4627d420488456494dc5550b8c48b1f16
|
4
|
+
data.tar.gz: 07c60daea38d74ee92b3f29b5cb6fe7b8cd03100
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc30b507a84806db1c937a0236646d8d175d9850b55633da1fb933ac24da82e8728e1c7ae0775965d7010c15307ad2b2631f278b768d69d0ec6c41327ca206e0
|
7
|
+
data.tar.gz: d2bb694eea2737e2e3c0bc3e25c2e9cb2b3f3c1a01fac2a32451d7a2ece232adc01cf6f7b67eeca9a198b3746fc66b025e4aa9d1cdf4fbb8e169a613471d59f4
|
data/lib/ggake/heroku.rb
CHANGED
@@ -33,12 +33,18 @@ class HerokuApp
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def package(artefact)
|
36
|
-
|
37
|
-
|
38
|
-
|
36
|
+
"package/#{@name}".tap do |pkg_dir|
|
37
|
+
mkdir_p pkg_dir
|
38
|
+
cp "heroku/Procfile.#{@name}", "#{pkg_dir}/Procfile"
|
39
|
+
cp artefact, pkg_dir
|
40
|
+
end
|
39
41
|
end
|
40
42
|
|
41
43
|
def push
|
42
44
|
heroku "push package/#{@name} --app #{@heroku_name}"
|
43
45
|
end
|
46
|
+
|
47
|
+
def config(var)
|
48
|
+
heroku_config_get(var, @heroku_name)
|
49
|
+
end
|
44
50
|
end
|
data/lib/ggake/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ggake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Giles Alexander
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|