cloulu 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ module CFoundry::V1
12
12
  # Create a new Client for interfacing with the given target.
13
13
  #
14
14
  # A token may also be provided to skip the login step.
15
- def initialize(target = "http://api.cloudfoundry.com", token = nil)
15
+ def initialize(target = "https://api.cloulu.com", token = nil)
16
16
  @base = Base.new(target, token)
17
17
  end
18
18
 
@@ -129,7 +129,7 @@ class TokenIssuer
129
129
  # @return [TokenInfo]
130
130
  def implicit_grant_with_creds(credentials, scope = nil)
131
131
  # this manufactured redirect_uri is a convention here, not part of OAuth2
132
- redir_uri = "https://uaa.cloudfoundry.com/redirect/#{@client_id}"
132
+ redir_uri = "https://uaa.cloulu.com/redirect/#{@client_id}"
133
133
  uri = authorize_path_args("token", redir_uri, scope, state = random_state)
134
134
 
135
135
  # the accept header is only here so the uaa will issue error replies in json to aid debugging
data/lib/vmc/cli.rb CHANGED
@@ -1,3 +1,5 @@
1
+ $:.unshift(File.expand_path("../..", __FILE__)) # for internal lib.
2
+
1
3
  require "yaml"
2
4
  require "socket"
3
5
  require "net/http"
data/lib/vmc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module VMC
2
- VERSION = "0.2.3".freeze
2
+ VERSION = "0.2.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloulu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: