vcloud-net_launcher 1.0.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +0 -1
- data/CHANGELOG.md +7 -0
- data/jenkins.sh +2 -0
- data/jenkins_tests.sh +2 -0
- data/lib/vcloud/net_launcher/schema/net_launch.rb +4 -0
- data/lib/vcloud/net_launcher/version.rb +1 -1
- data/rbenv_version.sh +1 -0
- data/spec/vcloud/net_launcher/net_launch_schema_spec.rb +15 -0
- data/vcloud-net_launcher.gemspec +1 -1
- metadata +60 -40
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a460a417176f2d135c093c59de11e31054d8bd6c
|
4
|
+
data.tar.gz: d9c88366f56f06a1e25ddaefe4908239624122a5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7ae6304584262e1f5921e5250b4c337747d6b5e83244550436c354ad34aac46d2ea10387ff7a896501828af7fb10e41d23f7b050d26c2db37a06f4fa437ff54b
|
7
|
+
data.tar.gz: b9bbfa1b14d1e0ee7f4bd3c6b1ef9c96f2609799e266afc290e958352eacf435f5f14a63877d439ff7f3962e0ec532c0985c1f56fd03c93a76514eca16ea5290
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 2.0.0 (2015-10-20)
|
2
|
+
|
3
|
+
- Remove support for Ruby 1.9.3, which is now end-of-life.
|
4
|
+
- Allow anchors to be created under a dedicated key
|
5
|
+
- Relax dependency on vCloud Core to make it easier to install alongside
|
6
|
+
other vCloud gems.
|
7
|
+
|
1
8
|
## 1.0.1 (2015-07-22)
|
2
9
|
|
3
10
|
- Bump vCloud Core to 1.1.0 to allow releasing `vcloud-tools`.
|
data/jenkins.sh
CHANGED
data/jenkins_tests.sh
CHANGED
data/rbenv_version.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export RBENV_VERSION="2.0.0"
|
@@ -48,6 +48,21 @@ describe Vcloud::NetLauncher do
|
|
48
48
|
expect(validator.errors).to eq(["base: parameter 'no_networks_here' is invalid", "base: missing 'org_vdc_networks' parameter"])
|
49
49
|
end
|
50
50
|
|
51
|
+
it "allows anchors" do
|
52
|
+
test_config = {
|
53
|
+
:anchors => {
|
54
|
+
foo: :bar,
|
55
|
+
},
|
56
|
+
:org_vdc_networks => [
|
57
|
+
:name => "Valid network",
|
58
|
+
:vdc_name => "Some vDC",
|
59
|
+
]
|
60
|
+
}
|
61
|
+
validator = Vcloud::Core::ConfigValidator.validate(:base, test_config, Vcloud::NetLauncher::Schema::NET_LAUNCH)
|
62
|
+
expect(validator.valid?).to be_true
|
63
|
+
expect(validator.errors).to be_empty
|
64
|
+
end
|
65
|
+
|
51
66
|
it "allows multiple IP ranges" do
|
52
67
|
test_config = {
|
53
68
|
:org_vdc_networks => [
|
data/vcloud-net_launcher.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
|
23
23
|
s.required_ruby_version = '>= 1.9.3'
|
24
24
|
|
25
|
-
s.add_runtime_dependency 'vcloud-core', '~> 1.1
|
25
|
+
s.add_runtime_dependency 'vcloud-core', '~> 1.1'
|
26
26
|
s.add_development_dependency 'gem_publisher', '1.2.0'
|
27
27
|
s.add_development_dependency 'pry'
|
28
28
|
s.add_development_dependency 'rake'
|
metadata
CHANGED
@@ -1,104 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcloud-net_launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Anna Shipman
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2015-
|
11
|
+
date: 2015-10-20 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: vcloud-core
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.1
|
19
|
+
version: '1.1'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.1'
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: gem_publisher
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- - =
|
31
|
+
- - '='
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: 1.2.0
|
33
34
|
type: :development
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.2.0
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: pry
|
38
|
-
requirement:
|
39
|
-
none: false
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
40
44
|
requirements:
|
41
|
-
- -
|
45
|
+
- - '>='
|
42
46
|
- !ruby/object:Gem::Version
|
43
47
|
version: '0'
|
44
48
|
type: :development
|
45
49
|
prerelease: false
|
46
|
-
version_requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
47
55
|
- !ruby/object:Gem::Dependency
|
48
56
|
name: rake
|
49
|
-
requirement:
|
50
|
-
none: false
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '0'
|
55
62
|
type: :development
|
56
63
|
prerelease: false
|
57
|
-
version_requirements:
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: rspec
|
60
|
-
requirement:
|
61
|
-
none: false
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
62
72
|
requirements:
|
63
73
|
- - ~>
|
64
74
|
- !ruby/object:Gem::Version
|
65
75
|
version: 2.14.1
|
66
76
|
type: :development
|
67
77
|
prerelease: false
|
68
|
-
version_requirements:
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.14.1
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rubocop
|
71
|
-
requirement:
|
72
|
-
none: false
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
73
86
|
requirements:
|
74
87
|
- - ~>
|
75
88
|
- !ruby/object:Gem::Version
|
76
89
|
version: 0.23.0
|
77
90
|
type: :development
|
78
91
|
prerelease: false
|
79
|
-
version_requirements:
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.23.0
|
80
97
|
- !ruby/object:Gem::Dependency
|
81
98
|
name: simplecov
|
82
|
-
requirement:
|
83
|
-
none: false
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
84
100
|
requirements:
|
85
101
|
- - ~>
|
86
102
|
- !ruby/object:Gem::Version
|
87
103
|
version: 0.7.1
|
88
104
|
type: :development
|
89
105
|
prerelease: false
|
90
|
-
version_requirements:
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.7.1
|
91
111
|
- !ruby/object:Gem::Dependency
|
92
112
|
name: vcloud-tools-tester
|
93
|
-
requirement:
|
94
|
-
none: false
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
95
114
|
requirements:
|
96
115
|
- - ~>
|
97
116
|
- !ruby/object:Gem::Version
|
98
117
|
version: 1.0.0
|
99
118
|
type: :development
|
100
119
|
prerelease: false
|
101
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.0.0
|
102
125
|
description: Tool to launch and configure vCloud networks. Uses vcloud-core.
|
103
126
|
email:
|
104
127
|
- anna.shipman@digital.cabinet-office.gov.uk
|
@@ -124,6 +147,7 @@ files:
|
|
124
147
|
- lib/vcloud/net_launcher/net_launch.rb
|
125
148
|
- lib/vcloud/net_launcher/schema/net_launch.rb
|
126
149
|
- lib/vcloud/net_launcher/version.rb
|
150
|
+
- rbenv_version.sh
|
127
151
|
- scripts/basic.erb
|
128
152
|
- spec/erb_helper.rb
|
129
153
|
- spec/integration/net_launcher/data/minimum_data_setup.yaml.erb
|
@@ -138,30 +162,26 @@ files:
|
|
138
162
|
homepage: http://github.com/gds-operations/vcloud-net_launcher
|
139
163
|
licenses:
|
140
164
|
- MIT
|
165
|
+
metadata: {}
|
141
166
|
post_install_message:
|
142
167
|
rdoc_options: []
|
143
168
|
require_paths:
|
144
169
|
- lib
|
145
170
|
required_ruby_version: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
171
|
requirements:
|
148
|
-
- -
|
172
|
+
- - '>='
|
149
173
|
- !ruby/object:Gem::Version
|
150
174
|
version: 1.9.3
|
151
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
|
-
none: false
|
153
176
|
requirements:
|
154
|
-
- -
|
177
|
+
- - '>='
|
155
178
|
- !ruby/object:Gem::Version
|
156
179
|
version: '0'
|
157
|
-
segments:
|
158
|
-
- 0
|
159
|
-
hash: -2216178892110969020
|
160
180
|
requirements: []
|
161
181
|
rubyforge_project:
|
162
|
-
rubygems_version: 1.
|
182
|
+
rubygems_version: 2.1.11
|
163
183
|
signing_key:
|
164
|
-
specification_version:
|
184
|
+
specification_version: 4
|
165
185
|
summary: Tool to launch and configure vCloud networks
|
166
186
|
test_files:
|
167
187
|
- spec/erb_helper.rb
|