lws 9.0.1 → 9.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb45ec2506f9fd04eb49e0c1f93963abbf26d3ab0ee3c613fd9912a799f190ca
4
- data.tar.gz: 493c7dce245f07ca9715ac954078edabefd4d5771c69023f04b1710bd4bf22b7
3
+ metadata.gz: 79de0146785b0838a7841f343e1fd37b602efdb7c6bb566befce04ac32a07281
4
+ data.tar.gz: 71e2f9a348e48af15bc37f241ddfb3881973361d388754b81a224ffe55da898a
5
5
  SHA512:
6
- metadata.gz: e0d79ee284170f38c5be9ab66fc5a5c67e2fbcf85593d0cde02c73a1e6df0d10379f8ef76778bb5c0a8aff73d6ed750c119466c1038192ed3466bc5601162ccd
7
- data.tar.gz: eaddf89999075ac539ada4c691f741724dc44b5b4a5cccb854e90b923243a62a49044e5114989064c409fbf411e565b8873b965ac5a0fa09d05185f31d09c47d
6
+ metadata.gz: 5bc54b5ef614447d7d38c363b621a20d6a542eb9966f07e05a9ff09c7f81d196651b3515743f80149088ee35f056060fe59f86a1c63328f136b1bbe0a7c6e494
7
+ data.tar.gz: 7d0d5414dff5c32164c73d185cf8f3dad902e32dce64dbe0bf35ca5de1bce4a989705986ec8d4f439f171793137d3c1a302d33677c273c2581f39d1fc8ae02bc
@@ -101,7 +101,7 @@ module LWS::Generic
101
101
 
102
102
  alias_method :"orig_#{name_sing}_ids=", :"#{name_sing}_ids="
103
103
  define_method(:"#{name_sing}_ids=") do |ids|
104
- unless ids.reject(&:blank?) == send(:"#{name_sing}_ids")
104
+ if persisted? && ids.reject(&:blank?) != send(:"#{name_sing}_ids")
105
105
  send(:"#{name_sing}_ids_will_change!")
106
106
  end
107
107
  send(:"orig_#{name_sing}_ids=", ids)
data/lib/lws/version.rb CHANGED
@@ -14,6 +14,6 @@ module LWS
14
14
 
15
15
  # The LWS library version.
16
16
  # @note The major and minor version parts match the LWS API version!
17
- VERSION = "9.0.1".freeze
17
+ VERSION = "9.0.2".freeze
18
18
 
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lws
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.1
4
+ version: 9.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - LeftClick B.V.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-24 00:00:00.000000000 Z
11
+ date: 2024-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday-http-cache