cfoundry 4.7.1.rc1 → 4.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cc_api_stub.rb +1 -0
- data/lib/cc_api_stub/app_usage_events.rb +11 -0
- data/lib/cfoundry/client.rb +1 -0
- data/lib/cfoundry/v2/app_usage_event.rb +14 -0
- data/lib/cfoundry/v2/model_magic.rb +2 -0
- data/lib/cfoundry/version.rb +1 -1
- data/spec/cc_api_stub/app_usage_events_spec.rb +12 -0
- data/spec/cfoundry/v2/app_usage_event_spec.rb +15 -0
- data/spec/cfoundry/v2/model_magic_spec.rb +7 -0
- data/spec/factories/app_usage_events_factory.rb +32 -0
- data/spec/fixtures/fake_cc_app_usage_events.json +152 -0
- metadata +49 -7
- checksums.yaml +0 -15
data/lib/cc_api_stub.rb
CHANGED
data/lib/cfoundry/client.rb
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
require "cfoundry/v2/model"
|
2
|
+
|
3
|
+
module CFoundry::V2
|
4
|
+
class AppUsageEvent < Model
|
5
|
+
attribute :state, :string
|
6
|
+
attribute :memory_in_mb_per_instance, :integer
|
7
|
+
attribute :instance_count, :integer
|
8
|
+
attribute :app_guid, :string
|
9
|
+
attribute :app_name, :string
|
10
|
+
attribute :space_guid, :string
|
11
|
+
attribute :space_name, :string
|
12
|
+
attribute :org_guid, :string
|
13
|
+
end
|
14
|
+
end
|
data/lib/cfoundry/version.rb
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'net/http'
|
3
|
+
require 'uri'
|
4
|
+
|
5
|
+
describe CcApiStub::AppUsageEvents do
|
6
|
+
describe ".succeed_to_load_many" do
|
7
|
+
let(:url) { "http://example.com/v2/app_usage_events" }
|
8
|
+
subject { CcApiStub::AppUsageEvents.succeed_to_load_many }
|
9
|
+
|
10
|
+
it_behaves_like "a stubbed get request"
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
module CFoundry
|
4
|
+
module V2
|
5
|
+
describe AppUsageEvent do
|
6
|
+
let(:app_usage_event) { build(:app_usage_event, state: 'STOPPED') }
|
7
|
+
|
8
|
+
describe "#state" do
|
9
|
+
it "returns the state" do
|
10
|
+
expect(app_usage_event.state).to eq('STOPPED')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -30,6 +30,13 @@ module CFoundry
|
|
30
30
|
expect(params[:q]).to eq("key>value1;key<value2")
|
31
31
|
end
|
32
32
|
end
|
33
|
+
|
34
|
+
describe "other arguments" do
|
35
|
+
it "appends them to the params as is" do
|
36
|
+
params = ModelMagic.params_from({other_argument: 'something'})
|
37
|
+
expect(params[:other_argument]).to eq('something')
|
38
|
+
end
|
39
|
+
end
|
33
40
|
end
|
34
41
|
end
|
35
42
|
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
factory :app_usage_event, :class => CFoundry::V2::AppUsageEvent do
|
3
|
+
sequence(:guid) { |n| "app-usage-event-guid-#{n}" }
|
4
|
+
created_at '2013-01-01T12:00:00+00:00'
|
5
|
+
state 'STARTED'
|
6
|
+
memory_in_mb_per_instance 512
|
7
|
+
instance_count 1
|
8
|
+
app_guid 'app-guid-1'
|
9
|
+
app_name 'app-name-1'
|
10
|
+
space_guid 'space-guid-1'
|
11
|
+
space_name 'space-name-1'
|
12
|
+
org_guid 'org-guid-1'
|
13
|
+
|
14
|
+
initialize_with do
|
15
|
+
new(guid, build(:client), {
|
16
|
+
metadata: {
|
17
|
+
created_at: created_at
|
18
|
+
},
|
19
|
+
entity: {
|
20
|
+
state: state,
|
21
|
+
memory_in_mb_per_instance: memory_in_mb_per_instance,
|
22
|
+
instance_count: instance_count,
|
23
|
+
app_guid: app_guid,
|
24
|
+
app_name: app_name,
|
25
|
+
space_guid: space_guid,
|
26
|
+
space_name: space_name,
|
27
|
+
org_guid: org_guid
|
28
|
+
}
|
29
|
+
})
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,152 @@
|
|
1
|
+
{
|
2
|
+
"total_results": 11,
|
3
|
+
"total_pages": 1,
|
4
|
+
"prev_url": null,
|
5
|
+
"next_url": null,
|
6
|
+
"resources": [
|
7
|
+
{
|
8
|
+
"metadata": {
|
9
|
+
"guid": "app_usage_event-1-1",
|
10
|
+
"created_at": "2012-11-01T12:00:00+00:00"
|
11
|
+
},
|
12
|
+
"entity": {
|
13
|
+
"state": "STARTED",
|
14
|
+
"memory_in_mb_per_instance": 1024,
|
15
|
+
"instance_count": 2,
|
16
|
+
"app_guid": "application-id-1",
|
17
|
+
"app_name": "application-name-1",
|
18
|
+
"space_guid": "space-id-1",
|
19
|
+
"space_name": "space-name-1",
|
20
|
+
"org_guid": "organization-id-1"
|
21
|
+
}
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"metadata": {
|
25
|
+
"guid": "app_usage_event-2-1",
|
26
|
+
"created_at": "2012-11-01T12:01:22+00:00"
|
27
|
+
},
|
28
|
+
"entity": {
|
29
|
+
"state": "STARTED",
|
30
|
+
"memory_in_mb_per_instance": 2048,
|
31
|
+
"instance_count": 1,
|
32
|
+
"app_guid": "application-id-2",
|
33
|
+
"app_name": "application-name-2",
|
34
|
+
"space_guid": "space-id-2",
|
35
|
+
"space_name": "space-name-2",
|
36
|
+
"org_guid": "organization-id-2"
|
37
|
+
}
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"metadata": {
|
41
|
+
"guid": "app_usage_event-1-2",
|
42
|
+
"created_at": "2012-11-01T12:04:00+00:00"
|
43
|
+
},
|
44
|
+
"entity": {
|
45
|
+
"state": "STOPPED",
|
46
|
+
"memory_in_mb_per_instance": 1024,
|
47
|
+
"instance_count": 2,
|
48
|
+
"app_guid": "application-id-1",
|
49
|
+
"app_name": "application-name-1",
|
50
|
+
"space_guid": "space-id-1",
|
51
|
+
"space_name": "space-name-1",
|
52
|
+
"org_guid": "organization-id-1"
|
53
|
+
}
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"metadata": {
|
57
|
+
"guid": "app_usage_event-1-3",
|
58
|
+
"created_at": "2012-11-01T12:05:00+00:00"
|
59
|
+
},
|
60
|
+
"entity": {
|
61
|
+
"state": "STARTED",
|
62
|
+
"memory_in_mb_per_instance": 1024,
|
63
|
+
"instance_count": 2,
|
64
|
+
"app_guid": "application-id-1",
|
65
|
+
"app_name": "application-name-1",
|
66
|
+
"space_guid": "space-id-1",
|
67
|
+
"space_name": "space-name-1",
|
68
|
+
"org_guid": "organization-id-1"
|
69
|
+
}
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"metadata": {
|
73
|
+
"guid": "app_usage_event-3-1",
|
74
|
+
"created_at": "2012-11-01T12:07:00+00:00"
|
75
|
+
},
|
76
|
+
"entity": {
|
77
|
+
"state": "STARTED",
|
78
|
+
"memory_in_mb_per_instance": 1024,
|
79
|
+
"instance_count": 2,
|
80
|
+
"app_guid": "application-id-3",
|
81
|
+
"app_name": "application-name-3",
|
82
|
+
"space_guid": "space-id-3",
|
83
|
+
"space_name": "space-name-3",
|
84
|
+
"org_guid": "organization-id-3"
|
85
|
+
}
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"metadata": {
|
89
|
+
"guid": "app_usage_event-3-2",
|
90
|
+
"created_at": "2012-11-01T12:06:50+00:00"
|
91
|
+
},
|
92
|
+
"entity": {
|
93
|
+
"state": "STOPPED",
|
94
|
+
"memory_in_mb_per_instance": 1024,
|
95
|
+
"instance_count": 2,
|
96
|
+
"app_guid": "application-id-3",
|
97
|
+
"app_name": "application-name-3",
|
98
|
+
"space_guid": "space-id-3",
|
99
|
+
"space_name": "space-name-3",
|
100
|
+
"org_guid": "organization-id-3"
|
101
|
+
}
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"metadata": {
|
105
|
+
"guid": "app_usage_event-2-2",
|
106
|
+
"created_at": "2012-11-01T12:11:00+00:00"
|
107
|
+
},
|
108
|
+
"entity": {
|
109
|
+
"state": "STOPPED",
|
110
|
+
"memory_in_mb_per_instance": 2048,
|
111
|
+
"instance_count": 2,
|
112
|
+
"app_guid": "application-id-2",
|
113
|
+
"app_name": "application-name-2",
|
114
|
+
"space_guid": "space-id-2",
|
115
|
+
"space_name": "space-name-2",
|
116
|
+
"org_guid": "organization-id-2"
|
117
|
+
}
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"metadata": {
|
121
|
+
"guid": "app_usage_event-2-3",
|
122
|
+
"created_at": "2012-11-01T12:11:40+00:00"
|
123
|
+
},
|
124
|
+
"entity": {
|
125
|
+
"state": "STARTED",
|
126
|
+
"memory_in_mb_per_instance": 1024,
|
127
|
+
"instance_count": 2,
|
128
|
+
"app_guid": "application-id-2",
|
129
|
+
"app_name": "application-name-2",
|
130
|
+
"space_guid": "space-id-2",
|
131
|
+
"space_name": "space-name-2",
|
132
|
+
"org_guid": "organization-id-2"
|
133
|
+
}
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"metadata": {
|
137
|
+
"guid": "app_usage_event-2-4",
|
138
|
+
"created_at": "2012-11-01T12:11:45+00:00"
|
139
|
+
},
|
140
|
+
"entity": {
|
141
|
+
"state": "STARTED",
|
142
|
+
"memory_in_mb_per_instance": 2048,
|
143
|
+
"instance_count": 1,
|
144
|
+
"app_guid": "application-id-2",
|
145
|
+
"app_name": "application-name-2",
|
146
|
+
"space_guid": "space-id-2",
|
147
|
+
"space_name": "space-name-2",
|
148
|
+
"org_guid": "organization-id-2"
|
149
|
+
}
|
150
|
+
}
|
151
|
+
]
|
152
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfoundry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.7.1
|
4
|
+
version: 4.7.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Cloud Foundry Team
|
@@ -9,11 +10,12 @@ authors:
|
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2013-12-
|
13
|
+
date: 2013-12-31 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: activemodel
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
20
|
- - <
|
19
21
|
- !ruby/object:Gem::Version
|
@@ -24,6 +26,7 @@ dependencies:
|
|
24
26
|
type: :runtime
|
25
27
|
prerelease: false
|
26
28
|
version_requirements: !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
27
30
|
requirements:
|
28
31
|
- - <
|
29
32
|
- !ruby/object:Gem::Version
|
@@ -34,6 +37,7 @@ dependencies:
|
|
34
37
|
- !ruby/object:Gem::Dependency
|
35
38
|
name: cf-uaa-lib
|
36
39
|
requirement: !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
37
41
|
requirements:
|
38
42
|
- - ~>
|
39
43
|
- !ruby/object:Gem::Version
|
@@ -41,6 +45,7 @@ dependencies:
|
|
41
45
|
type: :runtime
|
42
46
|
prerelease: false
|
43
47
|
version_requirements: !ruby/object:Gem::Requirement
|
48
|
+
none: false
|
44
49
|
requirements:
|
45
50
|
- - ~>
|
46
51
|
- !ruby/object:Gem::Version
|
@@ -48,6 +53,7 @@ dependencies:
|
|
48
53
|
- !ruby/object:Gem::Dependency
|
49
54
|
name: multi_json
|
50
55
|
requirement: !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
51
57
|
requirements:
|
52
58
|
- - ~>
|
53
59
|
- !ruby/object:Gem::Version
|
@@ -55,6 +61,7 @@ dependencies:
|
|
55
61
|
type: :runtime
|
56
62
|
prerelease: false
|
57
63
|
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
58
65
|
requirements:
|
59
66
|
- - ~>
|
60
67
|
- !ruby/object:Gem::Version
|
@@ -62,6 +69,7 @@ dependencies:
|
|
62
69
|
- !ruby/object:Gem::Dependency
|
63
70
|
name: multipart-post
|
64
71
|
requirement: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
65
73
|
requirements:
|
66
74
|
- - ~>
|
67
75
|
- !ruby/object:Gem::Version
|
@@ -69,6 +77,7 @@ dependencies:
|
|
69
77
|
type: :runtime
|
70
78
|
prerelease: false
|
71
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
none: false
|
72
81
|
requirements:
|
73
82
|
- - ~>
|
74
83
|
- !ruby/object:Gem::Version
|
@@ -76,6 +85,7 @@ dependencies:
|
|
76
85
|
- !ruby/object:Gem::Dependency
|
77
86
|
name: rubyzip
|
78
87
|
requirement: !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
79
89
|
requirements:
|
80
90
|
- - ~>
|
81
91
|
- !ruby/object:Gem::Version
|
@@ -83,6 +93,7 @@ dependencies:
|
|
83
93
|
type: :runtime
|
84
94
|
prerelease: false
|
85
95
|
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
86
97
|
requirements:
|
87
98
|
- - ~>
|
88
99
|
- !ruby/object:Gem::Version
|
@@ -90,6 +101,7 @@ dependencies:
|
|
90
101
|
- !ruby/object:Gem::Dependency
|
91
102
|
name: anchorman
|
92
103
|
requirement: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
93
105
|
requirements:
|
94
106
|
- - ! '>='
|
95
107
|
- !ruby/object:Gem::Version
|
@@ -97,6 +109,7 @@ dependencies:
|
|
97
109
|
type: :development
|
98
110
|
prerelease: false
|
99
111
|
version_requirements: !ruby/object:Gem::Requirement
|
112
|
+
none: false
|
100
113
|
requirements:
|
101
114
|
- - ! '>='
|
102
115
|
- !ruby/object:Gem::Version
|
@@ -104,6 +117,7 @@ dependencies:
|
|
104
117
|
- !ruby/object:Gem::Dependency
|
105
118
|
name: factory_girl
|
106
119
|
requirement: !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
107
121
|
requirements:
|
108
122
|
- - ! '>='
|
109
123
|
- !ruby/object:Gem::Version
|
@@ -111,6 +125,7 @@ dependencies:
|
|
111
125
|
type: :development
|
112
126
|
prerelease: false
|
113
127
|
version_requirements: !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
114
129
|
requirements:
|
115
130
|
- - ! '>='
|
116
131
|
- !ruby/object:Gem::Version
|
@@ -118,6 +133,7 @@ dependencies:
|
|
118
133
|
- !ruby/object:Gem::Dependency
|
119
134
|
name: gem-release
|
120
135
|
requirement: !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
121
137
|
requirements:
|
122
138
|
- - ! '>='
|
123
139
|
- !ruby/object:Gem::Version
|
@@ -125,6 +141,7 @@ dependencies:
|
|
125
141
|
type: :development
|
126
142
|
prerelease: false
|
127
143
|
version_requirements: !ruby/object:Gem::Requirement
|
144
|
+
none: false
|
128
145
|
requirements:
|
129
146
|
- - ! '>='
|
130
147
|
- !ruby/object:Gem::Version
|
@@ -132,6 +149,7 @@ dependencies:
|
|
132
149
|
- !ruby/object:Gem::Dependency
|
133
150
|
name: json_pure
|
134
151
|
requirement: !ruby/object:Gem::Requirement
|
152
|
+
none: false
|
135
153
|
requirements:
|
136
154
|
- - ~>
|
137
155
|
- !ruby/object:Gem::Version
|
@@ -139,6 +157,7 @@ dependencies:
|
|
139
157
|
type: :development
|
140
158
|
prerelease: false
|
141
159
|
version_requirements: !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
142
161
|
requirements:
|
143
162
|
- - ~>
|
144
163
|
- !ruby/object:Gem::Version
|
@@ -146,6 +165,7 @@ dependencies:
|
|
146
165
|
- !ruby/object:Gem::Dependency
|
147
166
|
name: rake
|
148
167
|
requirement: !ruby/object:Gem::Requirement
|
168
|
+
none: false
|
149
169
|
requirements:
|
150
170
|
- - ! '>='
|
151
171
|
- !ruby/object:Gem::Version
|
@@ -153,6 +173,7 @@ dependencies:
|
|
153
173
|
type: :development
|
154
174
|
prerelease: false
|
155
175
|
version_requirements: !ruby/object:Gem::Requirement
|
176
|
+
none: false
|
156
177
|
requirements:
|
157
178
|
- - ! '>='
|
158
179
|
- !ruby/object:Gem::Version
|
@@ -160,6 +181,7 @@ dependencies:
|
|
160
181
|
- !ruby/object:Gem::Dependency
|
161
182
|
name: rspec
|
162
183
|
requirement: !ruby/object:Gem::Requirement
|
184
|
+
none: false
|
163
185
|
requirements:
|
164
186
|
- - ~>
|
165
187
|
- !ruby/object:Gem::Version
|
@@ -167,6 +189,7 @@ dependencies:
|
|
167
189
|
type: :development
|
168
190
|
prerelease: false
|
169
191
|
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
none: false
|
170
193
|
requirements:
|
171
194
|
- - ~>
|
172
195
|
- !ruby/object:Gem::Version
|
@@ -174,6 +197,7 @@ dependencies:
|
|
174
197
|
- !ruby/object:Gem::Dependency
|
175
198
|
name: shoulda-matchers
|
176
199
|
requirement: !ruby/object:Gem::Requirement
|
200
|
+
none: false
|
177
201
|
requirements:
|
178
202
|
- - ~>
|
179
203
|
- !ruby/object:Gem::Version
|
@@ -181,6 +205,7 @@ dependencies:
|
|
181
205
|
type: :development
|
182
206
|
prerelease: false
|
183
207
|
version_requirements: !ruby/object:Gem::Requirement
|
208
|
+
none: false
|
184
209
|
requirements:
|
185
210
|
- - ~>
|
186
211
|
- !ruby/object:Gem::Version
|
@@ -188,6 +213,7 @@ dependencies:
|
|
188
213
|
- !ruby/object:Gem::Dependency
|
189
214
|
name: timecop
|
190
215
|
requirement: !ruby/object:Gem::Requirement
|
216
|
+
none: false
|
191
217
|
requirements:
|
192
218
|
- - ~>
|
193
219
|
- !ruby/object:Gem::Version
|
@@ -195,6 +221,7 @@ dependencies:
|
|
195
221
|
type: :development
|
196
222
|
prerelease: false
|
197
223
|
version_requirements: !ruby/object:Gem::Requirement
|
224
|
+
none: false
|
198
225
|
requirements:
|
199
226
|
- - ~>
|
200
227
|
- !ruby/object:Gem::Version
|
@@ -202,6 +229,7 @@ dependencies:
|
|
202
229
|
- !ruby/object:Gem::Dependency
|
203
230
|
name: webmock
|
204
231
|
requirement: !ruby/object:Gem::Requirement
|
232
|
+
none: false
|
205
233
|
requirements:
|
206
234
|
- - ~>
|
207
235
|
- !ruby/object:Gem::Version
|
@@ -209,6 +237,7 @@ dependencies:
|
|
209
237
|
type: :development
|
210
238
|
prerelease: false
|
211
239
|
version_requirements: !ruby/object:Gem::Requirement
|
240
|
+
none: false
|
212
241
|
requirements:
|
213
242
|
- - ~>
|
214
243
|
- !ruby/object:Gem::Version
|
@@ -216,6 +245,7 @@ dependencies:
|
|
216
245
|
- !ruby/object:Gem::Dependency
|
217
246
|
name: putsinator
|
218
247
|
requirement: !ruby/object:Gem::Requirement
|
248
|
+
none: false
|
219
249
|
requirements:
|
220
250
|
- - ! '>='
|
221
251
|
- !ruby/object:Gem::Version
|
@@ -223,6 +253,7 @@ dependencies:
|
|
223
253
|
type: :development
|
224
254
|
prerelease: false
|
225
255
|
version_requirements: !ruby/object:Gem::Requirement
|
256
|
+
none: false
|
226
257
|
requirements:
|
227
258
|
- - ! '>='
|
228
259
|
- !ruby/object:Gem::Version
|
@@ -236,6 +267,7 @@ extra_rdoc_files: []
|
|
236
267
|
files:
|
237
268
|
- LICENSE
|
238
269
|
- Rakefile
|
270
|
+
- lib/cc_api_stub/app_usage_events.rb
|
239
271
|
- lib/cc_api_stub/applications.rb
|
240
272
|
- lib/cc_api_stub/domains.rb
|
241
273
|
- lib/cc_api_stub/events.rb
|
@@ -268,6 +300,7 @@ files:
|
|
268
300
|
- lib/cfoundry/v2/app.rb
|
269
301
|
- lib/cfoundry/v2/app_event.rb
|
270
302
|
- lib/cfoundry/v2/app_instance.rb
|
303
|
+
- lib/cfoundry/v2/app_usage_event.rb
|
271
304
|
- lib/cfoundry/v2/base.rb
|
272
305
|
- lib/cfoundry/v2/client.rb
|
273
306
|
- lib/cfoundry/v2/domain.rb
|
@@ -304,6 +337,7 @@ files:
|
|
304
337
|
- vendor/errors/README.md
|
305
338
|
- vendor/errors/v1.yml
|
306
339
|
- vendor/errors/v2.yml
|
340
|
+
- spec/cc_api_stub/app_usage_events_spec.rb
|
307
341
|
- spec/cc_api_stub/applications_spec.rb
|
308
342
|
- spec/cc_api_stub/domains_spec.rb
|
309
343
|
- spec/cc_api_stub/events_spec.rb
|
@@ -330,6 +364,7 @@ files:
|
|
330
364
|
- spec/cfoundry/v2/app_event_spec.rb
|
331
365
|
- spec/cfoundry/v2/app_instance_spec.rb
|
332
366
|
- spec/cfoundry/v2/app_spec.rb
|
367
|
+
- spec/cfoundry/v2/app_usage_event_spec.rb
|
333
368
|
- spec/cfoundry/v2/base_spec.rb
|
334
369
|
- spec/cfoundry/v2/client_spec.rb
|
335
370
|
- spec/cfoundry/v2/domain_spec.rb
|
@@ -351,6 +386,7 @@ files:
|
|
351
386
|
- spec/cfoundry/v2/user_spec.rb
|
352
387
|
- spec/cfoundry/validator_spec.rb
|
353
388
|
- spec/factories/app_events_factory.rb
|
389
|
+
- spec/factories/app_usage_events_factory.rb
|
354
390
|
- spec/factories/apps_factory.rb
|
355
391
|
- spec/factories/clients_factory.rb
|
356
392
|
- spec/factories/domains_factory.rb
|
@@ -378,6 +414,7 @@ files:
|
|
378
414
|
- spec/fixtures/apps/with_nested_directories/foo/bar/baz/fizz
|
379
415
|
- spec/fixtures/apps/with_nested_directories/xyz
|
380
416
|
- spec/fixtures/empty_file
|
417
|
+
- spec/fixtures/fake_cc_app_usage_events.json
|
381
418
|
- spec/fixtures/fake_cc_application.json
|
382
419
|
- spec/fixtures/fake_cc_application_summary.json
|
383
420
|
- spec/fixtures/fake_cc_created_application.json
|
@@ -425,28 +462,30 @@ files:
|
|
425
462
|
homepage: http://github.com/cloudfoundry/cfoundry
|
426
463
|
licenses:
|
427
464
|
- Apache 2.0
|
428
|
-
metadata: {}
|
429
465
|
post_install_message:
|
430
466
|
rdoc_options: []
|
431
467
|
require_paths:
|
432
468
|
- lib
|
433
469
|
required_ruby_version: !ruby/object:Gem::Requirement
|
470
|
+
none: false
|
434
471
|
requirements:
|
435
472
|
- - ! '>='
|
436
473
|
- !ruby/object:Gem::Version
|
437
474
|
version: '0'
|
438
475
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
476
|
+
none: false
|
439
477
|
requirements:
|
440
|
-
- - ! '
|
478
|
+
- - ! '>='
|
441
479
|
- !ruby/object:Gem::Version
|
442
|
-
version:
|
480
|
+
version: '0'
|
443
481
|
requirements: []
|
444
482
|
rubyforge_project: cfoundry
|
445
|
-
rubygems_version:
|
483
|
+
rubygems_version: 1.8.23
|
446
484
|
signing_key:
|
447
|
-
specification_version:
|
485
|
+
specification_version: 3
|
448
486
|
summary: High-level library for working with the Cloud Foundry API.
|
449
487
|
test_files:
|
488
|
+
- spec/cc_api_stub/app_usage_events_spec.rb
|
450
489
|
- spec/cc_api_stub/applications_spec.rb
|
451
490
|
- spec/cc_api_stub/domains_spec.rb
|
452
491
|
- spec/cc_api_stub/events_spec.rb
|
@@ -473,6 +512,7 @@ test_files:
|
|
473
512
|
- spec/cfoundry/v2/app_event_spec.rb
|
474
513
|
- spec/cfoundry/v2/app_instance_spec.rb
|
475
514
|
- spec/cfoundry/v2/app_spec.rb
|
515
|
+
- spec/cfoundry/v2/app_usage_event_spec.rb
|
476
516
|
- spec/cfoundry/v2/base_spec.rb
|
477
517
|
- spec/cfoundry/v2/client_spec.rb
|
478
518
|
- spec/cfoundry/v2/domain_spec.rb
|
@@ -494,6 +534,7 @@ test_files:
|
|
494
534
|
- spec/cfoundry/v2/user_spec.rb
|
495
535
|
- spec/cfoundry/validator_spec.rb
|
496
536
|
- spec/factories/app_events_factory.rb
|
537
|
+
- spec/factories/app_usage_events_factory.rb
|
497
538
|
- spec/factories/apps_factory.rb
|
498
539
|
- spec/factories/clients_factory.rb
|
499
540
|
- spec/factories/domains_factory.rb
|
@@ -521,6 +562,7 @@ test_files:
|
|
521
562
|
- spec/fixtures/apps/with_nested_directories/foo/bar/baz/fizz
|
522
563
|
- spec/fixtures/apps/with_nested_directories/xyz
|
523
564
|
- spec/fixtures/empty_file
|
565
|
+
- spec/fixtures/fake_cc_app_usage_events.json
|
524
566
|
- spec/fixtures/fake_cc_application.json
|
525
567
|
- spec/fixtures/fake_cc_application_summary.json
|
526
568
|
- spec/fixtures/fake_cc_created_application.json
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
ZTVkYTM2ZmUzZmQ1ZWM0ZjkzNTVmNTkzYTIzOWJjYTNiNzQ1NThjZQ==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YjVjNWYzYzhmN2EwNWNiNzQzMTZhZGU3ODM4NmZlYjAxOWI1NTliMQ==
|
7
|
-
SHA512:
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NDgxMGQ0NmFiYTIyZjMxODc1MWQ4MDMxNTQyZWVlYzIzY2ZjZWQ0NWE1ZjE4
|
10
|
-
MjA2Yzg5ODAzN2YxZjY0YzNmMzQyY2RlZjI1ZTEwYWYzZTZiMzAyMmQ5MGIy
|
11
|
-
OTQ1OWY5ZGMxOTZkYTdhZjYxMTk3NTczODUxNjk5ZmJiYjhmNjQ=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MDM1OWQ2YjczODMzOWQzNGRjMTc1YjA1ODIyMWM1NjhhYmU2YzYwMjBhYWRk
|
14
|
-
NjU2MmQyYTQ1NGIxYThiNTk1NzhjZDNkOWFhMGJjYTYxNjg1YmQzNDU0NmU4
|
15
|
-
Yjk4NmJmMzYyNzQ4NzRiZWJmNzQwNzBlNDY0ZjFlN2VmZDA5MDk=
|