├── .credo.exs ├── .formatter.exs ├── .github └── workflows │ ├── ci.yml │ └── release.yml ├── .gitignore ├── .tool-versions ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── brex.sublime-project ├── bump_version ├── config └── config.exs ├── coveralls.json ├── lib ├── brex.ex └── brex │ ├── operator.ex │ ├── operator │ ├── aggregator.ex │ └── defaults.ex │ ├── result.ex │ ├── result │ ├── formatter.ex │ └── formatter │ │ └── rules.ex │ ├── rule.ex │ ├── rule │ ├── function.ex │ ├── module.ex │ └── struct.ex │ └── types.ex ├── mix.exs ├── mix.lock ├── spec ├── brex │ ├── operator │ │ └── aggregator_spec.exs │ ├── operator_spec.exs │ ├── result │ │ └── formatter │ │ │ └── rules_spec.exs │ ├── rule │ │ ├── function_spec.exs │ │ ├── module_spec.exs │ │ └── struct_spec.exs │ └── rule_spec.exs ├── brex_spec.exs ├── shared │ ├── evaluate_spec.exs │ └── is_rule_spec.exs ├── spec_helper.exs └── support │ ├── assertions │ ├── rule.ex │ └── rule │ │ ├── be_rule.ex │ │ └── satisfy_rule.ex │ └── rules │ └── struct │ └── equals_rule.ex └── version /.credo.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/.credo.exs -------------------------------------------------------------------------------- /.formatter.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/.formatter.exs -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/.gitignore -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | elixir 1.8.2 2 | erlang 22.3.4.12 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/README.md -------------------------------------------------------------------------------- /brex.sublime-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/brex.sublime-project -------------------------------------------------------------------------------- /bump_version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/bump_version -------------------------------------------------------------------------------- /config/config.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/config/config.exs -------------------------------------------------------------------------------- /coveralls.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/coveralls.json -------------------------------------------------------------------------------- /lib/brex.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex.ex -------------------------------------------------------------------------------- /lib/brex/operator.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/operator.ex -------------------------------------------------------------------------------- /lib/brex/operator/aggregator.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/operator/aggregator.ex -------------------------------------------------------------------------------- /lib/brex/operator/defaults.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/operator/defaults.ex -------------------------------------------------------------------------------- /lib/brex/result.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/result.ex -------------------------------------------------------------------------------- /lib/brex/result/formatter.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/result/formatter.ex -------------------------------------------------------------------------------- /lib/brex/result/formatter/rules.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/result/formatter/rules.ex -------------------------------------------------------------------------------- /lib/brex/rule.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/rule.ex -------------------------------------------------------------------------------- /lib/brex/rule/function.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/rule/function.ex -------------------------------------------------------------------------------- /lib/brex/rule/module.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/rule/module.ex -------------------------------------------------------------------------------- /lib/brex/rule/struct.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/rule/struct.ex -------------------------------------------------------------------------------- /lib/brex/types.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/lib/brex/types.ex -------------------------------------------------------------------------------- /mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/mix.exs -------------------------------------------------------------------------------- /mix.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/mix.lock -------------------------------------------------------------------------------- /spec/brex/operator/aggregator_spec.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/brex/operator/aggregator_spec.exs -------------------------------------------------------------------------------- /spec/brex/operator_spec.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/brex/operator_spec.exs -------------------------------------------------------------------------------- /spec/brex/result/formatter/rules_spec.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/brex/result/formatter/rules_spec.exs -------------------------------------------------------------------------------- /spec/brex/rule/function_spec.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/brex/rule/function_spec.exs -------------------------------------------------------------------------------- /spec/brex/rule/module_spec.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/brex/rule/module_spec.exs -------------------------------------------------------------------------------- /spec/brex/rule/struct_spec.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/brex/rule/struct_spec.exs -------------------------------------------------------------------------------- /spec/brex/rule_spec.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/brex/rule_spec.exs -------------------------------------------------------------------------------- /spec/brex_spec.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/brex_spec.exs -------------------------------------------------------------------------------- /spec/shared/evaluate_spec.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/shared/evaluate_spec.exs -------------------------------------------------------------------------------- /spec/shared/is_rule_spec.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/shared/is_rule_spec.exs -------------------------------------------------------------------------------- /spec/spec_helper.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/spec_helper.exs -------------------------------------------------------------------------------- /spec/support/assertions/rule.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/support/assertions/rule.ex -------------------------------------------------------------------------------- /spec/support/assertions/rule/be_rule.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/support/assertions/rule/be_rule.ex -------------------------------------------------------------------------------- /spec/support/assertions/rule/satisfy_rule.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/support/assertions/rule/satisfy_rule.ex -------------------------------------------------------------------------------- /spec/support/rules/struct/equals_rule.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexocode/brex/HEAD/spec/support/rules/struct/equals_rule.ex -------------------------------------------------------------------------------- /version: -------------------------------------------------------------------------------- 1 | 1.0.0 2 | --------------------------------------------------------------------------------