├── .github ├── dependabot.yml └── workflows │ ├── codeql-analysis.yml │ └── test.yml ├── .gitignore ├── .simplecov ├── Changelog.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── checksums └── surrounded-1.1.1.gem.sha512 ├── examples ├── bottles.rb └── rails.rb ├── lib ├── surrounded.rb └── surrounded │ ├── access_control.rb │ ├── context.rb │ ├── context │ ├── forwarding.rb │ ├── initializing.rb │ ├── name_collision_detector.rb │ ├── negotiator.rb │ ├── role_builders.rb │ ├── role_map.rb │ ├── seclusion.rb │ └── trigger_controls.rb │ ├── east_oriented.rb │ ├── exceptions.rb │ ├── shortcuts.rb │ └── version.rb ├── surrounded.gemspec └── test ├── casting_test_helper.rb ├── collection_role_players_test.rb ├── context_access_test.rb ├── context_forwarding_test.rb ├── context_reuse_test.rb ├── context_shortcuts_test.rb ├── east_oriented_triggers_test.rb ├── example_delegate_class_test.rb ├── example_proxy_test.rb ├── example_threaded_test.rb ├── example_wrapper_test.rb ├── initialization_test.rb ├── name_collisions_test.rb ├── non_surrounded_role_player_test.rb ├── override_methods_test.rb ├── role_context_method_test.rb ├── surrounded_context_test.rb ├── surrounded_test.rb ├── test_helper.rb └── threaded_context_test.rb /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/.gitignore -------------------------------------------------------------------------------- /.simplecov: -------------------------------------------------------------------------------- 1 | SimpleCov.start do 2 | add_filter "test" 3 | end 4 | -------------------------------------------------------------------------------- /Changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/Changelog.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/Rakefile -------------------------------------------------------------------------------- /checksums/surrounded-1.1.1.gem.sha512: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/checksums/surrounded-1.1.1.gem.sha512 -------------------------------------------------------------------------------- /examples/bottles.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/examples/bottles.rb -------------------------------------------------------------------------------- /examples/rails.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/examples/rails.rb -------------------------------------------------------------------------------- /lib/surrounded.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded.rb -------------------------------------------------------------------------------- /lib/surrounded/access_control.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/access_control.rb -------------------------------------------------------------------------------- /lib/surrounded/context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/context.rb -------------------------------------------------------------------------------- /lib/surrounded/context/forwarding.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/context/forwarding.rb -------------------------------------------------------------------------------- /lib/surrounded/context/initializing.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/context/initializing.rb -------------------------------------------------------------------------------- /lib/surrounded/context/name_collision_detector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/context/name_collision_detector.rb -------------------------------------------------------------------------------- /lib/surrounded/context/negotiator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/context/negotiator.rb -------------------------------------------------------------------------------- /lib/surrounded/context/role_builders.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/context/role_builders.rb -------------------------------------------------------------------------------- /lib/surrounded/context/role_map.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/context/role_map.rb -------------------------------------------------------------------------------- /lib/surrounded/context/seclusion.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/context/seclusion.rb -------------------------------------------------------------------------------- /lib/surrounded/context/trigger_controls.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/context/trigger_controls.rb -------------------------------------------------------------------------------- /lib/surrounded/east_oriented.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/east_oriented.rb -------------------------------------------------------------------------------- /lib/surrounded/exceptions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/exceptions.rb -------------------------------------------------------------------------------- /lib/surrounded/shortcuts.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/shortcuts.rb -------------------------------------------------------------------------------- /lib/surrounded/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/lib/surrounded/version.rb -------------------------------------------------------------------------------- /surrounded.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/surrounded.gemspec -------------------------------------------------------------------------------- /test/casting_test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/casting_test_helper.rb -------------------------------------------------------------------------------- /test/collection_role_players_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/collection_role_players_test.rb -------------------------------------------------------------------------------- /test/context_access_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/context_access_test.rb -------------------------------------------------------------------------------- /test/context_forwarding_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/context_forwarding_test.rb -------------------------------------------------------------------------------- /test/context_reuse_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/context_reuse_test.rb -------------------------------------------------------------------------------- /test/context_shortcuts_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/context_shortcuts_test.rb -------------------------------------------------------------------------------- /test/east_oriented_triggers_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/east_oriented_triggers_test.rb -------------------------------------------------------------------------------- /test/example_delegate_class_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/example_delegate_class_test.rb -------------------------------------------------------------------------------- /test/example_proxy_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/example_proxy_test.rb -------------------------------------------------------------------------------- /test/example_threaded_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/example_threaded_test.rb -------------------------------------------------------------------------------- /test/example_wrapper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/example_wrapper_test.rb -------------------------------------------------------------------------------- /test/initialization_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/initialization_test.rb -------------------------------------------------------------------------------- /test/name_collisions_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/name_collisions_test.rb -------------------------------------------------------------------------------- /test/non_surrounded_role_player_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/non_surrounded_role_player_test.rb -------------------------------------------------------------------------------- /test/override_methods_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/override_methods_test.rb -------------------------------------------------------------------------------- /test/role_context_method_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/role_context_method_test.rb -------------------------------------------------------------------------------- /test/surrounded_context_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/surrounded_context_test.rb -------------------------------------------------------------------------------- /test/surrounded_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/surrounded_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/threaded_context_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saturnflyer/surrounded/HEAD/test/threaded_context_test.rb --------------------------------------------------------------------------------