Skip to content

Commit de72a6e

Browse files
committed
Add hash& string utils, ci
1 parent db28247 commit de72a6e

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.ci/unit-tests/inspec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ echo 'TODO slevenick write tests'
77
pushd "magic-modules/build/inspec/libraries"
88

99
bundle install
10-
rspec -I . ../test/unit
10+
rspec -I . ../test/unit/*
1111

1212
popd

products/compute/inspec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ overrides: !ruby/object:Provider::ResourceOverrides
9797
VpnTunnel: !ruby/object:Provider::Inspec::ResourceOverride
9898
exclude: true
9999
files: !ruby/object:Provider::Config::Files
100+
copy:
101+
<%= lines(indent(compile('provider/inspec/common~copy.yaml'), 4)) -%>
100102
style:
101103
functions:
102104
changelog:

provider/inspec/common~copy.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2017 Google Inc.
2+
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# you may not use this file except in compliance with the License.
4+
# You may obtain a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
14+
# These files are okay to be copied "AS-IS" to the module's final destination:
15+
16+
'libraries/google/hash_utils.rb': 'google/hash_utils.rb'
17+
'libraries/google/string_utils.rb': 'google/string_utils.rb'

0 commit comments

Comments
 (0)