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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 245474a7744115acb7e5bdd76b43eb4d089c8b33
4
- data.tar.gz: 5301e6c86b04e2e38cf4141535ee319343d51dfe
3
+ metadata.gz: db02d8a4627d420488456494dc5550b8c48b1f16
4
+ data.tar.gz: 07c60daea38d74ee92b3f29b5cb6fe7b8cd03100
5
5
  SHA512:
6
- metadata.gz: 2903a147203bdf23c7b5e85c8155d993ab3179b11101386735f3d6b2420e2f34d20cc7c09909620bd3f0c21ed262dfd33c1ba162218679e08cce91f915fbbf3f
7
- data.tar.gz: e7eb5e085ef706b4bec0eb70d644aa7e4dbb493c27288afde41ad0a7ac39534efa5ff0b2153fd7dd24e347e4dc538ee27656827e3f86d40ec2f11ffd3f90d0f3
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
- mkdir_p "package/#{@name}"
37
- cp "heroku/Procfile.#{@name}", "package/#{@name}/Procfile"
38
- cp artefact, "package/#{@name}"
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
@@ -1,3 +1,3 @@
1
1
  module Ggake
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
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.5.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-03 00:00:00.000000000 Z
11
+ date: 2014-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake