zenslap 0.1.7 → 0.1.8
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/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