├── .github └── workflows │ ├── ci.yml │ └── gempush.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── .tool-versions ├── CODE_OF_CONDUCT.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin └── dry-behaviour-benchmark ├── dry-behaviour.gemspec ├── lib └── dry │ ├── behaviour.rb │ ├── behaviour │ ├── black_tie.rb │ ├── cerberus.rb │ └── version.rb │ ├── errors.rb │ └── errors │ ├── duplicate_definition.rb │ ├── malformed_definition.rb │ ├── not_guardable.rb │ ├── not_implemented.rb │ ├── not_matched.rb │ └── not_protocol.rb └── spec ├── benchmark └── guarded.rb ├── dry ├── behaviour_spec.rb └── guards_spec.rb └── spec_helper.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/gempush.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/.github/workflows/gempush.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: .rubocop_todo.yml 2 | 3 | Style/Documentation: 4 | Enabled: false 5 | -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | ruby 2.3.8 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/dry-behaviour-benchmark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/bin/dry-behaviour-benchmark -------------------------------------------------------------------------------- /dry-behaviour.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/dry-behaviour.gemspec -------------------------------------------------------------------------------- /lib/dry/behaviour.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/behaviour.rb -------------------------------------------------------------------------------- /lib/dry/behaviour/black_tie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/behaviour/black_tie.rb -------------------------------------------------------------------------------- /lib/dry/behaviour/cerberus.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/behaviour/cerberus.rb -------------------------------------------------------------------------------- /lib/dry/behaviour/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/behaviour/version.rb -------------------------------------------------------------------------------- /lib/dry/errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/errors.rb -------------------------------------------------------------------------------- /lib/dry/errors/duplicate_definition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/errors/duplicate_definition.rb -------------------------------------------------------------------------------- /lib/dry/errors/malformed_definition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/errors/malformed_definition.rb -------------------------------------------------------------------------------- /lib/dry/errors/not_guardable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/errors/not_guardable.rb -------------------------------------------------------------------------------- /lib/dry/errors/not_implemented.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/errors/not_implemented.rb -------------------------------------------------------------------------------- /lib/dry/errors/not_matched.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/errors/not_matched.rb -------------------------------------------------------------------------------- /lib/dry/errors/not_protocol.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/lib/dry/errors/not_protocol.rb -------------------------------------------------------------------------------- /spec/benchmark/guarded.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/spec/benchmark/guarded.rb -------------------------------------------------------------------------------- /spec/dry/behaviour_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/spec/dry/behaviour_spec.rb -------------------------------------------------------------------------------- /spec/dry/guards_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/spec/dry/guards_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/am-kantox/dry-behaviour/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------