vcloud-walker 5.0.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -2
- data/CHANGELOG.md +7 -0
- data/CONTRIBUTING.md +2 -6
- data/Jenkinsfile +40 -0
- data/README.md +3 -0
- data/lib/vcloud/walker/version.rb +1 -1
- data/rbenv_version.sh +1 -1
- data/spec/spec_helper.rb +6 -4
- data/spec/stubs/service_layer_stub.rb +1 -1
- data/spec/stubs/stubs.rb +1 -1
- data/vcloud-walker.gemspec +9 -8
- metadata +55 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80043b0eaff7ce65c9e174f571392116246ca625
|
4
|
+
data.tar.gz: 7472423cb25cf96b5cd19bd8f2c70459152720a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 340d698bd43c5355549138e741aef409ccbbac6df955565604ab46b8470d8d5b269c1a34cc667140300c5e842347f0741b90fed83f13898765724d23c4f582ee
|
7
|
+
data.tar.gz: 6447a276561f35106fb04971ae0946af4e5e32d42d25bf7e3724ec04a15f83e520262edaff2c5646fb169d0151991beede9acfffb47e7a147c4b97ee2a52ab4e
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/CONTRIBUTING.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Contributing to vCloud Walker
|
2
2
|
|
3
|
-
We
|
3
|
+
We now consider vCloud Tools feature complete for our purposes. We'd be happy to consider pull requests for new features but please discuss them with us in the issues first so we can let you know if it's something we'd be likely to merge. We will continue to make maintenance and bug fixes.
|
4
4
|
|
5
5
|
## A quick guide on how to contribute
|
6
6
|
|
@@ -36,11 +36,7 @@ We really welcome contributions.
|
|
36
36
|
|
37
37
|
## How soon will we respond?
|
38
38
|
|
39
|
-
We will comment on your
|
40
|
-
|
41
|
-
We may come back to you with comments and suggestions, and if we would like you to make changes, we will close the pull request as well as adding details of the changes we'd like you to make.
|
42
|
-
|
43
|
-
If you feel your pull request has been outstanding too long, please feel free to bump it by making a comment on it.
|
39
|
+
We will comment on your issue as soon as we can. If you feel your issue is important, please feel free to bump it by making a comment on it or raise your issue on the [mailing list](https://groups.google.com/a/digital.cabinet-office.gov.uk/forum/#!forum/vcloud-tools).
|
44
40
|
|
45
41
|
## Guidelines for making a pull request
|
46
42
|
|
data/Jenkinsfile
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/usr/bin/env groovy
|
2
|
+
|
3
|
+
repoName = JOB_NAME.split('/')[0]
|
4
|
+
|
5
|
+
node {
|
6
|
+
def govuk = load '/var/lib/jenkins/groovy_scripts/govuk_jenkinslib.groovy'
|
7
|
+
|
8
|
+
try {
|
9
|
+
stage("Checkout") {
|
10
|
+
govuk.checkoutFromGitHubWithSSH(repoName)
|
11
|
+
}
|
12
|
+
|
13
|
+
stage("Clean up workspace") {
|
14
|
+
govuk.cleanupGit()
|
15
|
+
}
|
16
|
+
|
17
|
+
stage("bundle install") {
|
18
|
+
govuk.setEnvar("RBENV_VERSION", "2.2.2")
|
19
|
+
govuk.bundleGem()
|
20
|
+
}
|
21
|
+
|
22
|
+
stage("Run tests") {
|
23
|
+
govuk.runTests()
|
24
|
+
}
|
25
|
+
|
26
|
+
if (env.BRANCH_NAME == "master") {
|
27
|
+
stage("Publish gem") {
|
28
|
+
govuk.publishGem(repoName, env.BRANCH_NAME)
|
29
|
+
}
|
30
|
+
}
|
31
|
+
} catch (e) {
|
32
|
+
currentBuild.result = "FAILED"
|
33
|
+
step([$class: 'Mailer',
|
34
|
+
notifyEveryUnstableBuild: true,
|
35
|
+
recipients: 'govuk-ci-notifications@digital.cabinet-office.gov.uk',
|
36
|
+
sendToIndividuals: true])
|
37
|
+
throw e
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
data/README.md
CHANGED
@@ -86,3 +86,6 @@ Run the default suite of tests (e.g. lint, unit, features):
|
|
86
86
|
There are also integration tests. These are slower and require a real environment.
|
87
87
|
See the [vCloud Tools website](http://gds-operations.github.io/vcloud-tools/testing/) for details of how to set up and run the integration tests.
|
88
88
|
|
89
|
+
## Contributing
|
90
|
+
|
91
|
+
Please see [CONTRIBUTING.md](/CONTRIBUTING.md).
|
data/rbenv_version.sh
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export RBENV_VERSION="2.
|
1
|
+
export RBENV_VERSION="2.2.2"
|
data/spec/spec_helper.rb
CHANGED
@@ -9,11 +9,13 @@ if ENV['COVERAGE']
|
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
|
-
SimpleCov.
|
13
|
-
|
14
|
-
|
12
|
+
if SimpleCov.profiles[:gem].nil?
|
13
|
+
SimpleCov.profiles.define 'gem' do
|
14
|
+
add_filter '/spec/'
|
15
|
+
add_filter '/vendor/'
|
15
16
|
|
16
|
-
|
17
|
+
add_group 'Libraries', '/lib/'
|
18
|
+
end
|
17
19
|
end
|
18
20
|
|
19
21
|
SimpleCov.minimum_coverage(99)
|
data/spec/stubs/stubs.rb
CHANGED
data/vcloud-walker.gemspec
CHANGED
@@ -18,16 +18,17 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.required_ruby_version = '>=
|
21
|
+
s.required_ruby_version = '>= 2.2.2'
|
22
22
|
|
23
|
-
s.add_runtime_dependency 'fog', '>= 1.
|
23
|
+
s.add_runtime_dependency 'fog', '>= 1.40.0'
|
24
24
|
s.add_runtime_dependency 'json', '~> 1.8.0'
|
25
|
-
s.add_runtime_dependency '
|
25
|
+
s.add_runtime_dependency 'nokogiri', '~> 1.6.8.1'
|
26
|
+
s.add_runtime_dependency 'vcloud-core', '~> 2.1.0'
|
26
27
|
s.add_development_dependency 'gem_publisher', '1.2.0'
|
27
28
|
s.add_development_dependency 'json_spec', '~> 1.1.1'
|
28
|
-
s.add_development_dependency 'rake'
|
29
|
-
s.add_development_dependency 'rspec', '
|
30
|
-
s.add_development_dependency 'rspec-mocks', '
|
31
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
32
|
-
s.add_development_dependency 'simplecov', '~> 0.
|
29
|
+
s.add_development_dependency 'rake', '>= 12'
|
30
|
+
s.add_development_dependency 'rspec', '>= 3.6'
|
31
|
+
s.add_development_dependency 'rspec-mocks', '>= 3.6'
|
32
|
+
s.add_development_dependency 'rubocop', '~> 0.49.1'
|
33
|
+
s.add_development_dependency 'simplecov', '~> 0.14.1'
|
33
34
|
end
|
metadata
CHANGED
@@ -1,57 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcloud-walker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Government Digital Service
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.40.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.40.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 1.8.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.8.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nokogiri
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.6.8.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.6.8.1
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: vcloud-core
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- - ~>
|
59
|
+
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
61
|
+
version: 2.1.0
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - ~>
|
66
|
+
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
68
|
+
version: 2.1.0
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: gem_publisher
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,86 +84,86 @@ dependencies:
|
|
70
84
|
name: json_spec
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - ~>
|
87
|
+
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: 1.1.1
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - ~>
|
94
|
+
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: 1.1.1
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rake
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- -
|
101
|
+
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
103
|
+
version: '12'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- -
|
108
|
+
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
110
|
+
version: '12'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rspec
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - ">="
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
117
|
+
version: '3.6'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
|
-
- -
|
122
|
+
- - ">="
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
124
|
+
version: '3.6'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: rspec-mocks
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- -
|
129
|
+
- - ">="
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
131
|
+
version: '3.6'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- -
|
136
|
+
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
138
|
+
version: '3.6'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: rubocop
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
|
-
- - ~>
|
143
|
+
- - "~>"
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
145
|
+
version: 0.49.1
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
|
-
- - ~>
|
150
|
+
- - "~>"
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
152
|
+
version: 0.49.1
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: simplecov
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
142
156
|
requirements:
|
143
|
-
- - ~>
|
157
|
+
- - "~>"
|
144
158
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
159
|
+
version: 0.14.1
|
146
160
|
type: :development
|
147
161
|
prerelease: false
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
149
163
|
requirements:
|
150
|
-
- - ~>
|
164
|
+
- - "~>"
|
151
165
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
166
|
+
version: 0.14.1
|
153
167
|
description: |-
|
154
168
|
Vcloud-walker is a command line tool to describe different vCloud entities.
|
155
169
|
This tool is a thin layer around fog api, which exposes summarized vCloud entities
|
@@ -160,11 +174,12 @@ executables:
|
|
160
174
|
extensions: []
|
161
175
|
extra_rdoc_files: []
|
162
176
|
files:
|
163
|
-
- .gitignore
|
164
|
-
- .travis.yml
|
177
|
+
- ".gitignore"
|
178
|
+
- ".travis.yml"
|
165
179
|
- CHANGELOG.md
|
166
180
|
- CONTRIBUTING.md
|
167
181
|
- Gemfile
|
182
|
+
- Jenkinsfile
|
168
183
|
- LICENSE
|
169
184
|
- README.md
|
170
185
|
- Rakefile
|
@@ -221,17 +236,17 @@ require_paths:
|
|
221
236
|
- lib
|
222
237
|
required_ruby_version: !ruby/object:Gem::Requirement
|
223
238
|
requirements:
|
224
|
-
- -
|
239
|
+
- - ">="
|
225
240
|
- !ruby/object:Gem::Version
|
226
|
-
version:
|
241
|
+
version: 2.2.2
|
227
242
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
243
|
requirements:
|
229
|
-
- -
|
244
|
+
- - ">="
|
230
245
|
- !ruby/object:Gem::Version
|
231
246
|
version: '0'
|
232
247
|
requirements: []
|
233
248
|
rubyforge_project:
|
234
|
-
rubygems_version: 2.
|
249
|
+
rubygems_version: 2.4.5
|
235
250
|
signing_key:
|
236
251
|
specification_version: 4
|
237
252
|
summary: Command line tool to describe vCloud entities
|