Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
RubyHash was removed in 3.6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Foster committed Nov 30, 2020
1 parent d192372 commit abc3983
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ Jade.zip
Jade.log
gciDebug.log
Contacts.exe
runtime/bin/*

2 changes: 1 addition & 1 deletion sources/GemStone Session.pax
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ JadeServer64bit subclass: #JadeServer64bit24
classInstanceVariableNames: ''!
JadeServer64bit24 subclass: #JadeServer64bit3x
instanceVariableNames: 'environment'
classVariableNames: 'Admonition ClientForwarderSend CompileError CompileWarning RubyHash SessionTemps Transcript'
classVariableNames: 'Admonition ClientForwarderSend CompileError CompileWarning SessionTemps Transcript'
poolDictionaries: ''
classInstanceVariableNames: ''!
JadeServer64bit3x subclass: #JadeServer64bit32
Expand Down
6 changes: 3 additions & 3 deletions sources/JadeServer64bit3x.cls
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

JadeServer64bit24 subclass: #JadeServer64bit3x
instanceVariableNames: 'environment'
classVariableNames: 'Admonition ClientForwarderSend CompileError CompileWarning RubyHash SessionTemps Transcript'
classVariableNames: 'Admonition ClientForwarderSend CompileError CompileWarning SessionTemps Transcript'
poolDictionaries: ''
classInstanceVariableNames: ''!
JadeServer64bit3x guid: (GUID fromString: '{1dc3debb-81ec-4b7b-872e-82229e88781b}')!
Expand Down Expand Up @@ -84,8 +84,8 @@ _installTranscript
_keysForDictionary: aDictionary
"Private - RubyHash does not implement #'keys' or #'keysDo:'!!"

| keys |
(aDictionary isKindOf: RubyHash) ifFalse: [^super _keysForDictionary: aDictionary].
| keys |
(aDictionary class name ~~ #'RubyHash') ifTrue: [^super _keysForDictionary: aDictionary].
keys := Set new.
aDictionary keysAndValuesDo: [:eachKey :eachValue | keys add: eachKey].
^keys.
Expand Down

0 comments on commit abc3983

Please sign in to comment.