Skip to content

Commit 1b163ea

Browse files
committed
update bundler and min ruby version required to >= 2.3
Signed-off-by: Ben Abrams <[email protected]>
1 parent 927e1c3 commit 1b163ea

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.travis.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
language: ruby
22
cache:
3-
- bundler
3+
- bundler
4+
before_install:
5+
- gem install bundler -v 2.1
46
install:
5-
- bundle install
7+
- bundle install
68
rvm:
7-
- 2.1
8-
- 2.2
9-
- 2.3.0
10-
- 2.4.1
9+
- 2.3.0
10+
- 2.4.1
1111
notifications:
1212
email:
1313
recipients:
14-
14+
1515
on_success: change
1616
on_failure: always
1717
script:
18-
- bundle exec rake default
19-
- gem build sensu-plugins-consul.gemspec
20-
- gem install sensu-plugins-consul-*.gem
18+
- bundle exec rake default
19+
- gem build sensu-plugins-consul.gemspec
20+
- gem install sensu-plugins-consul-*.gem
2121
deploy:
2222
provider: rubygems
2323
api_key:

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
77

88
## [3.0.0]- 2020-04-09
99
### Breaking Changes
10-
- bumped `sensu-plugin` dependency from `~> 1.x` 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)
10+
- bumped `sensu-plugin` dependency from `~> 1.x` 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)
11+
- require ruby `> 2.3` (@majormoses)
1112

1213
## [2.2.1] - 2018-10-01
1314
### Fixed

sensu-plugins-consul.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Gem::Specification.new do |s| # rubocop:disable Metrics/BlockLength
2626
s.platform = Gem::Platform::RUBY
2727
s.post_install_message = 'You can use the embedded Ruby by setting EMBEDDED_RUBY=true in /etc/default/sensu'
2828
s.require_paths = ['lib']
29-
s.required_ruby_version = '>= 2.1'
29+
s.required_ruby_version = '>= 2.3'
3030
s.summary = 'Sensu plugins for Consul'
3131
s.test_files = s.files.grep(%r{^(test|spec|features)/})
3232
s.version = SensuPluginsConsul::Version::VER_STRING
@@ -36,7 +36,7 @@ Gem::Specification.new do |s| # rubocop:disable Metrics/BlockLength
3636
s.add_runtime_dependency 'diplomat', '0.14.0'
3737
s.add_runtime_dependency 'rest-client', '1.8.0'
3838

39-
s.add_development_dependency 'bundler', '~> 1.7'
39+
s.add_development_dependency 'bundler', '~> 2.1'
4040
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
4141
s.add_development_dependency 'github-markup', '~> 3.0'
4242
s.add_development_dependency 'pry', '~> 0.10'

0 commit comments

Comments
 (0)