Sha256: 57c1ec283032fbb5911dadf92835f8cb646daa1fe533304a3342d335f16cd756

Contents?: true

Size: 1.1 KB

Versions: 62

Compression:

Stored size: 1.1 KB

Contents

# Contributing to Phlex

## Priorities

We’re trying to provide the best possible developer experience for the people using Phlex in their apps and the best possible performance for the users of those apps.

Phlex is incredibly complex and requires a lot of meta-programming but when you use it, it feels simple. Phlex views feel like plain old Ruby objects. You just subclass and define a couple of methods. That’s it. That’s how it should be.

## Setup

- Install dependencies `bundle install`
- Run the tests `bundle exec sus`
- Run Rubocop and auto-correct `bundle exec rubocop -A`

## Tests

We use the **[Sus](https://github.com/ioquatix/sus)** testing framework. It feels a bit like RSpec with a few small differences. There’s no documentation for Sus at the moment, but you should be able to pick up the basics from reading other tests or looking at the implementation in the Sus repo.

You can run all the tests with `bundle exec sus`.

## Documentation

Documentation is deployed when it’s merged into the `latest` branch with a release. But you can build and preview the docs locally by running `bin/docs`.

Version data entries

62 entries across 62 versions & 2 rubygems

Version Path
phlex-1.4.2 CONTRIBUTING.md
phlex-1.5.3 CONTRIBUTING.md
phlex-1.6.3 CONTRIBUTING.md
phlex-1.7.2 CONTRIBUTING.md
phlex-1.8.3 CONTRIBUTING.md
phlex-rails-1.1.2 CONTRIBUTING.md
phlex-1.0.1 CONTRIBUTING.md
phlex-1.1.1 CONTRIBUTING.md
phlex-1.2.2 CONTRIBUTING.md
phlex-1.3.3 CONTRIBUTING.md
phlex-1.4.1 CONTRIBUTING.md
phlex-1.5.2 CONTRIBUTING.md
phlex-1.6.2 CONTRIBUTING.md
phlex-1.7.1 CONTRIBUTING.md
phlex-1.8.2 CONTRIBUTING.md
phlex-rails-1.1.1 CONTRIBUTING.md
phlex-rails-1.1.0 CONTRIBUTING.md
phlex-1.8.1 CONTRIBUTING.md
phlex-rails-1.0.0 CONTRIBUTING.md
phlex-1.8.0 CONTRIBUTING.md