github_heroku_deployer 0.0.5 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +1 -1
- data/README.md +19 -3
- data/lib/github_heroku_deployer/heroku.rb +4 -0
- data/lib/github_heroku_deployer/version.rb +1 -1
- data/lib/github_heroku_deployer.rb +6 -0
- metadata +4 -4
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# Github Heroku Deployer
|
2
2
|
|
3
|
-
Ruby gem to deploy Github repos to Heroku
|
3
|
+
Ruby gem to deploy public and private Github repos to Heroku
|
4
4
|
|
5
5
|
|
6
6
|
## Current Version
|
7
7
|
|
8
|
-
0.0
|
8
|
+
0.1.0
|
9
9
|
|
10
10
|
|
11
11
|
## Requirements
|
@@ -67,7 +67,7 @@ Deploy:
|
|
67
67
|
GithubHerokuDeployer.deploy
|
68
68
|
```
|
69
69
|
|
70
|
-
|
70
|
+
Override defaults:
|
71
71
|
|
72
72
|
```ruby
|
73
73
|
GithubHerokuDeployer.deploy(github_repo: github_repo)
|
@@ -77,6 +77,7 @@ TODO Override defaults:
|
|
77
77
|
## Authors
|
78
78
|
|
79
79
|
* Jessica Lynn Suttles / [@jlsuttles](https://github.com/jlsuttles)
|
80
|
+
* Bookis Smuin / [@bookis](https://github.com/bookis)
|
80
81
|
|
81
82
|
|
82
83
|
## Contributing
|
@@ -93,6 +94,21 @@ If you find bugs, have feature requests or questions, please
|
|
93
94
|
[file an issue](https://github.com/G5/github_heroku_deployer/issues).
|
94
95
|
|
95
96
|
|
97
|
+
## Specs
|
98
|
+
|
99
|
+
Export environment variables
|
100
|
+
```bash
|
101
|
+
export GITHUB_REPO=git@github.com:G5/static-sinatra-prototype.git
|
102
|
+
export HEROKU_API_KEY=heroku_api_key
|
103
|
+
export HEROKU_APP_NAME=static-sinatra-prototype
|
104
|
+
export HEROKU_REPO=git@heroku.com:static-sinatra-prototype.git
|
105
|
+
export HEROKU_USERNAME=heroku_username
|
106
|
+
export ID_RSA=id_rsa
|
107
|
+
export PRIVATE_GITHUB_REPO=git@github.com:g5search/g5-client-location.git
|
108
|
+
export PUBLIC_GITHUB_REPO=git@github.com:G5/static-sinatra-prototype.git
|
109
|
+
```
|
110
|
+
|
111
|
+
|
96
112
|
## License
|
97
113
|
|
98
114
|
Copyright (c) 2012 G5
|
@@ -50,6 +50,12 @@ module GithubHerokuDeployer
|
|
50
50
|
Heroku.new(options).run(command)
|
51
51
|
end
|
52
52
|
|
53
|
+
def heroku_config_set(values, options={})
|
54
|
+
options = configuration.merge(options)
|
55
|
+
validate_options(options)
|
56
|
+
Heroku.new(options).config_set(values)
|
57
|
+
end
|
58
|
+
|
53
59
|
def validate_options(options)
|
54
60
|
configuration.validate_presence(options)
|
55
61
|
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.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: heroku-api
|
@@ -162,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
162
|
version: '0'
|
163
163
|
segments:
|
164
164
|
- 0
|
165
|
-
hash:
|
165
|
+
hash: 2442779602042036265
|
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:
|
174
|
+
hash: 2442779602042036265
|
175
175
|
requirements: []
|
176
176
|
rubyforge_project:
|
177
177
|
rubygems_version: 1.8.24
|