zenslap 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/zenslap/client.rb +2 -1
  2. data/zenslap.gemspec +1 -1
  3. metadata +3 -3
@@ -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://zenslap.me/projects",
8
+ RestClient.post("http://#{ZENSLAP_HOST}/projects",
8
9
  {
9
10
  :project => github_credentials.merge({
10
11
  :owner => repo_owner,
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{zenslap}
8
- s.version = "0.1.7"
8
+ s.version = "0.1.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["opsb"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zenslap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - opsb