mina.gemspec in mina-1.2.4 vs mina.gemspec in mina-1.2.5
- old
+ new
@@ -1,9 +1,11 @@
-lib = File.expand_path('../lib', __FILE__)
+# frozen_string_literal: true
+
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-tasks = File.expand_path('../tasks', __FILE__)
+tasks = File.expand_path('tasks', __dir__)
$LOAD_PATH.unshift(tasks) unless $LOAD_PATH.include?(tasks)
require 'mina/version'
Gem::Specification.new do |spec|
@@ -18,12 +20,11 @@
spec.executables = Dir['bin/*'].map { |f| File.basename(f) }
spec.licenses = ['MIT']
spec.require_paths = ['lib', 'tasks']
spec.add_dependency 'rake'
- spec.add_dependency 'open4', '~> 1.3.4'
- spec.add_development_dependency 'rspec', '~> 3.5.0'
- spec.add_development_dependency 'pry-byebug'
- spec.add_development_dependency 'awesome_print'
+ spec.add_development_dependency 'pry'
+ spec.add_development_dependency 'rspec'
+ spec.add_development_dependency 'rubocop'
+ spec.add_development_dependency 'rubocop-rspec'
spec.add_development_dependency 'simplecov'
- spec.add_development_dependency 'codeclimate-test-reporter'
end