-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #184 from pharo-nosql/mongo-driver-v5
Mongo driver v5
- Loading branch information
Showing
81 changed files
with
106 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: CI | ||
|
||
on: [ push, pull_request, workflow_dispatch ] | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
pharo-version: [ Pharo64-10, Pharo64-11, Pharo64-12 ] | ||
ston: [ .smalltalk.ston ] | ||
mongodb-version: [ 5, 6 ] | ||
os: [ ubuntu-latest ] | ||
runs-on: ${{ matrix.os }} | ||
name: ${{ matrix.pharo-version }}, ${{ matrix.mongodb-version }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Create mongoDB Docker container | ||
run: sudo docker run -d -p 27017:27017 mongo:${{ matrix.mongodb-version }} | ||
|
||
- name: Setup SmalltalkCI | ||
uses: hpi-swa/setup-smalltalkCI@v1 | ||
with: | ||
smalltalk-image: ${{ matrix.pharo-version }} | ||
|
||
- name: Get Pharo and Run Tests | ||
run: smalltalkci -s ${{ matrix.pharo-version }} ${{ matrix.ston }} | ||
shell: bash | ||
timeout-minutes: 40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
SmalltalkCISpec { | ||
#preLoading: 'scripts/preLoading.st', | ||
#loading : [ | ||
SCIMetacelloLoadSpec { | ||
#baseline : 'Voyage', | ||
#directory : 'mc', | ||
#load : [ 'mongo tests', 'memory tests' ], | ||
#platforms : [ #pharo ] | ||
} | ||
], | ||
#preTesting: 'scripts/preTesting.st' | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
mc/BaselineOfVoyage.package/BaselineOfVoyage.class/instance/ejdb..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
external projects | ||
ejdb: spec | ||
|
||
spec baseline: 'EJDB' with: [ | ||
|
6 changes: 0 additions & 6 deletions
6
mc/BaselineOfVoyage.package/BaselineOfVoyage.class/instance/magritte..st
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
mc/BaselineOfVoyage.package/BaselineOfVoyage.class/instance/persistenceQueries..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
external projects | ||
persistenceQueries: spec | ||
spec | ||
baseline: 'PersistenceQuery' with: [ | ||
|
7 changes: 7 additions & 0 deletions
7
mc/BaselineOfVoyage.package/BaselineOfVoyage.class/instance/simpleRene..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
external projects | ||
simpleRene: spec | ||
|
||
spec baseline: 'SimpleRene' with: [ | ||
spec | ||
repository: 'github://pharo-contributions/SimpleRene'; | ||
loads: #( 'Core' ) ] |
3 changes: 0 additions & 3 deletions
3
mc/Voyage-JSON.package/MAContainer.extension/instance/do.displaying..st
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
mc/Voyage-JSON.package/VODescriptionBuilder.class/instance/buildDirectAccessorFor..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
private building | ||
buildDirectAccessorFor: aString | ||
^MAPluggableAccessor | ||
read: [ :anObject | anObject instVarNamed: aString ] | ||
write: [ :anObject :value | anObject instVarNamed: aString put: value ] | ||
|
||
^ SRPluggableAccessor | ||
read: [ :anObject | anObject readSlotNamed: aString ] | ||
write: [ :anObject :value | anObject writeSlotNamed: aString value: value ] |
2 changes: 1 addition & 1 deletion
2
mc/Voyage-JSON.package/VODescriptionBuilder.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
mc/Voyage-JSON.package/VOJSONMaterializer.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
mc/Voyage-Model-Core.package/VOCache.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
initialization | ||
initialize | ||
initialize | ||
|
||
super initialize. | ||
self flush. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
mc/Voyage-Model-Core.package/VOExternalRepository.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
self initializeCache. | ||
self initializeCache |
1 change: 1 addition & 0 deletions
1
mc/Voyage-Model-Core.package/VOExternalRepository.class/instance/initializeCache.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
initialization | ||
initializeCache | ||
|
||
cache := VOCache new. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
mc/Voyage-Mongo-Core.package/VOMongoRepository.class/instance/finalize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
finalization | ||
finalize | ||
|
||
self stopSDAMClient |
5 changes: 5 additions & 0 deletions
5
mc/Voyage-Mongo-Core.package/VOMongoRepository.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
|
||
"register for finalization" | ||
WeakRegistry default add: self. | ||
|
||
insertConcerns := SmallDictionary new. | ||
removeConcerns := SmallDictionary new. | ||
updateConcerns := SmallDictionary new. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
mc/Voyage-Mongo-Core.package/VOMongoRepository.class/instance/stopSDAMClient.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
finalization | ||
stopSDAMClient | ||
|
||
sdamClient ifNotNil: #stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.