├── .github ├── FUNDING.yml └── workflows │ └── test.yml ├── .gitignore ├── .rspec ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── SECURITY.md ├── bin ├── console └── setup ├── gemfiles ├── rails_7_0.gemfile ├── rails_7_1.gemfile ├── rails_7_2.gemfile ├── rails_8_0.gemfile └── rails_edge.gemfile ├── lib ├── union_of.rb └── union_of │ ├── association.rb │ ├── builder.rb │ ├── macro.rb │ ├── preloader.rb │ ├── preloader │ └── association.rb │ ├── railtie.rb │ ├── readonly_association.rb │ ├── readonly_association_proxy.rb │ ├── reflection.rb │ ├── scope.rb │ └── version.rb ├── spec ├── spec_helper.rb └── union_of_spec.rb └── union_of.gemspec /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: ezekg -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/Rakefile -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/SECURITY.md -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/bin/setup -------------------------------------------------------------------------------- /gemfiles/rails_7_0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/gemfiles/rails_7_0.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_7_1.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/gemfiles/rails_7_1.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_7_2.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/gemfiles/rails_7_2.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_8_0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/gemfiles/rails_8_0.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_edge.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/gemfiles/rails_edge.gemfile -------------------------------------------------------------------------------- /lib/union_of.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of.rb -------------------------------------------------------------------------------- /lib/union_of/association.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of/association.rb -------------------------------------------------------------------------------- /lib/union_of/builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of/builder.rb -------------------------------------------------------------------------------- /lib/union_of/macro.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of/macro.rb -------------------------------------------------------------------------------- /lib/union_of/preloader.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of/preloader.rb -------------------------------------------------------------------------------- /lib/union_of/preloader/association.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of/preloader/association.rb -------------------------------------------------------------------------------- /lib/union_of/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of/railtie.rb -------------------------------------------------------------------------------- /lib/union_of/readonly_association.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of/readonly_association.rb -------------------------------------------------------------------------------- /lib/union_of/readonly_association_proxy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of/readonly_association_proxy.rb -------------------------------------------------------------------------------- /lib/union_of/reflection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of/reflection.rb -------------------------------------------------------------------------------- /lib/union_of/scope.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/lib/union_of/scope.rb -------------------------------------------------------------------------------- /lib/union_of/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module UnionOf 4 | VERSION = '1.0.1' 5 | end 6 | -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/union_of_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/spec/union_of_spec.rb -------------------------------------------------------------------------------- /union_of.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/union_of/HEAD/union_of.gemspec --------------------------------------------------------------------------------