- Fork it ( https://github.com/stefanwille/crystal-redis/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Run the spec
- Run "rake" to make sure that the examples still work
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
To run the spec, you need a Redis 4 server on localhost
/ port 6379
(which is the default port).
The server also needs to accept Unix domain connections at /tmp/redis.sock
. This means that you need the following two lines in your redis.conf
:
unixsocket /tmp/redis.sock
unixsocketperm 755
Run the spec as usual via
$ crystal spec