zenslap 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zenslap/client.rb +2 -1
- data/zenslap.gemspec +1 -1
- metadata +3 -3
data/lib/zenslap/client.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
require 'rest-client'
|
2
2
|
|
3
3
|
class ZenslapClient
|
4
|
+
ZENSLAP_HOST = ENV['_ZENSLAP_CLIENT_HOST'] || "zenslap.me"
|
4
5
|
|
5
6
|
def self.configure(uuid, repo_owner, repo_name, github_credentials, heroku_app)
|
6
7
|
#TODO need to make https
|
7
|
-
RestClient.post("http
|
8
|
+
RestClient.post("http://#{ZENSLAP_HOST}/projects",
|
8
9
|
{
|
9
10
|
:project => github_credentials.merge({
|
10
11
|
:owner => repo_owner,
|
data/zenslap.gemspec
CHANGED
metadata
CHANGED