foobara 0.0.99 → 0.0.101

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: cf21f3015190b737e030c7896001f397c941a5248b1e6a012b9247e71e989118
4
- data.tar.gz: 2c62b43df6058fa277ed89b4bd7323617292f73f93771ecb4d3b8dda37403d97
3
+ metadata.gz: 72936127f925aeecd5c813edff203628a88e65408a1fb4f9d0b68657d664fd1b
4
+ data.tar.gz: aec6b40247986426ff94202cbc00057b37476e5e95652f8ac2d58c99647b50bf
5
5
  SHA512:
6
- metadata.gz: ff7bea88244f02c2bbd27bd6c7ba9a727496dc8a2768b0253485d0391c2f299b1d4cf588ffdb8ae6bedbeb56382e378d4e337a370c4bf226381bef94c54dbbf6
7
- data.tar.gz: ebeb5b4986989000ff288a9facce07fe8081f72c4a19482c64b6e3dbea3a81cce0f80e6430a0e4b1ac819e441928efc238ea7ebba817b4d851b2201ef403ed36
6
+ metadata.gz: adba03dad2ca90ca4202cf6e67e67c335748958f856d4fa75ef2bc3545b5e31a0acf5ef84002312252fd7cc3e113daf1fb5ec54308843902c1418a39ad4ea33b
7
+ data.tar.gz: 0bee2126b8262f17b673c0f6b0158cdd37b80bb27ba4c42d9a09abf584a0aa900bfbc55dfd1e58cc261aa6c98898e7f4c2bef2a138f51a0f754fe85a9c8ca129
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # [0.0.101] - 2025-04-12
2
+
3
+ - Add Entity#update
4
+
5
+ # [0.0.100] - 2025-04-11
6
+
7
+ - Restore missing Response#error
8
+
1
9
  # [0.0.99] - 2025-04-11
2
10
 
3
11
  - Just testing publishing gem to rubygems with new bundler to see if it resolves issue
@@ -15,6 +15,10 @@ module Foobara
15
15
  request.command
16
16
  end
17
17
 
18
+ def error
19
+ request.error
20
+ end
21
+
18
22
  def success?
19
23
  request.success?
20
24
  end
@@ -9,6 +9,12 @@ module Foobara
9
9
  self.class.update_aggregate(self, value, type)
10
10
  end
11
11
 
12
+ def update(new_attributes)
13
+ new_attributes.each_pair do |attribute_name, value|
14
+ write_attribute(attribute_name, value)
15
+ end
16
+ end
17
+
12
18
  module ClassMethods
13
19
  def update_aggregate(object, value, type = object.class.model_type)
14
20
  return value if object.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.99
4
+ version: 0.0.101
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi