danger-xcprofiler.gemspec in danger-xcprofiler-0.4.0 vs danger-xcprofiler.gemspec in danger-xcprofiler-0.5.0
- old
+ new
@@ -1,10 +1,8 @@
-# coding: utf-8
-
-lib = File.expand_path('../lib', __FILE__)
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'xcprofiler/gem_version.rb'
+require 'xcprofiler/gem_version'
Gem::Specification.new do |spec|
spec.name = 'danger-xcprofiler'
spec.version = DangerXcprofiler::VERSION
spec.authors = ['giginet']
@@ -17,21 +15,20 @@
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
+ spec.required_ruby_version = '>= 2.6'
+
spec.add_dependency 'xcprofiler'
spec.add_runtime_dependency 'danger-plugin-api', '~> 1.0'
# General ruby development
- spec.add_development_dependency 'bundler', '~> 1.3'
- spec.add_development_dependency 'rake', '~> 10.0'
+ spec.add_development_dependency 'bundler'
+ spec.add_development_dependency 'rake'
# Testing support
- spec.add_development_dependency 'rspec', '~> 3.4'
-
- # Calculating code coverage
- spec.add_development_dependency 'coveralls'
+ spec.add_development_dependency 'rspec'
# Linting code and docs
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'yard'