wallaby-core 0.2.6 → 0.2.7

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: e40b4b93944ff58aa8a29b2ca4c270bf8f307e80cda249ab92a7fb895b38065f
4
- data.tar.gz: 9680891625a9f143d5d584b496e57985a75f893abb7486f7ebe2aa024797582a
3
+ metadata.gz: 561244424ca5d0d5b85b73dc39d9aefd5051c20a9301700f7579ec13692beeab
4
+ data.tar.gz: e69e6787f54fd2a1e6bc777679a2a4adfa6c473a074eba85fff9fcb781a5c757
5
5
  SHA512:
6
- metadata.gz: 8313351ca3ccf0d48d2d364c374ac806a44be93324c95e6d461d6e6a9f0922fc0e54d113a6ae4c7512dbdb88f9625eb5192d6cf60c7b1febc1f68fb9c91a89ab
7
- data.tar.gz: 719a0f01c66c28bdf0db046469af306d5939c9861b0f3073c36b2e92d7a659436e483e9b319b0d5a4ee345339e8b02e6f729b4da943fc3666a255cdac0eb1f4a
6
+ metadata.gz: a3801a6c6821c368283231242a3aea7904efe5607abf493ea6a78e7037a164d4694c5e943a5666bdb011e829a131a4a10224777c9244175ee5c7f0422a2c7d1d
7
+ data.tar.gz: dc87bb488d939082c4ab2417595cc40cc4c2cba003d59c2ce6a5c5a957a6edd88050ced518aa823972378c6a736568de64f54f03d6af6cebd21ed8335cd9e547
@@ -158,5 +158,11 @@ module Wallaby
158
158
  def respond_to_missing?(method_id, _include_private)
159
159
  resource.respond_to?(method_id) || super
160
160
  end
161
+
162
+ # @see https://github.com/rails/rails/compare/v7.0.2.4..7-0-stable#diff-44b94eca66c7497711821a8e6bcdfde4684bb7b8efa15e64da6532449f03ef0bR441
163
+ # @note This overwritten method is a response to the above change
164
+ def to_model
165
+ self
166
+ end
161
167
  end
162
168
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Wallaby
4
4
  module Core
5
- VERSION = '0.2.6' # :nodoc:
5
+ VERSION = '0.2.7' # :nodoc:
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wallaby-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tian Chen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-13 00:00:00.000000000 Z
11
+ date: 2022-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  - !ruby/object:Gem::Version
242
242
  version: '0'
243
243
  requirements: []
244
- rubygems_version: 3.0.3
244
+ rubygems_version: 3.1.6
245
245
  signing_key:
246
246
  specification_version: 4
247
247
  summary: The core of Wallaby