Skip to content

Commit 5d29b4e

Browse files
authored
Merge pull request #11 from valich/master
Add 2.6.0 sources and remove old preview versions
2 parents 8c38ae1 + f258b52 commit 5d29b4e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+21273
-24540
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ To add another ruby version's source to this gem's directory:
2222

2323
$ rake add_source VERSION=2.1.3 PATCHLEVEL=242
2424

25-
(for pre-releases PATCHLEVEL should not be provided)
2625
add_source can use pre-downloaded .tgz (use TGZ_FILE_NAME to pass it)
2726
also it can extract patch level from version.h of downloaded sources, so
2827
PATCHLEVEL variable is optional.
2928

29+
_Adding pre-release versions_. For pre-releases PATCHLEVEL should not be provided,
30+
as it is not present in distribution. To find sources of pre-release versions,
31+
this gem will look in `Debase::RubyCoreSource::REVISION_MAP` hash. Please add
32+
respective entry into this hash on adding pre-release version sources.
33+
3034
## Credits
3135

3236
* @valich for 2.5.0-preview1 headers and src-based ruby support

lib/debase/ruby_core_source.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
module Debase
55
module RubyCoreSource
66
REVISION_MAP = {
7-
57064 => 'ruby-2.4.0-rc1',
8-
60153 => 'ruby-2.5.0-preview1',
9-
61243 => 'ruby-2.5.0-rc1',
7+
# Add pre-release version here since they do not have patchlevel to refer to.
8+
# Revision can be found at `revision.h` of ruby sources.
9+
# Format of this hash:
10+
# <RUBY_REVISION> => '<sources directory name>', e.g. `61243 => 'ruby-2.5.0-rc1'`
1011
}
1112

1213
def self.create_makefile_with_core(hdrs, name)

lib/debase/ruby_core_source/ruby-2.5.0-preview1/constant.h

Lines changed: 0 additions & 50 deletions
This file was deleted.

lib/debase/ruby_core_source/ruby-2.5.0-preview1/debug_counter.h

Lines changed: 0 additions & 109 deletions
This file was deleted.

0 commit comments

Comments
 (0)