fastlane/lib/fastlane/plugins/template/%gem_name%.gemspec.erb in fastlane-2.181.0 vs fastlane/lib/fastlane/plugins/template/%gem_name%.gemspec.erb in fastlane-2.182.0

- old
+ new

@@ -1,8 +1,6 @@ -# 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 '<%= require_path %>/version' Gem::Specification.new do |spec| spec.name = '<%= gem_name %>' @@ -16,20 +14,23 @@ spec.files = Dir["lib/**/*"] + %w(README.md LICENSE) spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] + spec.required_ruby_version = '>= 2.4' + # Don't add a dependency to fastlane or fastlane_re # since this would cause a circular dependency # spec.add_dependency 'your-dependency', '~> 1.0.0' - spec.add_development_dependency('pry') spec.add_development_dependency('bundler') + spec.add_development_dependency('fastlane', '>= <%= Fastlane::VERSION %>') + spec.add_development_dependency('pry') + spec.add_development_dependency('rake') spec.add_development_dependency('rspec') spec.add_development_dependency('rspec_junit_formatter') - spec.add_development_dependency('rake') spec.add_development_dependency('rubocop', '<%= Fastlane::RUBOCOP_REQUIREMENT %>') + spec.add_development_dependency('rubocop-performance') spec.add_development_dependency('rubocop-require_tools') spec.add_development_dependency('simplecov') - spec.add_development_dependency('fastlane', '>= <%= Fastlane::VERSION %>') end