Project

General

Profile

Actions

Bug #17476

closed

3.0/specifications/default/net-*.gemspec repeats the same files

Added by luizluca (Luiz Angelo Daros de Luca) almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux-gnu]
[ruby-core:101724]

Description

I guess net-* generated gemspec during ruby build assumes that the net/ directory only contains its files (as it happens on standalone gem builds):

/usr/lib/ruby/gems/3.0/specifications/default/net-ftp-0.1.1.gemspec:  s.files = ["net/ftp.rb".freeze, "net/http.rb".freeze, "net/http/backward.rb".freeze, "net/http/exceptions.rb".freeze, "net/http/generic_request.rb".freeze, "net/http/header.rb".freeze, "net/http/proxy_delta.rb".freeze, "net/http/request.rb".freeze, "net/http/requests.rb".freeze, "net/http/response.rb".freeze, "net/http/responses.rb".freeze, "net/http/status.rb".freeze, "net/https.rb".freeze, "net/imap.rb".freeze, "net/pop.rb".freeze, "net/protocol.rb".freeze, "net/smtp.rb".freeze]
/usr/lib/ruby/gems/3.0/specifications/default/net-http-0.1.1.gemspec:  s.files = ["net/http.rb".freeze, "net/http/backward.rb".freeze, "net/http/exceptions.rb".freeze, "net/http/generic_request.rb".freeze, "net/http/header.rb".freeze, "net/http/proxy_delta.rb".freeze, "net/http/request.rb".freeze, "net/http/requests.rb".freeze, "net/http/response.rb".freeze, "net/http/responses.rb".freeze, "net/http/status.rb".freeze]
/usr/lib/ruby/gems/3.0/specifications/default/net-imap-0.1.1.gemspec:  s.files = ["net/ftp.rb".freeze, "net/http.rb".freeze, "net/http/backward.rb".freeze, "net/http/exceptions.rb".freeze, "net/http/generic_request.rb".freeze, "net/http/header.rb".freeze, "net/http/proxy_delta.rb".freeze, "net/http/request.rb".freeze, "net/http/requests.rb".freeze, "net/http/response.rb".freeze, "net/http/responses.rb".freeze, "net/http/status.rb".freeze, "net/https.rb".freeze, "net/imap.rb".freeze, "net/pop.rb".freeze, "net/protocol.rb".freeze, "net/smtp.rb".freeze]
/usr/lib/ruby/gems/3.0/specifications/default/net-pop-0.1.1.gemspec:  s.files = ["net/ftp.rb".freeze, "net/http.rb".freeze, "net/http/backward.rb".freeze, "net/http/exceptions.rb".freeze, "net/http/generic_request.rb".freeze, "net/http/header.rb".freeze, "net/http/proxy_delta.rb".freeze, "net/http/request.rb".freeze, "net/http/requests.rb".freeze, "net/http/response.rb".freeze, "net/http/responses.rb".freeze, "net/http/status.rb".freeze, "net/https.rb".freeze, "net/imap.rb".freeze, "net/pop.rb".freeze, "net/protocol.rb".freeze, "net/smtp.rb".freeze]
/usr/lib/ruby/gems/3.0/specifications/default/net-protocol-0.1.0.gemspec:  s.files = ["net/ftp.rb".freeze, "net/http.rb".freeze, "net/http/backward.rb".freeze, "net/http/exceptions.rb".freeze, "net/http/generic_request.rb".freeze, "net/http/header.rb".freeze, "net/http/proxy_delta.rb".freeze, "net/http/request.rb".freeze, "net/http/requests.rb".freeze, "net/http/response.rb".freeze, "net/http/responses.rb".freeze, "net/http/status.rb".freeze, "net/https.rb".freeze, "net/imap.rb".freeze, "net/pop.rb".freeze, "net/protocol.rb".freeze, "net/smtp.rb".freeze]
/usr/lib/ruby/gems/3.0/specifications/default/net-smtp-0.2.1.gemspec:  s.files = ["net/ftp.rb".freeze, "net/http.rb".freeze, "net/http/backward.rb".freeze, "net/http/exceptions.rb".freeze, "net/http/generic_request.rb".freeze, "net/http/header.rb".freeze, "net/http/proxy_delta.rb".freeze, "net/http/request.rb".freeze, "net/http/requests.rb".freeze, "net/http/response.rb".freeze, "net/http/responses.rb".freeze, "net/http/status.rb".freeze, "net/https.rb".freeze, "net/imap.rb".freeze, "net/pop.rb".freeze, "net/protocol.rb".freeze, "net/smtp.rb".freeze]
Actions #1

Updated by hsbt (Hiroshi SHIBATA) almost 4 years ago

  • Status changed from Open to Assigned

Updated by hsbt (Hiroshi SHIBATA) almost 4 years ago

  • Assignee set to hsbt (Hiroshi SHIBATA)
Actions #3

Updated by hsbt (Hiroshi SHIBATA) over 3 years ago

  • Status changed from Assigned to Closed

Applied in changeset [ruby-core:101724]" href="/projects/ruby-master/repository/git/revisions/5d710d7e41ef3a9877426c87de121be3bf770e34">git|5d710d7e41ef3a9877426c87de121be3bf770e34.


Fix the wrong file detection for net-*.gemspec

[Bug #17476][ruby-core:101724]

Actions #4

Updated by hsbt (Hiroshi SHIBATA) over 3 years ago

  • Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN to 2.6: DONTNEED, 2.7: DONTNEED, 3.0: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) over 3 years ago

  • Backport changed from 2.6: DONTNEED, 2.7: DONTNEED, 3.0: REQUIRED to 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONE

ruby_3_0 934001fb08ef133b2925f1651f36f83ddcd2f46d merged revision(s) 5d710d7e41ef3a9877426c87de121be3bf770e34.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0