Package: ruby-adsf / 1.5.2+dfsg1-2

Metadata

Package Version Patches format
ruby-adsf 1.5.2+dfsg1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
clean_test_helper.patch | (download)

adsf-live/test/helper.rb | 4 0 + 4 - 0 !
adsf/test/helper.rb | 4 0 + 4 - 0 !
2 files changed, 8 deletions(-)

 remove simplecov/codecov from test helpers
proxy safe tests.patch | (download)

adsf/test/test_server.rb | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fix test suite to work when a proxy environment is configured
 If http_proxy is set in the environment, test_non_local_interfaces fails
 because it tries to connect via the proxy when it should be connecting to
 a local server instead.  Simply remove this setting from the environment to
 let the test pass.
adsf test_version require adsf live version explicit.patch | (download)

adsf/test/test_version.rb | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 adsf: test_version: require adsf/live/version explicitly

This is not necessary when running under bundle exec.

fix test by removing nil values.patch | (download)

adsf/test/test_server.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix test by removing nil values

The list can contain `nil` values and can therefor throw an error

```
Adsf::Test::Server#test_non_local_interfaces:
NoMethodError: undefined method `ipv4?' for nil
    /build/reproducible-path/ruby-adsf-1.5.2+dfsg1/adsf/test/test_server.rb:161:in `select'
    /build/reproducible-path/ruby-adsf-1.5.2+dfsg1/adsf/test/test_server.rb:161:in `test_non_local_interfaces'
```