Skip to content

Commit 9280afc

Browse files
Merge pull request #252 from DavidS/fix-license-finder
Update dependency_decisions for LicenseFinder 6.0; Fix deprecation warning with outdated win32-service gem pulled in by puppet
2 parents aa50b35 + 0abf7a0 commit 9280afc

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

.dependency_decisions.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
---
2-
- - :whitelist
2+
- - :permit
33
- MIT
44
- :who: DavidS
55
:why: standard license
66
:versions: []
77
:when: 2017-07-28 11:11:09.971500380 Z
8-
- - :whitelist
8+
- - :permit
99
- Apache 2.0
1010
- :who: DavidS
1111
:why: standard license
1212
:versions: []
1313
:when: 2017-07-28 11:12:21.086779416 Z
14-
- - :whitelist
14+
- - :permit
1515
- ruby
1616
- :who: DavidS
1717
:why: standard license
1818
:versions: []
1919
:when: 2017-07-28 11:12:28.578927478 Z
20-
- - :whitelist
20+
- - :permit
2121
- Simplified BSD
2222
- :who: DavidS
2323
:why: standard license
2424
:versions: []
2525
:when: 2017-07-28 11:12:36.924605442 Z
26-
- - :whitelist
26+
- - :permit
2727
- New BSD
2828
- :who: DavidS
2929
:why: standard license
3030
:versions: []
3131
:when: 2017-07-28 11:14:00.252514982 Z
32-
- - :whitelist
32+
- - :permit
3333
- Apache License, v2
3434
- :who: DavidS
3535
:why: standard license
3636
:versions: []
3737
:when: 2017-07-28 11:14:07.999759997 Z
38-
- - :whitelist
38+
- - :permit
3939
- Ruby or LGPLv3+
4040
- :who: DavidS
4141
:why: standard license
@@ -62,7 +62,7 @@
6262
:why: https://github.com/defunkt/colored/blob/829bde0f8832406be1cacc5c99c49d976e05ccfc/LICENSE
6363
:versions: []
6464
:when: 2017-07-28 11:23:25.554994001 Z
65-
- - :whitelist
65+
- - :permit
6666
- ISC
6767
- :who: scotje
6868
:why: MIT equivalent
@@ -93,6 +93,6 @@
9393
- puppetlabs_spec_helper
9494
- Apache 2.0
9595
- :who: DavidS
96-
:why:
96+
:why:
9797
:versions: []
9898
:when: 2018-03-09 18:04:29.175843919 Z

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sudo: false
1+
os: linux
22
language: ruby
33
bundler_args: "--without development"
44
script:
@@ -10,8 +10,8 @@ script:
1010
cache: bundler
1111
branches:
1212
except:
13-
- release-prep
14-
matrix:
13+
- release-prep
14+
jobs:
1515
include:
1616
- rvm: 2.4.3
1717
env: PUPPET_GEM_VERSION='~> 5' SIMPLECOV=yes # 5.5
@@ -20,15 +20,15 @@ matrix:
2020
before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
2121
cache:
2222
bundler: true
23-
directories: ~/.rvm
23+
directories: [~/.rvm]
2424
before_install: rvm use jruby-1.7.26 --install --binary --fuzzy && gem install bundler -v '~> 1.7.0'
2525
# disable coverage on jruby9k as this confuses codecov
2626
- env: RVM="jruby-9.1.9.0" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug"
2727
dist: trusty
2828
before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
2929
cache:
3030
bundler: false
31-
directories: ~/.rvm
31+
directories: [~/.rvm]
3232
before_install: rvm use jruby-9.1.9.0 --install --binary --fuzzy
3333
- rvm: 2.5.1
3434
env: CHECK=rubocop

spec/acceptance/device_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757
it 'reads resources from the target system' do
5858
stdout_str, status = Open3.capture2e("puppet resource #{common_args} device_provider")
5959
expected_values = 'device_provider { \'wibble\': \n\s+ensure => \'present\',\n\s+string => \'sample\',\n\#\s+string_ro => \'fixed\', # Read Only\n string_param => \'default value\',\n}'
60-
expect(stdout_str.strip).to match %r{\A(DL is deprecated, please use Fiddle\n)?#{expected_values}\Z}
60+
fiddle_deprecate_msg = "DL is deprecated, please use Fiddle\n"
61+
win32_deprecate_msg = ".*Struct layout is already defined for class Windows::ServiceStructs::SERVICE_STATUS_PROCESS.*\n"
62+
expect(stdout_str.strip).to match %r{\A(#{fiddle_deprecate_msg}|#{win32_deprecate_msg})?#{expected_values}\Z}
6163
expect(status).to eq 0
6264
end
6365

0 commit comments

Comments
 (0)