license_finder.gemspec in license_finder-5.6.2 vs license_finder.gemspec in license_finder-5.7.0
- old
+ new
@@ -1,17 +1,13 @@
# frozen_string_literal: true
-lib = File.expand_path('lib', __dir__)
-$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
+version = File.read(File.expand_path('VERSION', __dir__)).strip
-require 'license_finder/platform'
-require 'license_finder/version'
-
Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.3.3'
s.name = 'license_finder'
- s.version = LicenseFinder::VERSION
+ s.version = version
s.authors = [
'Ryan Collins',
'Vikram Yadav',
'Daniil Kouznetsov',
@@ -53,18 +49,18 @@
s.add_dependency 'toml', '0.2.0'
s.add_dependency 'with_env', '1.1.0'
s.add_dependency 'xml-simple'
s.add_development_dependency 'addressable', '2.5.2'
- s.add_development_dependency 'capybara', '~> 2.0.0'
- s.add_development_dependency 'cocoapods', '0.34.0' if LicenseFinder::Platform.darwin?
- s.add_development_dependency 'fakefs', '~> 0.11.3'
+ s.add_development_dependency 'capybara', '~> 3.14.0'
+ s.add_development_dependency 'cocoapods', '>= 1.0.0' if RUBY_PLATFORM =~ /darwin/
+ s.add_development_dependency 'fakefs', '~> 0.19.2'
s.add_development_dependency 'mime-types', '3.1'
s.add_development_dependency 'pry'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec', '~> 3'
s.add_development_dependency 'rspec-its'
- s.add_development_dependency 'rubocop', '~> 0.59.2'
+ s.add_development_dependency 'rubocop', '~> 0.65.0'
s.add_development_dependency 'webmock', '~> 1.13'
# to preserve ruby < 2.2.2 support.
s.add_development_dependency 'rack', (RUBY_VERSION < '2.2.2' ? '1.6.0' : '> 1.6')
s.add_development_dependency 'rack-test', (RUBY_VERSION < '2.2.2' ? '0.7.0' : '> 0.7')