bitfab 0.57.2 → 0.57.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: '054905de819e592d260f623159ed33c50c6062e24a35f28005940005c45c8652'
4
- data.tar.gz: fbf28893c51b904efc74fc2d880d375df4c2d8cd6af46b2421d554083e706a87
3
+ metadata.gz: e0ff237a0edb323605b58c1b1e9befb6b82f905c6182eae3b18834ef2aa74572
4
+ data.tar.gz: 226b86cb062a7f040bd7c22ed2a20536419434c788db9de103e8db81481f5778
5
5
  SHA512:
6
- metadata.gz: 0d5dfb24ef74d933781ad9b6f8d445583dceffcfe0eaf5189b9ba2ec2405b5ef4b108ed828ea8fbb42c66f3bd3e82d171f88d873bb77ae99640185fcbbacf01c
7
- data.tar.gz: f5509659a2e3f8d8df265d3abba09b106f6553bce8b7d1d9c4227d43c10f58ad74b01400f102e6140d2b37d6a8f518217a11a5914269b7a1a1de779489e0bcf0
6
+ metadata.gz: 90543732de9630e51151d2bebe23ad1a8947de7571d94ecd4c5d697cf6d194029d97722bddc460901628d3f9deefe47c09555150188bc5f3c1ad277ef3b3f43a
7
+ data.tar.gz: 6aa001f7731011af814280047cfd83e15060a91458dd92d5b7ef2078049cb7bddca00250895ee6747413088237712df1b8e619423188107224e681a01a9189dd
@@ -5,19 +5,16 @@ require "uri"
5
5
  module Bitfab
6
6
  class AssertionCategories
7
7
  PATH = "/api/sdk/assertionCategories"
8
- JUSTIFICATION_UNSET = Object.new.freeze
9
8
  private_constant :PATH
10
- private_constant :JUSTIFICATION_UNSET
11
9
 
12
10
  def initialize(http_client)
13
11
  @http_client = http_client
14
12
  end
15
13
 
16
- def save(title, id: nil, description: nil, justification: JUSTIFICATION_UNSET)
14
+ def save(title, id: nil, description: nil)
17
15
  payload = {"title" => title}
18
16
  payload["id"] = id unless id.nil?
19
17
  payload["description"] = description unless description.nil?
20
- payload["justification"] = justification unless justification.equal?(JUSTIFICATION_UNSET)
21
18
  @http_client.request(PATH, payload)["category"]
22
19
  end
23
20
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bitfab
4
- VERSION = "0.57.2"
4
+ VERSION = "0.57.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitfab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.57.2
4
+ version: 0.57.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harvest Team