yoti.gemspec in yoti-1.7.1 vs yoti.gemspec in yoti-1.8.0

- old
+ new

@@ -16,20 +16,32 @@ DESC spec.homepage = 'https://github.com/getyoti/yoti-ruby-sdk' spec.license = 'MIT' - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|examples|docs)/|^sonar-project.properties$|^.dependabot/config.yml$|^.travis.yml$}) } + exclude_patterns = [ + '^(test|spec|features|examples|docs|.github)/', + '^.gitignore$', + '^sonar-project.properties$', + '^.dependabot/config.yml$', + '^.travis.yml$', + '^CONTRIBUTING.md$', + '^Guardfile$', + '^Rakefile$', + '^yardstick.yml$', + '^rubocop.yml$' + ] + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(/#{exclude_patterns.join('|')}/) } spec.require_paths = ['lib'] spec.required_ruby_version = '>= 2.4' spec.add_dependency 'google-protobuf', '~> 3.7' spec.add_development_dependency 'bundler', '~> 2.0' spec.add_development_dependency 'dotenv', '~> 2.2' spec.add_development_dependency 'generator_spec', '~> 0.9' - spec.add_development_dependency 'rake', '~> 12.0' + spec.add_development_dependency 'rake', '~> 13.0' spec.add_development_dependency 'rspec', '~> 3.5' spec.add_development_dependency 'simplecov', '~> 0.17.1' spec.add_development_dependency 'webmock', '~> 3.3' spec.add_development_dependency 'yard', '~> 0.9' spec.add_development_dependency 'yardstick', '~> 0.9'