17 строки
919 B
Diff
17 строки
919 B
Diff
diff -ruN a/multipart-post.gemspec b/multipart-post.gemspec
|
|
--- a/multipart-post.gemspec 2019-05-13 04:31:53.000000000 -0700
|
|
+++ b/multipart-post.gemspec 2022-07-05 09:55:42.725081119 -0700
|
|
@@ -12,9 +12,9 @@
|
|
spec.license = "MIT"
|
|
spec.description = %q{Use with Net::HTTP to do multipart form postspec. IO values that have #content_type, #original_filename, and #local_path will be posted as a binary file.}
|
|
|
|
- spec.files = `git ls-files`.split("\n")
|
|
- spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
- spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
+ spec.files = Dir['**/*']
|
|
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
+ spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
spec.require_paths = ["lib"]
|
|
|
|
spec.add_development_dependency 'bundler', ['>= 1.3', '< 3']
|