deimos-ruby 1.16.0 → 1.16.1

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: 2f1e9c8dc0d42ccbe5d9e8913532647e9b295349861b9383583ca2575c501793
4
- data.tar.gz: 4b77ed26c85469b0cb54c0dabdd17695a383210c6d00f3415a70ea17d35c0669
3
+ metadata.gz: 4567929aa6bd384c8660dba57a515c4ed3a2cd9ed68538b0ecadac9365a95ff0
4
+ data.tar.gz: a92f990d962472198909ed848edbc2525da9bc20e6cfb62ec10636ca518714ef
5
5
  SHA512:
6
- metadata.gz: 531da2cb0ff866c4c00f69c9e9047f516002c519004021530f589eaacd12f3e245f3b58d018350b5eb2454413331f45c693de3b7071667031be76ea10827bbc0
7
- data.tar.gz: dd39086104accf36bdcfd93a975cf58ef29526dd55cfadeae85fce4a6dbf21d77a242e92e7ca5976a7015d54eb339cd9ca5bd3de63368b54f87c5a38c5c0a566
6
+ metadata.gz: 4db26d8c81d484a1888c26079291d54b410aa71c472780a49ecc0f25bc395c9503c0cdfd53847b9f289b00d1467cea357f8946325e4a22bff4bbcf5658fd12a5
7
+ data.tar.gz: cfb9415e32cfb96447ea95e80e62d1364933de4d0fd436b29056e94455ccafa012de4f07b8e8549e6e759c3ae909873d3b9fe9b70502dc085c3dd3caac4c2393
data/CHANGELOG.md CHANGED
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## UNRELEASED
9
9
 
10
- # 1.16.0 - 2022-08-03
10
+ # 1.16.1 - 2022-08-03
11
11
 
12
12
  - Fix issues with `enum` schema classes (e.g. equality not working, `to_s` not working)
13
13
  - Changed assumption in the base schema class that it was a record (e.g. defining `to_h` instead of `as_json`). Moved record functionality to the record base class.
@@ -34,7 +34,7 @@ module Deimos
34
34
  end
35
35
 
36
36
  # :nodoc:
37
- def to_s
37
+ def inspect
38
38
  klass = self.class
39
39
  "#{klass}(#{self.as_json})"
40
40
  end
@@ -15,6 +15,11 @@ module Deimos
15
15
  other.is_a?(self.class) ? other.value == @value : other == @value
16
16
  end
17
17
 
18
+ # @return [String]
19
+ def to_s
20
+ @value.to_s
21
+ end
22
+
18
23
  # @param value [String]
19
24
  def initialize(value)
20
25
  @value = value
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '1.16.0'
4
+ VERSION = '1.16.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner