You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added the support for message reminders feature
* `create_reminder`: Create a reminder for a message
* `update_reminder`: Update an existing reminder
* `delete_reminder`: Delete a reminder
* `query_reminders`: Query reminders with filtering options
* chore: update CONTRIBUTING.md and add Makefile for development workflow
* Add Docker-based development commands to CONTRIBUTING.md
* Create Makefile with development, testing, and Docker-related targets
* Include support for customizable Ruby version and Stream Chat URL
* Add convenience commands for linting, testing, and type checking
* fixed linting errorsç
* merge "master" into 'feature/snooze_message_reminder'
* fixed failing specs
* fixed duplicate method definition
* chore: fixed failing specs
* chore: lint fixes
* chore: fixed srb linting errors
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+28-1Lines changed: 28 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
2
1
# :recycle: Contributing
3
2
4
3
We welcome code changes that improve this library or fix a problem, please make sure to follow all best practices and add tests if applicable before submitting a Pull Request on Github. We are very happy to merge your code in the official repository. Make sure to sign our [Contributor License Agreement (CLA)](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) first. See our license file for more details.
@@ -63,6 +62,34 @@ Recommended settings:
63
62
}
64
63
```
65
64
65
+
For Docker-based development, you can use:
66
+
67
+
```shell
68
+
$ make lint_with_docker # Run linters in Docker
69
+
$ make lint-fix_with_docker # Fix linting issues in Docker
70
+
$ make test_with_docker # Run tests in Docker
71
+
$ make check_with_docker # Run both linters and tests in Docker
72
+
$ make sorbet_with_docker # Run Sorbet type checker in Docker
73
+
```
74
+
75
+
You can customize the Ruby version used in Docker by setting the RUBY_VERSION variable:
76
+
77
+
```shell
78
+
$ RUBY_VERSION=3.1 make test_with_docker
79
+
```
80
+
81
+
By default, the API client connects to the production Stream Chat API. You can override this by setting the STREAM_CHAT_URL environment variable:
82
+
83
+
```shell
84
+
$ STREAM_CHAT_URL=http://localhost:3030 make test
85
+
```
86
+
87
+
When running tests in Docker, the `test_with_docker` command automatically sets up networking to allow the Docker container to access services running on your host machine via `host.docker.internal`. This is particularly useful for connecting to a local Stream Chat server:
88
+
89
+
```shell
90
+
$ STREAM_CHAT_URL=http://host.docker.internal:3030 make test_with_docker
91
+
```
92
+
66
93
### Commit message convention
67
94
68
95
This repository follows a commit message convention in order to automatically generate the [CHANGELOG](./CHANGELOG.md). Make sure you follow the rules of [conventional commits](https://www.conventionalcommits.org/) when opening a pull request.
0 commit comments