github_heroku_deployer 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -5,7 +5,7 @@ Ruby gem to deploy public and private Github repos to Heroku
5
5
 
6
6
  ## Current Version
7
7
 
8
- 0.1.6
8
+ 0.1.7
9
9
 
10
10
 
11
11
  ## Requirements
@@ -41,21 +41,21 @@ module GithubHerokuDeployer
41
41
  def run(command)
42
42
  heroku.post_ps(@heroku_app_name, command)
43
43
  end
44
-
44
+
45
45
  def config_set(config_vars)
46
46
  heroku.put_config_vars(@heroku_app_name, config_vars)
47
47
  end
48
48
 
49
- # def add_deployhooks_http(url)
50
- # add_addon("deployhooks:http", url: url)
51
- # end
49
+ def add_addon(addon, options={})
50
+ heroku.post_addon(@heroku_app_name, addon, options)
51
+ end
52
52
 
53
- # def add_addon(addon, options={})
54
- # heroku.post_addon(@heroku_app_name, addon, options)
55
- # end
53
+ def remove_addon(addon)
54
+ heroku.delete_addon(@heroku_app_name, addon)
55
+ end
56
56
 
57
- # def delete_addon(addon)
58
- # heroku.delete_addon(@heroku_app_name, addon)
57
+ # def add_deployhooks_http(url)
58
+ # add_addon("deployhooks:http", url: url)
59
59
  # end
60
60
  end
61
61
  end
@@ -1,3 +1,3 @@
1
1
  module GithubHerokuDeployer
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_heroku_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -162,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  segments:
164
164
  - 0
165
- hash: -3326048604175364288
165
+ hash: 199042386171077632
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  none: false
168
168
  requirements:
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  segments:
173
173
  - 0
174
- hash: -3326048604175364288
174
+ hash: 199042386171077632
175
175
  requirements: []
176
176
  rubyforge_project:
177
177
  rubygems_version: 1.8.24