Skip to content

Commit

Permalink
Remove a few double spaces (FerretDB#2431)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi authored Apr 17, 2023
1 parent d7e609c commit 53a76ec
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 21 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,8 @@ jobs:

- name: Dump environment variables
run: env

- name: Show current directory
run: |
pwd
ls -al
5 changes: 0 additions & 5 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@ jobs:
CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

# debug
- run: |
pwd
ls
- name: Set GitHub deployment URL
id: extract
uses: FerretDB/github-actions/extract-first-url@main
3 changes: 2 additions & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ jobs:
- name: Scan
run: bin/task --exit-code security

- name: Check dependencies
- name: Check dependencies for PRs
if: github.event_name == 'pull_request'
uses: actions/dependency-review-action@v3
with:
allow-licenses: Apache-2.0, BSD-3-Clause, MIT
Expand Down
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ We are delighted to announce the release of FerretDB 1.0 GA!
### New Features 🎉
* Support dot notation in sorting by @rumyantseva in https://github.com/FerretDB/FerretDB/pull/2156
* Add support for `$each` modifier to `$addToSet` array update operator by @w84thesun in https://github.com/FerretDB/FerretDB/pull/2187
* Add support for `$each` modifier to `$push` array update operator by @w84thesun in https://github.com/FerretDB/FerretDB/pull/2202
* Add support for `$each` modifier to `$push` array update operator by @w84thesun in https://github.com/FerretDB/FerretDB/pull/2202
* Add support for `$pull` array update operator by @w84thesun in https://github.com/FerretDB/FerretDB/pull/2222

### Fixed Bugs 🐛
Expand Down Expand Up @@ -213,7 +213,7 @@ We are delighted to announce the release of FerretDB 1.0 GA!
* Refactor integration tests by @AlekSi in https://github.com/FerretDB/FerretDB/pull/1925
* Simplify fields sorting, add TODO by @AlekSi in https://github.com/FerretDB/FerretDB/pull/2039
* Run `task testjs` on CI by @AlekSi in https://github.com/FerretDB/FerretDB/pull/2031
* Return a proper error when a document with duplicate `_id` is sent for `insert` by @rumyantseva in https://github.com/FerretDB/FerretDB/pull/2024
* Return a proper error when a document with duplicate `_id` is sent for `insert` by @rumyantseva in https://github.com/FerretDB/FerretDB/pull/2024

[All closed issues and pull requests](https://github.com/FerretDB/FerretDB/milestone/31?closed=1).
[All commits](https://github.com/FerretDB/FerretDB/compare/v0.9.1...v0.9.2).
Expand Down Expand Up @@ -1114,7 +1114,7 @@ We plan to reach parity with our PostgreSQL backend in the next release.
* Better `-0` handling in tests by @AlekSi in https://github.com/FerretDB/FerretDB/pull/616
* Bump github.com/golangci/golangci-lint from 1.46.1 to 1.46.2 in /tools by @dependabot in https://github.com/FerretDB/FerretDB/pull/617
* Bump PostgreSQL and MongoDB versions by @AlekSi in https://github.com/FerretDB/FerretDB/pull/599
* Rename `OP_*` constants to `OpCode*` constants by @seeforschauer in https://github.com/FerretDB/FerretDB/pull/620
* Rename `OP_*` constants to `OpCode*` constants by @seeforschauer in https://github.com/FerretDB/FerretDB/pull/620
* Bump gopkg.in/yaml.v3 by @AlekSi in https://github.com/FerretDB/FerretDB/pull/646
* Bump gopkg.in/yaml.v3 in tools by @AlekSi in https://github.com/FerretDB/FerretDB/pull/648
* Make `Path` type by @w84thesun in https://github.com/FerretDB/FerretDB/pull/635
Expand Down Expand Up @@ -1354,7 +1354,7 @@ In short, we want FerretDB to be compatible with MongoDB first and fast second,
* Filter documents using Go code by @AlekSi in https://github.com/FerretDB/FerretDB/pull/370
* Projection: `<field>: <1 or true>` and `<field>: <0 or false>` by @seeforschauer in https://github.com/FerretDB/FerretDB/pull/377
* Fix small issues after rewrite by @AlekSi in https://github.com/FerretDB/FerretDB/pull/380
* Projection: `<field>: <1 or true>` and `<field>: <0 or false>`: error messages formatting by @seeforschauer in https://github.com/FerretDB/FerretDB/pull/382
* Projection: `<field>: <1 or true>` and `<field>: <0 or false>`: error messages formatting by @seeforschauer in https://github.com/FerretDB/FerretDB/pull/382
* Bump dependecnies by @AlekSi in https://github.com/FerretDB/FerretDB/pull/387
* Fix some fluky tests by @AlekSi in https://github.com/FerretDB/FerretDB/pull/351
* Minor CI and build tweaks by @AlekSi in https://github.com/FerretDB/FerretDB/pull/390
Expand Down
2 changes: 1 addition & 1 deletion website/docs/basic-operations/delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ This operation returns a response that shows that a single document was deleted

## Deletes multiple documents

To delete multiple documents at once, use the `deleteMany()` method.
To delete multiple documents at once, use the `deleteMany()` method.
Using the same record from earlier, let's delete all the documents with `nobel` set to false.

```js
Expand Down
2 changes: 1 addition & 1 deletion website/docs/basic-operations/read.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Here is a list of the most commonly used operators.

`$gt`: selects records that are greater than a specific value

`$lt`: selects records that are less than a specific value
`$lt`: selects records that are less than a specific value

`$gte`: selects records greater or equal to a specific value

Expand Down
12 changes: 6 additions & 6 deletions website/docs/basic-operations/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ FerretDB supports update operators, such as `$set` and `$setOnInsert` to update

At present, FerretDB currently supports the following update operators:

| Operator name | Description |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `$set` | Assigns the value for an updated field to the document. |
| `$setOnInsert` | Specifies the value of a field when an update operation results in the addition of a document. However, there is no effect when it modifies an existing document. |
| `$unset` | Removes a specific field from a document. |
| `$pop` | In an array, this operator removes the first or last item. |
| Operator name | Description |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `$set` | Assigns the value for an updated field to the document. |
| `$setOnInsert` | Specifies the value of a field when an update operation results in the addition of a document. However, there is no effect when it modifies an existing document. |
| `$unset` | Removes a specific field from a document. |
| `$pop` | In an array, this operator removes the first or last item. |

## Update a single document

Expand Down
2 changes: 1 addition & 1 deletion website/docs/operators/query/logical-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ The output:

## $nor

*Syntax*: `{ $nor: [ { <condition1> }, { <condition2> }, ... { <conditionN> } ] }`
*Syntax*: `{ $nor: [ { <condition1> }, { <condition2> }, ... { <conditionN> } ] }`

To select documents that fail to match any of the conditions in a specified query, use the `$nor` operator.

Expand Down
4 changes: 2 additions & 2 deletions website/docs/operators/update/array-update-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ sidebar_position: 1

# Array update operators

Array update operators allow you to modify the elements of an array field in a document.
Array update operators allow you to modify the elements of an array field in a document.

| Operator | Description |
| ------------------------ | -------------------------------------------------------------------------------------------- |
| [`$push`](#push) | Adds an element to an array |
| [`$push`](#push) | Adds an element to an array |
| [`$addToSet`](#addtoset) | Adds elements to a specific array as long as the element does not already exist in the array |
| [`$pop`](#pop) | Removes either the first or the last element of an array |
| [`$pullAll`](#pullall) | Removes all matching values in a specified query from an array |
Expand Down

0 comments on commit 53a76ec

Please sign in to comment.