eight_ball 3.3.2 → 3.3.3

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: 8b9dcfc459f280769679dbe39a36be388579403e1ea81700ecdb1f78ad42db30
4
- data.tar.gz: e819abeae5c7d236f7c08b05c10069d0bbeb76210da389077d2621d0cb558227
3
+ metadata.gz: 3bfc17cd0254babae1c44b36250b03b7d03c9dd1bd0f694b4e502e8c38fb7f24
4
+ data.tar.gz: e9a30c977f05d0e2827092942e827582d61cd8d2972744125d548b4689ae965a
5
5
  SHA512:
6
- metadata.gz: b0d24c2ec843bfa235da786579a36fadff617cfbe3abbb0be7085b5b26b7f445a98c81e3a3b1e1f6747698130a894ad418134d41193f94edfd4fa1dfde1ab200
7
- data.tar.gz: 1629b60c02126692d6a2c63fe0fd58d66b2d1e5e99e65f117b0e989852d2def11fc996f6e9f16848f8133ffb6691642606a53e86396e584e66b6c1d82381d41c
6
+ metadata.gz: e304c3d496a393cfb98728aee14093f6fb67cdf4d07c90e8a18b51616f48025460be8e006287cc192f756b647ea35995059055ba195fdb22a5fa16fe916d3988
7
+ data.tar.gz: e0f69c67ed4b8e53d9501174b49b46a75148b137bb06a4601a3fe3ef090172ec7504a348d56f6a995b6770d8f3bbafe2e65a8039ae5d6816b92e8e902b4bea45
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.3.3]
4
+
5
+ - Add `.compact` before each `.map(&:to_wire)` so stray nil conditions are
6
+ dropped instead of blowing up serialization
7
+
3
8
  ## [3.3.2]
4
9
 
5
10
  - Fix the `tag-and-release` workflow to create the release tag with the `rewind-community-tagger` GitHub App token (`TAGGER_APP_ID`/`TAGGER_PRIVATE_KEY`) instead of the default `GITHUB_TOKEN`, which the organization `rewind-tag` ruleset does not permit to create `v*` tags (the previous release failed with `Reference update failed`).
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eight_ball (3.3.2)
4
+ eight_ball (3.3.3)
5
5
  awrence (~> 1.1)
6
6
  logger (~> 1.7)
7
7
  plissken (~> 1.2)
@@ -105,8 +105,11 @@ module EightBall::Marshallers
105
105
  name: feature.name
106
106
  }
107
107
 
108
- hash[:enabled_for] = feature.enabled_for.map(&:to_wire) unless feature.enabled_for.empty?
109
- hash[:disabled_for] = feature.disabled_for.map(&:to_wire) unless feature.disabled_for.empty?
108
+ enabled_for = feature.enabled_for.compact
109
+ hash[:enabled_for] = enabled_for.map(&:to_wire) unless enabled_for.empty?
110
+
111
+ disabled_for = feature.disabled_for.compact
112
+ hash[:disabled_for] = disabled_for.map(&:to_wire) unless disabled_for.empty?
110
113
  hash[:metadata] = feature.metadata unless feature.metadata.nil?
111
114
 
112
115
  hash
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EightBall
4
- VERSION = '3.3.2'
4
+ VERSION = '3.3.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eight_ball
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rewind.io