Skip to content

Commit

Permalink
Merge pull request #19 from ba-st/gs64-compatibility
Browse files Browse the repository at this point in the history
Small changes to help load the code into GS64 without breaking Pharo …
  • Loading branch information
gcotelli authored Dec 4, 2018
2 parents 986e9ad + 996f299 commit 4dba6ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/Stargate-Model/UUID.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Extension { #name : #UUID }
{ #category : #'*Stargate-Model' }
UUID >> neoJsonOn: neoJSONWriter [

neoJSONWriter writeString: self asString
neoJSONWriter writeString: self printString
]
6 changes: 6 additions & 0 deletions source/Stargate-Model/ZnETag.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ ZnETag >> asETag [
^ self
]
{ #category : #printing }
ZnETag >> asString [
^self printString
]
{ #category : #comparing }
ZnETag >> hash [
Expand Down
4 changes: 2 additions & 2 deletions source/Stargate-Model/ZnRequest.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Extension { #name : #ZnRequest }
{ #category : #'*Stargate-Model' }
ZnRequest >> setIfMatchTo: etag [

self headers at: 'If-Match' put: etag asString
self headers at: #'If-Match' put: etag asString
]

{ #category : #'*Stargate-Model' }
ZnRequest >> setIfNoneMatchTo: etag [

self headers at: 'If-None-Match' put: etag asString
self headers at: #'If-None-Match' put: etag asString
]

0 comments on commit 4dba6ea

Please sign in to comment.