gds_zendesk.gemspec in gds_zendesk-3.2.0 vs gds_zendesk.gemspec in gds_zendesk-3.3.0
- old
+ new
@@ -1,26 +1,26 @@
-# -*- encoding: utf-8 -*-
-lib = File.expand_path('../lib', __FILE__)
+lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'gds_zendesk/version'
+require "gds_zendesk/version"
Gem::Specification.new do |gem|
gem.name = "gds_zendesk"
gem.version = GDSZendesk::VERSION
gem.authors = ["GOV.UK Dev"]
gem.email = ["govuk-dev@digital.cabinet-office.gov.uk"]
- gem.description = %q{Client and models for communicating with Zendesk}
- gem.summary = %q{Client and models for communicating with Zendesk}
+ gem.description = "Client and models for communicating with Zendesk"
+ gem.summary = "Client and models for communicating with Zendesk"
gem.homepage = "https://github.com/alphagov/gds_zendesk"
- gem.files = `git ls-files`.split($/)
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
+ gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
- gem.require_paths = ["lib"]
+ gem.require_paths = %w[lib]
- gem.add_dependency 'null_logger', '~> 0'
- gem.add_dependency 'zendesk_api', '~> 1.27'
+ gem.add_dependency "null_logger", "~> 0"
+ gem.add_dependency "zendesk_api", "~> 1.27"
- gem.add_development_dependency 'rake', '~> 10'
- gem.add_development_dependency 'rspec', '~> 3'
- gem.add_development_dependency 'webmock', '~> 2'
+ gem.add_development_dependency "rake", "~> 10"
+ gem.add_development_dependency "rspec", "~> 3"
+ gem.add_development_dependency "rubocop-govuk", "~> 3"
+ gem.add_development_dependency "webmock", "~> 2"
end