rom-core 5.3.1 → 5.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ae6b01692488043cd86dd5455cae4f93beb7296adf0b76d8d74fac476aef8be
4
- data.tar.gz: 8274d534bc19583a6cbf6dfb007cdd49ed7855f0786bda5601f5e0bb94a90a6f
3
+ metadata.gz: b5e68490bae63d219c64bbe41960ea6bbbbdece0bc591db565cd3c944776c3dd
4
+ data.tar.gz: 6fd7e95b205623590c498a36965dc9a717eafe8bba4ed3a079004a8b9295e1cd
5
5
  SHA512:
6
- metadata.gz: 707b384f4b383bfd2dccbb2566eb48794f9ab39feca3f9b882e9787a6cc7abca250bb79197a264a18bd3db96836a4578fca8982b9f0c8e0bb9547aaf13c9ab10
7
- data.tar.gz: 98aafce85e3a9a5bd89ad4926d5e5bfe1778a8ddbfca59ac471a5ed857983492ca5ce91c898b1727447d78e67f49d45bdd793ba140c7f81c0cc14427230209cb
6
+ metadata.gz: b45737ce39e9e6b42d5a6231c521ea0aff6818595d70f8a5eb176518eb9ebf3f420e3353a1bbbb3538d593dbdb2fee51ecc429f11f3992891bb129a19bd2cdb7
7
+ data.tar.gz: c800a5b88a63d6a1dbe8f20f722a081db90b66cea2f88c0712180d32d046ab0f3f0336717556ead878fa1939484df64e6d756ed48e47fdfae6ba8cb6c6a6807a
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ROM
4
4
  module Core
5
- VERSION = '5.3.1'
5
+ VERSION = '5.3.2'
6
6
  end
7
7
  end
data/lib/rom/pipeline.rb CHANGED
@@ -81,12 +81,18 @@ module ROM
81
81
  # Base composite class with left-to-right pipeline behavior
82
82
  #
83
83
  # @api private
84
- class Composite
85
- (Kernel.private_instance_methods - %i[respond_to_missing? block_given?])
86
- .each(&method(:undef_method))
84
+ class Composite < ::BasicObject
85
+ %i[block_given? respond_to_missing?].each do |method|
86
+ define_method(method, ::Kernel.instance_method(method))
87
+ private method
88
+ end
89
+
90
+ %i[class to_s inspect is_a? instance_of? to_enum].each do |method|
91
+ define_method(method, ::Kernel.instance_method(method))
92
+ end
87
93
 
88
- include Dry::Equalizer(:left, :right)
89
- include Proxy
94
+ include ::Dry::Equalizer(:left, :right)
95
+ include ::ROM::Pipeline::Proxy
90
96
 
91
97
  # @api private
92
98
  attr_reader :left
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rom-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.1
4
+ version: 5.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-15 00:00:00.000000000 Z
11
+ date: 2024-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby