File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ Gem::Specification.new do |s|
34
34
'source_code_uri' => 'https://github.com/elastic/elasticsearch-ruby/tree/main/elasticsearch-api' ,
35
35
'bug_tracker_uri' => 'https://github.com/elastic/elasticsearch-ruby/issues'
36
36
}
37
- s . files = `git ls-files` . split ( $/)
37
+ s . files = `git ls-files` . split ( $/) . reject do |file |
38
+ file . match ( /^utils\/ |^spec\/ |^api-spec-testing\/ |^Gemfile|^Rakefile/ )
39
+ end
38
40
s . executables = s . files . grep ( %r{^bin/} ) { |f | File . basename ( f ) }
39
41
s . test_files = s . files . grep ( %r{^(test|spec|features)/} )
40
42
s . require_paths = [ 'lib' ]
Original file line number Diff line number Diff line change @@ -33,7 +33,10 @@ Gem::Specification.new do |s|
33
33
'source_code_uri' => 'https://github.com/elastic/elasticsearch-ruby/tree/main' ,
34
34
'bug_tracker_uri' => 'https://github.com/elastic/elasticsearch-ruby/issues'
35
35
}
36
- s . files = `git ls-files` . split ( $/)
36
+ s . files = `git ls-files` . split ( $/) . reject do |file |
37
+ file . match ( /^spec\/ |^Gemfile|^Rakefile/ )
38
+ end
39
+
37
40
s . executables = s . files . grep ( %r{^bin/} ) { |f | File . basename ( f ) }
38
41
s . executables << 'elastic_ruby_console'
39
42
s . test_files = s . files . grep ( %r{^(test|spec|features)/} )
You can’t perform that action at this time.
0 commit comments