pivotal 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pivotal/client.rb +1 -1
- data/lib/pivotal/version.rb +1 -1
- metadata +1 -1
data/lib/pivotal/client.rb
CHANGED
@@ -22,7 +22,7 @@ class Pivotal::Client < Cistern::Service
|
|
22
22
|
class Real
|
23
23
|
|
24
24
|
def initialize(options={})
|
25
|
-
@token = options[:token] || File.read(File.expand_path("~/.pivotal"))
|
25
|
+
@token = options[:token] || File.read(File.expand_path("~/.pivotal")).strip
|
26
26
|
@url = options[:url] || "https://www.pivotaltracker.com/services/v3/"
|
27
27
|
|
28
28
|
raise "Missing token" unless @token
|
data/lib/pivotal/version.rb
CHANGED