├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug-report.md │ └── config.yml ├── SUPPORT.md └── workflows │ ├── ci.yml │ └── rubocop.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gemfile ├── Gemfile.devtools ├── LICENSE ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── .gitkeep ├── console └── setup ├── docsite └── source │ ├── cache.html.md │ ├── classes.html.md │ ├── classes │ ├── class-attributes.html.md │ └── class-builder.html.md │ ├── constants.html.md │ ├── deprecations.html.md │ ├── equalizer.html.md │ ├── extensions.html.md │ └── index.html.md ├── dry-core.gemspec ├── lib ├── dry-core.rb └── dry │ ├── core.rb │ └── core │ ├── basic_object.rb │ ├── cache.rb │ ├── class_attributes.rb │ ├── class_builder.rb │ ├── constants.rb │ ├── container.rb │ ├── container │ ├── config.rb │ ├── configuration.rb │ ├── item.rb │ ├── item │ │ ├── callable.rb │ │ ├── factory.rb │ │ └── memoizable.rb │ ├── mixin.rb │ ├── namespace.rb │ ├── namespace_dsl.rb │ ├── registry.rb │ ├── resolver.rb │ └── stub.rb │ ├── deprecations.rb │ ├── descendants_tracker.rb │ ├── equalizer.rb │ ├── errors.rb │ ├── extensions.rb │ ├── inflector.rb │ ├── memoizable.rb │ └── version.rb ├── repo-sync.yml └── spec ├── dry ├── container_spec.rb ├── core │ ├── basic_object_spec.rb │ ├── cache_spec.rb │ ├── class_attributes_spec.rb │ ├── class_builder_spec.rb │ ├── constants_spec.rb │ ├── container │ │ └── mixin_spec.rb │ ├── deprecations_spec.rb │ ├── descendants_tracker_spec.rb │ ├── equalizer │ │ ├── included_spec.rb │ │ ├── legacy_name_spec.rb │ │ ├── methods │ │ │ ├── eql_predicate_spec.rb │ │ │ └── equality_operator_spec.rb │ │ └── universal_spec.rb │ ├── extensions_spec.rb │ ├── inflector_spec.rb │ └── memoizable_spec.rb └── core_spec.rb ├── fixtures └── project.rb ├── spec_helper.rb └── support ├── coverage.rb ├── memoized.rb ├── rspec.rb ├── shared_examples ├── container.rb └── memoizable.rb └── warnings.rb /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: hanami 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/.github/SUPPORT.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/.github/workflows/rubocop.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/.rspec -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.devtools: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/Gemfile.devtools -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/bin/setup -------------------------------------------------------------------------------- /docsite/source/cache.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/docsite/source/cache.html.md -------------------------------------------------------------------------------- /docsite/source/classes.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/docsite/source/classes.html.md -------------------------------------------------------------------------------- /docsite/source/classes/class-attributes.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/docsite/source/classes/class-attributes.html.md -------------------------------------------------------------------------------- /docsite/source/classes/class-builder.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/docsite/source/classes/class-builder.html.md -------------------------------------------------------------------------------- /docsite/source/constants.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/docsite/source/constants.html.md -------------------------------------------------------------------------------- /docsite/source/deprecations.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/docsite/source/deprecations.html.md -------------------------------------------------------------------------------- /docsite/source/equalizer.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/docsite/source/equalizer.html.md -------------------------------------------------------------------------------- /docsite/source/extensions.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/docsite/source/extensions.html.md -------------------------------------------------------------------------------- /docsite/source/index.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/docsite/source/index.html.md -------------------------------------------------------------------------------- /dry-core.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/dry-core.gemspec -------------------------------------------------------------------------------- /lib/dry-core.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "dry/core" 4 | -------------------------------------------------------------------------------- /lib/dry/core.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core.rb -------------------------------------------------------------------------------- /lib/dry/core/basic_object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/basic_object.rb -------------------------------------------------------------------------------- /lib/dry/core/cache.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/cache.rb -------------------------------------------------------------------------------- /lib/dry/core/class_attributes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/class_attributes.rb -------------------------------------------------------------------------------- /lib/dry/core/class_builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/class_builder.rb -------------------------------------------------------------------------------- /lib/dry/core/constants.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/constants.rb -------------------------------------------------------------------------------- /lib/dry/core/container.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container.rb -------------------------------------------------------------------------------- /lib/dry/core/container/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/config.rb -------------------------------------------------------------------------------- /lib/dry/core/container/configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/configuration.rb -------------------------------------------------------------------------------- /lib/dry/core/container/item.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/item.rb -------------------------------------------------------------------------------- /lib/dry/core/container/item/callable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/item/callable.rb -------------------------------------------------------------------------------- /lib/dry/core/container/item/factory.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/item/factory.rb -------------------------------------------------------------------------------- /lib/dry/core/container/item/memoizable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/item/memoizable.rb -------------------------------------------------------------------------------- /lib/dry/core/container/mixin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/mixin.rb -------------------------------------------------------------------------------- /lib/dry/core/container/namespace.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/namespace.rb -------------------------------------------------------------------------------- /lib/dry/core/container/namespace_dsl.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/namespace_dsl.rb -------------------------------------------------------------------------------- /lib/dry/core/container/registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/registry.rb -------------------------------------------------------------------------------- /lib/dry/core/container/resolver.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/resolver.rb -------------------------------------------------------------------------------- /lib/dry/core/container/stub.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/container/stub.rb -------------------------------------------------------------------------------- /lib/dry/core/deprecations.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/deprecations.rb -------------------------------------------------------------------------------- /lib/dry/core/descendants_tracker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/descendants_tracker.rb -------------------------------------------------------------------------------- /lib/dry/core/equalizer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/equalizer.rb -------------------------------------------------------------------------------- /lib/dry/core/errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/errors.rb -------------------------------------------------------------------------------- /lib/dry/core/extensions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/extensions.rb -------------------------------------------------------------------------------- /lib/dry/core/inflector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/inflector.rb -------------------------------------------------------------------------------- /lib/dry/core/memoizable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/memoizable.rb -------------------------------------------------------------------------------- /lib/dry/core/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/lib/dry/core/version.rb -------------------------------------------------------------------------------- /repo-sync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/repo-sync.yml -------------------------------------------------------------------------------- /spec/dry/container_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/container_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/basic_object_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/basic_object_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/cache_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/cache_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/class_attributes_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/class_attributes_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/class_builder_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/class_builder_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/constants_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/constants_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/container/mixin_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/container/mixin_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/deprecations_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/deprecations_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/descendants_tracker_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/descendants_tracker_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/equalizer/included_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/equalizer/included_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/equalizer/legacy_name_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/equalizer/legacy_name_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/equalizer/methods/eql_predicate_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/equalizer/methods/eql_predicate_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/equalizer/methods/equality_operator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/equalizer/methods/equality_operator_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/equalizer/universal_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/equalizer/universal_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/extensions_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/extensions_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/inflector_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/inflector_spec.rb -------------------------------------------------------------------------------- /spec/dry/core/memoizable_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core/memoizable_spec.rb -------------------------------------------------------------------------------- /spec/dry/core_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/dry/core_spec.rb -------------------------------------------------------------------------------- /spec/fixtures/project.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/fixtures/project.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/coverage.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/support/coverage.rb -------------------------------------------------------------------------------- /spec/support/memoized.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/support/memoized.rb -------------------------------------------------------------------------------- /spec/support/rspec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/support/rspec.rb -------------------------------------------------------------------------------- /spec/support/shared_examples/container.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/support/shared_examples/container.rb -------------------------------------------------------------------------------- /spec/support/shared_examples/memoizable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/support/shared_examples/memoizable.rb -------------------------------------------------------------------------------- /spec/support/warnings.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-core/HEAD/spec/support/warnings.rb --------------------------------------------------------------------------------