enumerations 1.3.1 → 1.3.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: 6cfe9acdaa6ea0ac0489fe0c92db8a0273d5d969dbe2063481cbbf191764ac9c
4
- data.tar.gz: bdfcdf71787a01105fcdd84d57b7339e9c7217c7ecc1ee689bdd741614648842
3
+ metadata.gz: 6c202450cd19bc9f524f6ef5756c44bd304a4ef6047d274abda8d165601b6e64
4
+ data.tar.gz: 61977fd20143ade7cb63242cc0b6098a981861783b412b62fa6b36e28b195f35
5
5
  SHA512:
6
- metadata.gz: e244b51917e0f7c4dedcde50c429333e2fb893b2965c397908e6974809415ef1b925b3293c0622842cbeea2e10e8cef134ebfc5620a44e5371dc61a9109b6e6f
7
- data.tar.gz: d72b6df24bc5c1122d85e32b0ebfcffb258816d1b7f8c615b33985c99220b86180a453d305b67245ce5e358b09e89c04b9ebdaa2973f2c5a0b4ea5401232927c
6
+ metadata.gz: 60cb0a9f041e566e090e7b26b5a099f912e6a63a94a652a165b1e83f1d71fd5b7d280c25ebe13e1bca12d16c4dd0407f8db736ad7893ec2ed491a21ef199ffbc
7
+ data.tar.gz: 04f4aff2e90b826b5e47022083c919d28f561b9370963b9c37251c83eb1101c68b1500624c3ef0e4e039c88465da46a1afe707cd5cda15778dfb47a4bae16ed4
@@ -152,7 +152,7 @@ module Enumeration
152
152
  # TODO: test if case..when is working with this
153
153
  def ==(other)
154
154
  case other
155
- when Fixnum then other == id
155
+ when Integer then other == id
156
156
  when Symbol then other == @symbol
157
157
  else super
158
158
  end
@@ -1,3 +1,3 @@
1
1
  module Enumeration
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enumerations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomislav Car