Results 22 issues of Lovro Bikić

Rails added support for check constraints (https://github.com/rails/rails/pull/31323), so I thought it would be nice if we could annotate them in models. This PR adds annotation of check constraints with an...

Since there is interest in having deploy logs (https://github.com/mina-deploy/mina/issues/653, https://github.com/mina-deploy/mina/pull/531, https://github.com/mina-deploy/mina/issues/553), we should plan for such a feature. It should record to the server every invocation of `mina deploy` and...

enhancement

Mina currently supplies tasks for version managers `chruby`, `rbenv`, `rvm` and `ry`. Since there is interest in supporting other managers (see https://github.com/mina-deploy/mina/pull/625, https://github.com/mina-deploy/mina/pull/667), we've decided to extract all version manager...

enhancement

Mina by default cleans up everything in the build path. This is okay for successful deploys, but it can be a problem for failed deploys because it doesn't allow inspection...

enhancement

Readme should document supported operating systems (those which have been tested) and system prerequisities (mainly OpenSSH).

add to documentation

Mina has a feature which allows overriding variables (set using `set` method) with environment variables, e.g. `rails_env=production mina deploy` will override `rails_env` variable set in `config/deploy.rb`. While this is a...

enhancement

### Motivation / Background Active Storage S3 service currently supports uploading objects with [SSE-C (server-side encryption with customer-provided keys)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html): ```yml # config/storage.yml s3: service: S3 upload: sse_customer_algorithm: AES256 sse_customer_key: KEY...

docs
activestorage

Fixes calling `CombinePDF.parse` with a frozen string. Currently, `CombinePDF.parse(some_frozen_pdf_string)` results in a `FrozenError`.

I'm not reporting this as a bug per se, only as an inconsistency which I think hurts DX a bit. In the description below, I'm going to refer to these...

stale

Adds new cop to identify places where expressions with `Enumerable#count` can be replaced with an appropriate predicate method. The cop will register code such as: ```ruby x.count.positive? x.count > 0...