Skip to content

Extract version number from the source#3375

Merged
nobu merged 1 commit intoruby:masterfrom
nobu:no-version.rb
Jul 30, 2020
Merged

Extract version number from the source#3375
nobu merged 1 commit intoruby:masterfrom
nobu:no-version.rb

Conversation

@nobu
Copy link
Copy Markdown
Member

@nobu nobu commented Jul 30, 2020

"requiring version.rb" strategy has some issues.

  • cannot work when cross-compiling
  • often introduces wrong namespace
  • must know the superclasses
  • costs at each runtime than at build-time

etc.

"requiring version.rb" strategy has some issues.

- cannot work when cross-compiling
- often introduces wrong namespace
- must know the superclasses
- costs at each runtime than at build-time

etc.
@simi
Copy link
Copy Markdown

simi commented Jul 30, 2020

Are there any details, redmine link, ...? Solution seems a little hacky to me :/

@nobu nobu merged commit b2d96ab into ruby:master Jul 30, 2020
matzbot pushed a commit that referenced this pull request May 25, 2023
  They have version.rb files with same directory.
  But version.rb have been removed at #3375
  There is no reason to locate under the library name of directory.
hsbt added a commit to ruby/delegate that referenced this pull request Jun 19, 2023
  They have version.rb files with same directory.
  But version.rb have been removed at ruby/ruby#3375
  There is no reason to locate under the library name of directory.
hsbt added a commit to ruby/getoptlong that referenced this pull request Jun 19, 2023
  They have version.rb files with same directory.
  But version.rb have been removed at ruby/ruby#3375
  There is no reason to locate under the library name of directory.
hsbt added a commit to ruby/observer that referenced this pull request Jun 19, 2023
  They have version.rb files with same directory.
  But version.rb have been removed at ruby/ruby#3375
  There is no reason to locate under the library name of directory.
hsbt added a commit to ruby/ostruct that referenced this pull request Jun 19, 2023
  They have version.rb files with same directory.
  But version.rb have been removed at ruby/ruby#3375
  There is no reason to locate under the library name of directory.
hsbt added a commit to ruby/pstore that referenced this pull request Jun 19, 2023
  They have version.rb files with same directory.
  But version.rb have been removed at ruby/ruby#3375
  There is no reason to locate under the library name of directory.
hsbt added a commit to ruby/singleton that referenced this pull request Jun 19, 2023
  They have version.rb files with same directory.
  But version.rb have been removed at ruby/ruby#3375
  There is no reason to locate under the library name of directory.
hsbt added a commit to ruby/timeout that referenced this pull request Jun 19, 2023
  They have version.rb files with same directory.
  But version.rb have been removed at ruby/ruby#3375
  There is no reason to locate under the library name of directory.
hsbt added a commit to ruby/weakref that referenced this pull request Jun 19, 2023
  They have version.rb files with same directory.
  But version.rb have been removed at ruby/ruby#3375
  There is no reason to locate under the library name of directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants