Skip to content

Commit

Permalink
update bundler, updated min version of ruby to >= 2.3
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Abrams <[email protected]>
  • Loading branch information
majormoses committed Apr 10, 2020
1 parent 069b4b3 commit 227c6e9
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 37 deletions.
11 changes: 0 additions & 11 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ driver:
provision_command:
- curl -sSL https://get.docker.com/ | sh



provisioner:
name: shell
data_path: .
Expand All @@ -26,15 +24,6 @@ platforms:
- name: debian-8

suites:
- name: ruby-20
driver:
image: ruby:2.0-slim
- name: ruby-21
driver:
image: ruby:2.1-slim
- name: ruby-22
driver:
image: ruby:2.2-slim
- name: ruby-230
driver:
image: ruby:2.3.0-slim
Expand Down
27 changes: 10 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
language: ruby
cache:
- bundler
- bundler
before_install:
- gem update bundler
- gem install bundler -v 2.1
install:
- bundle install
- bundle install
rvm:
- 2.0
- 2.1
- 2.2
- 2.3.0
- 2.4.1
- 2.3.0
- 2.4.1
notifications:
email:
recipients:
- [email protected]
- [email protected]
on_success: change
on_failure: always
script:
- bundle exec rake quick
- bundle exec rake kitchen:ruby-`echo $TRAVIS_RUBY_VERSION | sed -e "s/\.//g"`-debian-8
- gem build sensu-plugins-docker.gemspec
- gem install sensu-plugins-docker-*.gem
- bundle exec rake quick
- bundle exec rake kitchen:ruby-`echo $TRAVIS_RUBY_VERSION | sed -e "s/\.//g"`-debian-8
- gem build sensu-plugins-docker.gemspec
- gem install sensu-plugins-docker-*.gem
deploy:
provider: rubygems
api_key:
Expand All @@ -30,9 +27,5 @@ deploy:
on:
tags: true
all_branches: true
rvm: 2.0
rvm: 2.1
rvm: 2.2
rvm: 2.3.0
rvm: 2.4.1
repo: sensu-plugins/sensu-plugins-docker
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)

## [4.0.0] - 2020-04-09
### Breaking Changes
- bumped `sensu-plugin` dependency from `~> 2.0` to `~> 4.0` please consult the changelog for additional details. The notable breaking change [is](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v145---2017-03-07)
- bumped `sensu-plugin` dependency from `~> 2.0` to `~> 4.0` please consult the changelog for additional details. The notable breaking change [is](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v145---2017-03-07) (@majormoses)
- dopped support for ruby `< 2.3` (@majormoses)

## [3.2.0] - 2018-11-22
### Fixed
Expand Down
4 changes: 2 additions & 2 deletions sensu-plugins-docker.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.post_install_message = 'You can use the embedded Ruby by setting EMBEDDED_RUBY=true in /etc/default/sensu'
s.require_paths = ['lib']
s.required_ruby_version = '>= 2.0.0'
s.required_ruby_version = '>= 2.3.0'
s.summary = 'Sensu plugins for docker'
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.version = SensuPluginsDocker::Version::VER_STRING
Expand All @@ -34,7 +34,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'sys-proctable', '0.9.8'
s.add_runtime_dependency 'net_http_unix', '0.2.2'

s.add_development_dependency 'bundler', '~> 1.7'
s.add_development_dependency 'bundler', '~> 2.1'
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
s.add_development_dependency 'github-markup', '~> 1.3'
s.add_development_dependency 'kitchen-docker', '~> 2.6'
Expand Down
3 changes: 0 additions & 3 deletions test/integration/ruby-21/serverspec/default_spec.rb

This file was deleted.

3 changes: 0 additions & 3 deletions test/integration/ruby-22/serverspec/default_spec.rb

This file was deleted.

0 comments on commit 227c6e9

Please sign in to comment.