Sha256: c00a8c917c44201d7163f64695d633bd885aa707ca7be7389683ce15b0cf866d

Contents?: true

Size: 1.01 KB

Versions: 8

Compression:

Stored size: 1.01 KB

Contents

# frozen_string_literal: true

##
# @internal
#   NOTE:
#     Copied from `rails/rails` with some logic modification.
#     Version: v7.0.4.3.
#     Wrapped in a namespace `ConvenientService::Dependencies::Extractions::ActiveSupportConcern`.
#     Added `instance_methods` that works in a similar way as `class_methods`.
#     Also `ClassMethods` (and `InstanceMethods`) are loaded after `included` block, not as in the original implementation.
#
#   - https://github.com/rails/rails/blob/v7.0.4.3/activesupport/lib/active_support/concern.rb
#   - https://github.com/marian13/rails/blob/v7.0.4.3/activesupport/lib/active_support/concern.rb
#   - https://github.com/rails/rails
#
#   NOTE: It is ok that `MultipleIncludedBlocks` and `MultiplePrependBlocks` inherit from `StandardError` since dependencies are on the lower layer.
#
#   TODO: Move `Concern` to support? Rescue and reraise errors?
#   - https://github.com/marian13/convenient_service/wiki/Design:-Communication-Graph
#
require_relative "active_support_concern/concern"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/dependencies/extractions/active_support_concern.rb
convenient_service-0.19.0 lib/convenient_service/dependencies/extractions/active_support_concern.rb
convenient_service-0.18.0 lib/convenient_service/dependencies/extractions/active_support_concern.rb
convenient_service-0.17.0 lib/convenient_service/dependencies/extractions/active_support_concern.rb
convenient_service-0.16.0 lib/convenient_service/dependencies/extractions/active_support_concern.rb
convenient_service-0.15.0 lib/convenient_service/dependencies/extractions/active_support_concern.rb
convenient_service-0.14.0 lib/convenient_service/dependencies/extractions/active_support_concern.rb
convenient_service-0.13.0 lib/convenient_service/dependencies/extractions/active_support_concern.rb