Skip to content

Commit ef29a7d

Browse files
committed
Remove deprecated Ruby. Upgrade bundler. Fix failing tests
1 parent b201ca6 commit ef29a7d

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
sudo: true
2+
service: docker
13
language: ruby
24
cache:
35
- bundler
6+
before_install:
7+
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
48
install:
59
- bundle install
610
rvm:
7-
- 2.3.0
811
- 2.4.1
912
notifications:
1013
email:
@@ -26,7 +29,6 @@ deploy:
2629
on:
2730
tags: true
2831
all_branches: true
29-
rvm: 2.3.0
3032
rvm: 2.4.1
3133
repo: sensu-plugins/sensu-plugins-ssl
3234
- provider: script

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44
This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md).
55

66
## [Unreleased]
7+
- Remove ruby-2.3.0. Upgrade bundler. Fix failing tests (@phumpal).
8+
79
### Breaking Changes
810
- Bump `sensu-plugin` dependency from `~> 1.2` to `~> 4.0` you can read the changelog entries for [4.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#400---2018-02-17), [3.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#300---2018-12-04), and [2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29)
911

sensu-plugins-ssl.gemspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
lib = File.expand_path('../lib', __FILE__)
24
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
35

@@ -25,15 +27,15 @@ Gem::Specification.new do |s|
2527
s.platform = Gem::Platform::RUBY
2628
s.post_install_message = 'You can use the embedded Ruby by setting EMBEDDED_RUBY=true in /etc/default/sensu'
2729
s.require_paths = ['lib']
28-
s.required_ruby_version = '>= 2.1.0'
30+
s.required_ruby_version = '>= 2.4.0'
2931

3032
s.summary = 'Sensu plugins for SSL'
3133
s.test_files = s.files.grep(%r{^(test|spec|features)/})
3234
s.version = SensuPluginsSSL::Version::VER_STRING
3335

3436
s.add_runtime_dependency 'sensu-plugin', '~> 4.0'
3537

36-
s.add_development_dependency 'bundler', '~> 1.7'
38+
s.add_development_dependency 'bundler', '~> 2.1'
3739
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
3840
s.add_development_dependency 'github-markup', '~> 3.0'
3941
s.add_development_dependency 'pry', '~> 0.10'

0 commit comments

Comments
 (0)