tl1.gemspec in tl1-0.1.0 vs tl1.gemspec in tl1-0.2.0
- old
+ new
@@ -1,7 +1,8 @@
# frozen_string_literal: true
-lib = File.expand_path('../lib', __FILE__)
+
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'tl1/version'
Gem::Specification.new do |spec|
spec.name = 'tl1'
@@ -18,9 +19,9 @@
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
- spec.add_development_dependency 'bundler', '~> 1.14'
- spec.add_development_dependency 'rake', '~> 10.0'
+ spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec', '~> 3.0'
+ spec.add_development_dependency 'rubocop', '~> 0.54' if RUBY_VERSION > '2.1'
end