manifests-cf-plugin 0.7.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +5 -0
- data/lib/manifests-cf-plugin.rb +317 -0
- data/lib/manifests-cf-plugin/errors.rb +33 -0
- data/lib/manifests-cf-plugin/loader.rb +31 -0
- data/lib/manifests-cf-plugin/loader/builder.rb +37 -0
- data/lib/manifests-cf-plugin/loader/normalizer.rb +149 -0
- data/lib/manifests-cf-plugin/loader/resolver.rb +79 -0
- data/lib/manifests-cf-plugin/plugin.rb +145 -0
- data/lib/manifests-cf-plugin/version.rb +3 -0
- data/spec/manifests-cf-plugin/errors_spec.rb +29 -0
- data/spec/manifests-cf-plugin/loader/builder_spec.rb +84 -0
- data/spec/manifests-cf-plugin/loader/normalizer_spec.rb +176 -0
- data/spec/manifests-cf-plugin/plugin_spec.rb +365 -0
- data/spec/manifests-cf-plugin_spec.rb +321 -0
- data/spec/spec_helper.rb +17 -0
- metadata +173 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
SPEC_ROOT = File.dirname(__FILE__).freeze
|
2
|
+
|
3
|
+
require "rspec"
|
4
|
+
require "cf"
|
5
|
+
require "cfoundry"
|
6
|
+
require "webmock"
|
7
|
+
require "cfoundry/test_support"
|
8
|
+
require "cf/test_support"
|
9
|
+
require "fakefs/safe"
|
10
|
+
|
11
|
+
WebMock.disable_net_connect!
|
12
|
+
|
13
|
+
RSpec.configure do |c|
|
14
|
+
c.include Fake::FakeMethods
|
15
|
+
c.include InteractHelper
|
16
|
+
c.mock_with :rr
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,173 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: manifests-cf-plugin
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 639214861
|
5
|
+
prerelease: 6
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 7
|
9
|
+
- 0
|
10
|
+
- rc
|
11
|
+
- 1
|
12
|
+
version: 0.7.0.rc1
|
13
|
+
platform: ruby
|
14
|
+
authors:
|
15
|
+
- Alex Suraci
|
16
|
+
autorequire:
|
17
|
+
bindir: bin
|
18
|
+
cert_chain: []
|
19
|
+
|
20
|
+
date: 2013-03-18 00:00:00 Z
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: cfoundry
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 639214909
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
- 5
|
34
|
+
- 3
|
35
|
+
- rc
|
36
|
+
- 5
|
37
|
+
version: 0.5.3.rc5
|
38
|
+
- - <
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
hash: 7
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
- 6
|
44
|
+
version: "0.6"
|
45
|
+
type: :runtime
|
46
|
+
version_requirements: *id001
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake
|
49
|
+
prerelease: false
|
50
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
hash: 25
|
56
|
+
segments:
|
57
|
+
- 0
|
58
|
+
- 9
|
59
|
+
version: "0.9"
|
60
|
+
type: :development
|
61
|
+
version_requirements: *id002
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
hash: 21
|
71
|
+
segments:
|
72
|
+
- 2
|
73
|
+
- 11
|
74
|
+
version: "2.11"
|
75
|
+
type: :development
|
76
|
+
version_requirements: *id003
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: webmock
|
79
|
+
prerelease: false
|
80
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
hash: 29
|
86
|
+
segments:
|
87
|
+
- 1
|
88
|
+
- 9
|
89
|
+
version: "1.9"
|
90
|
+
type: :development
|
91
|
+
version_requirements: *id004
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: rr
|
94
|
+
prerelease: false
|
95
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ~>
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
hash: 15
|
101
|
+
segments:
|
102
|
+
- 1
|
103
|
+
- 0
|
104
|
+
version: "1.0"
|
105
|
+
type: :development
|
106
|
+
version_requirements: *id005
|
107
|
+
description:
|
108
|
+
email:
|
109
|
+
- asuraci@vmware.com
|
110
|
+
executables: []
|
111
|
+
|
112
|
+
extensions: []
|
113
|
+
|
114
|
+
extra_rdoc_files: []
|
115
|
+
|
116
|
+
files:
|
117
|
+
- Rakefile
|
118
|
+
- lib/manifests-cf-plugin/errors.rb
|
119
|
+
- lib/manifests-cf-plugin/loader/builder.rb
|
120
|
+
- lib/manifests-cf-plugin/loader/normalizer.rb
|
121
|
+
- lib/manifests-cf-plugin/loader/resolver.rb
|
122
|
+
- lib/manifests-cf-plugin/loader.rb
|
123
|
+
- lib/manifests-cf-plugin/plugin.rb
|
124
|
+
- lib/manifests-cf-plugin/version.rb
|
125
|
+
- lib/manifests-cf-plugin.rb
|
126
|
+
- spec/manifests-cf-plugin/errors_spec.rb
|
127
|
+
- spec/manifests-cf-plugin/loader/builder_spec.rb
|
128
|
+
- spec/manifests-cf-plugin/loader/normalizer_spec.rb
|
129
|
+
- spec/manifests-cf-plugin/plugin_spec.rb
|
130
|
+
- spec/manifests-cf-plugin_spec.rb
|
131
|
+
- spec/spec_helper.rb
|
132
|
+
homepage: http://cloudfoundry.com/
|
133
|
+
licenses: []
|
134
|
+
|
135
|
+
post_install_message:
|
136
|
+
rdoc_options: []
|
137
|
+
|
138
|
+
require_paths:
|
139
|
+
- lib
|
140
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
hash: 3
|
146
|
+
segments:
|
147
|
+
- 0
|
148
|
+
version: "0"
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
none: false
|
151
|
+
requirements:
|
152
|
+
- - ">"
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
hash: 25
|
155
|
+
segments:
|
156
|
+
- 1
|
157
|
+
- 3
|
158
|
+
- 1
|
159
|
+
version: 1.3.1
|
160
|
+
requirements: []
|
161
|
+
|
162
|
+
rubyforge_project: manifests-cf-plugin
|
163
|
+
rubygems_version: 1.8.24
|
164
|
+
signing_key:
|
165
|
+
specification_version: 3
|
166
|
+
summary: Cloud Foundry automation via manifest documents.
|
167
|
+
test_files:
|
168
|
+
- spec/manifests-cf-plugin/errors_spec.rb
|
169
|
+
- spec/manifests-cf-plugin/loader/builder_spec.rb
|
170
|
+
- spec/manifests-cf-plugin/loader/normalizer_spec.rb
|
171
|
+
- spec/manifests-cf-plugin/plugin_spec.rb
|
172
|
+
- spec/manifests-cf-plugin_spec.rb
|
173
|
+
- spec/spec_helper.rb
|