pack_api 1.0.7 → 1.0.8

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: 8ccbe0cae8d0c9aa1d33d9a6a87c2a2b13ba845f5f5718732ae0f61a4d289a5c
4
- data.tar.gz: f2d58a151ff7f8fc091d9490f0289572eb812e644dc9313ec34285a991c4f5dc
3
+ metadata.gz: 784af200098fcaa5ffa86674a586c11a9a3410f17b2658a46833d73272600f2f
4
+ data.tar.gz: 38b3eb6db6c72f6873ba9252fba69928fa56ee6357db5bc082deac4d00261e07
5
5
  SHA512:
6
- metadata.gz: 7ddbbf0acc0ddfb04e8915bb8779f95d9386928b7aa4adbdb74bb3c447be677013b59f5b4dcff6cfcfe2ce20885b7dc82ca0f8209c886792aee8eb477e305733
7
- data.tar.gz: cd3421835a51bcef01e36c1291d47e80e5339d8c754100655ae3de731e245957113cbf776fd5fd2ced4ce93e2b5e80a4b5f608b1237a5063fa77511976975be2
6
+ metadata.gz: 135a73317b615ed864d254c68ffaef8e52c80abfdfbed77a15fa6867c11474fd9bb93524899698b5d4981e8e6cf089c4e65cc6be6bddf0c51214e3c0567d9052
7
+ data.tar.gz: 29b2b95cab2ae33092c383b03992ccc3c3f0e464c54235c06e9ee3425b11d12ab7a1c830450a4b4320158d555e977c7da8e32485a178661271e585b2dac1d21a
@@ -3,10 +3,9 @@
3
3
  module PackAPI::Types
4
4
  class BaseType < Dry::Struct
5
5
  @optional_attributes = []
6
- @filterable_attributes = {}
7
6
 
8
7
  def self.inherited(subclass)
9
- subclass.instance_variable_set(:@optional_attributes, [])
8
+ subclass.instance_variable_set(:@optional_attributes, @optional_attributes.dup)
10
9
  super
11
10
  end
12
11
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PackAPI
4
- VERSION = "1.0.7"
4
+ VERSION = "1.0.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pack_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flytedesk