Chris Larsen

Results 13 issues of Chris Larsen

Until this past weekend, I thought that `Channels` were the only threadsafe way to share data between threads, but upon learning about the `Mutex` class, I think it would greatly...

enhancement

Something like webmock.cr, but for the local file system. It would be very useful for testing. Ruby has something called FakeFS, so it should be entirely possible.

I admittedly don't know much about SWIG, except that it's used to create wrappers/bindings for C libraries in other languages. Given that being able to create C bindings is one...

In Ruby, I had to use a third party service called Cronofy, and the gem that they wrote for using their service. I don't know if it's possible, but I'd...

Liquid does have a syntax for this, but I don't see it within this library. It is a very useful part of Liquid. https://shopify.github.io/liquid/tags/template/

I-enhancement

I'm not sure if this is intended behaviour or not, but Schedule.every doesn't compensate for the time it takes to execute the block. For instance, if you have a block...

Internet outages do happen, such as the nationwide internet outage we Canadians experienced a couple of weeks ago, so it would be very useful to be able to mock that...

On Linux, when running specs in an Amber app, no test database is created or migrated, resulting in an error of a missing database. Since the commands of `amber db...

This would operate similar to Rails' `fixture` folder, with the generator creating a file for each model generated, and those models being automatically included in the test files, to be...

kind:enhancement

When generating an API only resource, it generates the files for the model and the controller, but in the `spec` folder, it only generates specs for the model, not the...