├── .devtools └── templates │ ├── changelog.erb │ └── release.erb ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug-report.md │ └── config.yml ├── SUPPORT.md └── workflows │ ├── ci.yml │ ├── docsite.yml │ ├── rubocop.yml │ └── sync_configs.yml ├── .gitignore ├── .repobot.yml ├── .rspec ├── .rubocop.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gemfile ├── Gemfile.devtools ├── LICENSE ├── README.md ├── Rakefile ├── bin └── .gitkeep ├── changelog.yml ├── docsite └── source │ ├── index.html.md │ ├── registry-and-resolver.html.md │ └── testing.html.md ├── dry-container.gemspec ├── gemspec ├── lib ├── dry-container.rb └── dry │ ├── container.rb │ └── container │ ├── error.rb │ ├── item.rb │ ├── item │ ├── callable.rb │ ├── factory.rb │ └── memoizable.rb │ ├── mixin.rb │ ├── namespace.rb │ ├── namespace_dsl.rb │ ├── registry.rb │ ├── resolver.rb │ ├── stub.rb │ └── version.rb ├── project.yml └── spec ├── integration ├── container_spec.rb └── mixin_spec.rb ├── spec_helper.rb └── support ├── coverage.rb ├── rspec_options.rb ├── shared_examples └── container.rb └── warnings.rb /.devtools/templates/changelog.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.devtools/templates/changelog.erb -------------------------------------------------------------------------------- /.devtools/templates/release.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.devtools/templates/release.erb -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: hanami 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.github/SUPPORT.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/docsite.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.github/workflows/docsite.yml -------------------------------------------------------------------------------- /.github/workflows/rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.github/workflows/rubocop.yml -------------------------------------------------------------------------------- /.github/workflows/sync_configs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.github/workflows/sync_configs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.gitignore -------------------------------------------------------------------------------- /.repobot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.repobot.yml -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.rspec -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.devtools: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/Gemfile.devtools -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /changelog.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/changelog.yml -------------------------------------------------------------------------------- /docsite/source/index.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/docsite/source/index.html.md -------------------------------------------------------------------------------- /docsite/source/registry-and-resolver.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/docsite/source/registry-and-resolver.html.md -------------------------------------------------------------------------------- /docsite/source/testing.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/docsite/source/testing.html.md -------------------------------------------------------------------------------- /dry-container.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/dry-container.gemspec -------------------------------------------------------------------------------- /gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/gemspec -------------------------------------------------------------------------------- /lib/dry-container.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "dry/container" 4 | -------------------------------------------------------------------------------- /lib/dry/container.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container.rb -------------------------------------------------------------------------------- /lib/dry/container/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/error.rb -------------------------------------------------------------------------------- /lib/dry/container/item.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/item.rb -------------------------------------------------------------------------------- /lib/dry/container/item/callable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/item/callable.rb -------------------------------------------------------------------------------- /lib/dry/container/item/factory.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/item/factory.rb -------------------------------------------------------------------------------- /lib/dry/container/item/memoizable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/item/memoizable.rb -------------------------------------------------------------------------------- /lib/dry/container/mixin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/mixin.rb -------------------------------------------------------------------------------- /lib/dry/container/namespace.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/namespace.rb -------------------------------------------------------------------------------- /lib/dry/container/namespace_dsl.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/namespace_dsl.rb -------------------------------------------------------------------------------- /lib/dry/container/registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/registry.rb -------------------------------------------------------------------------------- /lib/dry/container/resolver.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/resolver.rb -------------------------------------------------------------------------------- /lib/dry/container/stub.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/stub.rb -------------------------------------------------------------------------------- /lib/dry/container/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/lib/dry/container/version.rb -------------------------------------------------------------------------------- /project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/project.yml -------------------------------------------------------------------------------- /spec/integration/container_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/spec/integration/container_spec.rb -------------------------------------------------------------------------------- /spec/integration/mixin_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/spec/integration/mixin_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/coverage.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/spec/support/coverage.rb -------------------------------------------------------------------------------- /spec/support/rspec_options.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/spec/support/rspec_options.rb -------------------------------------------------------------------------------- /spec/support/shared_examples/container.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/spec/support/shared_examples/container.rb -------------------------------------------------------------------------------- /spec/support/warnings.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-container/HEAD/spec/support/warnings.rb --------------------------------------------------------------------------------