@@ -5,7 +5,7 @@ require 'date'
5
5
6
6
require_relative 'lib/sensu-plugins-redis'
7
7
8
- Gem ::Specification . new do |s |
8
+ Gem ::Specification . new do |s | # rubocop:disable Metrics/BlockLength
9
9
s . authors = [ 'Sensu-Plugins and contributors' ]
10
10
11
11
s . date = Date . today . to_s
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
status, `INFO` metrics, key counts, list lengths,
16
16
and more.'
17
17
18
- s . files = Dir . glob ( '{bin,lib}/**/*.rb' ) + %w( LICENSE README.md CHANGELOG.md )
18
+ s . files = Dir . glob ( '{bin,lib}/**/*.rb' ) + %w[ LICENSE README.md CHANGELOG.md ]
19
19
s . executables = Dir . glob ( 'bin/**/*.rb' ) . map { |file | File . basename ( file ) }
20
20
s . homepage = 'https://github.com/sensu-plugins/sensu-plugins-redis'
21
21
s . license = 'MIT'
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
28
28
s . platform = Gem ::Platform ::RUBY
29
29
s . post_install_message = 'You can use the embedded Ruby by setting EMBEDDED_RUBY=true in /etc/default/sensu'
30
30
s . require_paths = [ 'lib' ]
31
- s . required_ruby_version = '>= 2.0 .0'
31
+ s . required_ruby_version = '>= 2.1 .0'
32
32
33
33
s . summary = 'Sensu plugins for working with redis'
34
34
s . test_files = s . files . grep ( %r{^(test|spec|features)/} )
@@ -49,7 +49,7 @@ Gem::Specification.new do |s|
49
49
s . add_development_dependency 'rake' , '~> 10.0'
50
50
s . add_development_dependency 'redcarpet' , '~> 3.2'
51
51
s . add_development_dependency 'rspec' , '~> 3.1'
52
- s . add_development_dependency 'rubocop' , '~> 0.40 .0'
52
+ s . add_development_dependency 'rubocop' , '~> 0.51 .0'
53
53
s . add_development_dependency 'serverspec' , '~> 2.36.1'
54
54
s . add_development_dependency 'test-kitchen' , '~> 1.16.0'
55
55
s . add_development_dependency 'yard' , '~> 0.8'
0 commit comments