cloudfoundry-client 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +8 -1
- data/README.md +2 -2
- data/cloudfoundry.gemspec +2 -0
- data/lib/cloudfoundry/version.rb +1 -1
- data/spec/client/resources_spec.rb +2 -1
- metadata +34 -12
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
CHANGELOG
|
2
2
|
=========
|
3
3
|
|
4
|
-
0.1.
|
4
|
+
0.1.1 - December 2, 2011
|
5
|
+
-------------------------
|
6
|
+
* [Fix documentation errors](http://github.com/frodenas/cloudfoundry-client/commit/e00f6b9ee876246a469fddf383e1a7a41000b2f8
|
7
|
+
* [Fix failed resources test](http://github.com/frodenas/cloudfoundry-client/commit/7d8efa99eb438f6845df0e4a77156a3536429b46
|
8
|
+
* [Add development dependency: activesupport](http://github.com/frodenas/cloudfoundry-client/commit/cd3ea22f2103f88d2abae838d49eefa9163a3c2b
|
9
|
+
* [Add development dependency: rake](http://github.com/frodenas/cloudfoundry-client/commit/a46c4515f79f4c552c358a0cd34f350c74849093
|
10
|
+
|
11
|
+
0.1.0 - December 1, 2011
|
5
12
|
-------------------------
|
6
13
|
* [Initial release](http://github.com/frodenas/cloudfoundry-client/commit/168c6412e554833cd760d7e4440a72b04eda3e05)
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ Usage Examples
|
|
24
24
|
|
25
25
|
### Connection and login:
|
26
26
|
|
27
|
-
require "cloudfoundry
|
27
|
+
require "cloudfoundry"
|
28
28
|
cf_client = CloudFoundry::Client.new({:target_url => "https://api.cloudfoundry.com"})
|
29
29
|
cf_client.login("user@vcap.me", "password")
|
30
30
|
|
@@ -89,7 +89,7 @@ Submitting an Issue
|
|
89
89
|
-------------------
|
90
90
|
We use the [GitHub issue tracker](http://github.com/frodenas/cloudfoundry-client/issues) to track bugs and features.
|
91
91
|
Before submitting a bug report or feature request, check to make sure it hasn't already been submitted. You can indicate
|
92
|
-
support for an existing
|
92
|
+
support for an existing issue by voting it up. When submitting a bug report, please include a
|
93
93
|
[Gist](http://gist.github.com/) that includes a stack trace and any details that may be necessary to reproduce the bug,
|
94
94
|
including your gem version, Ruby version, and operating system. Ideally, a bug report should include a pull request with
|
95
95
|
failing specs.
|
data/cloudfoundry.gemspec
CHANGED
@@ -13,6 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.description = %q{This is a Ruby wrapper for the CloudFoundry API, the industry’s first open Platform as a Service (PaaS) offering.}
|
14
14
|
s.licenses = ["MIT"]
|
15
15
|
|
16
|
+
s.add_development_dependency("rake", ">= 0.9.2.2")
|
17
|
+
s.add_development_dependency("activesupport", ">= 3.1.3")
|
16
18
|
s.add_development_dependency("rspec", ">= 2.7.0")
|
17
19
|
s.add_development_dependency("webmock", ">= 1.7.8")
|
18
20
|
s.add_development_dependency("vcr", ">= 2.0.0.beta2")
|
data/lib/cloudfoundry/version.rb
CHANGED
@@ -45,7 +45,8 @@ describe "Cloudfoundry::Client::Resources" do
|
|
45
45
|
:fn => filename
|
46
46
|
}
|
47
47
|
resources_manifest = @cf_client.check_resources(resources)
|
48
|
-
resources_manifest.should eql(resources)
|
48
|
+
resources_manifest[0][:size].should eql(resources[0][:size])
|
49
|
+
resources_manifest[0][:sha1].should eql(resources[0][:sha1])
|
49
50
|
end
|
50
51
|
end
|
51
52
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudfoundry-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,9 +11,31 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2011-12-02 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: &70183959992020 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.9.2.2
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70183959992020
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: activesupport
|
27
|
+
requirement: &70183959991320 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.1.3
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70183959991320
|
14
36
|
- !ruby/object:Gem::Dependency
|
15
37
|
name: rspec
|
16
|
-
requirement: &
|
38
|
+
requirement: &70183959990580 !ruby/object:Gem::Requirement
|
17
39
|
none: false
|
18
40
|
requirements:
|
19
41
|
- - ! '>='
|
@@ -21,10 +43,10 @@ dependencies:
|
|
21
43
|
version: 2.7.0
|
22
44
|
type: :development
|
23
45
|
prerelease: false
|
24
|
-
version_requirements: *
|
46
|
+
version_requirements: *70183959990580
|
25
47
|
- !ruby/object:Gem::Dependency
|
26
48
|
name: webmock
|
27
|
-
requirement: &
|
49
|
+
requirement: &70183959989860 !ruby/object:Gem::Requirement
|
28
50
|
none: false
|
29
51
|
requirements:
|
30
52
|
- - ! '>='
|
@@ -32,10 +54,10 @@ dependencies:
|
|
32
54
|
version: 1.7.8
|
33
55
|
type: :development
|
34
56
|
prerelease: false
|
35
|
-
version_requirements: *
|
57
|
+
version_requirements: *70183959989860
|
36
58
|
- !ruby/object:Gem::Dependency
|
37
59
|
name: vcr
|
38
|
-
requirement: &
|
60
|
+
requirement: &70183959989340 !ruby/object:Gem::Requirement
|
39
61
|
none: false
|
40
62
|
requirements:
|
41
63
|
- - ! '>='
|
@@ -43,10 +65,10 @@ dependencies:
|
|
43
65
|
version: 2.0.0.beta2
|
44
66
|
type: :development
|
45
67
|
prerelease: false
|
46
|
-
version_requirements: *
|
68
|
+
version_requirements: *70183959989340
|
47
69
|
- !ruby/object:Gem::Dependency
|
48
70
|
name: faraday
|
49
|
-
requirement: &
|
71
|
+
requirement: &70183959988720 !ruby/object:Gem::Requirement
|
50
72
|
none: false
|
51
73
|
requirements:
|
52
74
|
- - ! '>='
|
@@ -54,10 +76,10 @@ dependencies:
|
|
54
76
|
version: 0.7.5
|
55
77
|
type: :runtime
|
56
78
|
prerelease: false
|
57
|
-
version_requirements: *
|
79
|
+
version_requirements: *70183959988720
|
58
80
|
- !ruby/object:Gem::Dependency
|
59
81
|
name: json_pure
|
60
|
-
requirement: &
|
82
|
+
requirement: &70183959987800 !ruby/object:Gem::Requirement
|
61
83
|
none: false
|
62
84
|
requirements:
|
63
85
|
- - ! '>='
|
@@ -65,7 +87,7 @@ dependencies:
|
|
65
87
|
version: 1.6.2
|
66
88
|
type: :runtime
|
67
89
|
prerelease: false
|
68
|
-
version_requirements: *
|
90
|
+
version_requirements: *70183959987800
|
69
91
|
description: This is a Ruby wrapper for the CloudFoundry API, the industry’s first
|
70
92
|
open Platform as a Service (PaaS) offering.
|
71
93
|
email:
|
@@ -174,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
196
|
version: '0'
|
175
197
|
requirements: []
|
176
198
|
rubyforge_project:
|
177
|
-
rubygems_version: 1.8.
|
199
|
+
rubygems_version: 1.8.12
|
178
200
|
signing_key:
|
179
201
|
specification_version: 3
|
180
202
|
summary: A Ruby wrapper for the CloudFoundry API PaaS
|