cfoundry 0.7.0.rc2 → 0.7.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ require "cfoundry/v2/client"
22
22
  module CFoundry
23
23
  class Client < BaseClient
24
24
  def self.new(*args)
25
- CFoundry::V2::Client.new(*args)
25
+ CFoundry::V2::Client.new(*args).tap { |client| client.info }
26
26
  end
27
27
  end
28
28
  end
@@ -1,4 +1,4 @@
1
1
  module CFoundry # :nodoc:
2
2
  # CFoundry library version number.
3
- VERSION = "0.7.0.rc2".freeze
3
+ VERSION = "0.7.0.rc3".freeze
4
4
  end
@@ -1,6 +1,10 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe CFoundry::Client do
4
+ before do
5
+ any_instance_of(CFoundry::V2::Client) { |cli| stub(cli).info }
6
+ end
7
+
4
8
  subject { CFoundry::Client.new('http://example.com') }
5
9
 
6
10
  it "returns a v2 client" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfoundry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.rc2
4
+ version: 0.7.0.rc3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -337,7 +337,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
337
337
  version: '0'
338
338
  segments:
339
339
  - 0
340
- hash: 3280849320223696461
340
+ hash: 511819230791673008
341
341
  required_rubygems_version: !ruby/object:Gem::Requirement
342
342
  none: false
343
343
  requirements: