actionmcp 0.19.0 → 0.19.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: cb964a85c5ae8f64c05730e054c3e252c22e8fe3eeea6230496929948ea51f68
4
- data.tar.gz: a7cfd82678922926ef8beb28cc0346ebb583f826d1cc9ff9d8d54f55cecd08d7
3
+ metadata.gz: 8f6822a7c2f7b29500c36ebb7a61f050e5a88e3e42b9d0286f17908a5f3e994e
4
+ data.tar.gz: f472562a0547b097cc3935ddc029385c55d8cc3e4be008e0676f82c844e2aba1
5
5
  SHA512:
6
- metadata.gz: f6c12f6088da3ca4e642fe9aac72d7caeacd9630619c61a1d2c93006e87ab2da7d35eb25467e086d6ecb5e3109546f0f61285e6f9c175183fb8b1365f7cbae96
7
- data.tar.gz: 70cbe6bcbf594afcc7558f3c178771c5b2d9c06d00f7474288bfbe59d9da694ccef578c68a0c5cf9a6a571f4ef51f317ed2fa34d57600321364beffb5ba7fe77
6
+ metadata.gz: 72a2892dea8ba2869d29fa3f3021962a765a47fbc503214c2f63a4818e281f496c8e6153df3e48dc367ffb54dd38f07fbda79ec2eeb2536ae521a7a8b35d64cc
7
+ data.tar.gz: 7ccde9675fefd062cb482acecd2d55403277f46f60de794cef40124a721f28a40252dc76ea8b17c05bedcbabc3d7c5942f882bb418552e0d48fcd2f7708ff00a
@@ -77,6 +77,14 @@ module ActionMCP
77
77
  [ messages ].hash
78
78
  end
79
79
 
80
+ def success?
81
+ !is_error
82
+ end
83
+
84
+ def error?
85
+ is_error
86
+ end
87
+
80
88
  # Pretty print for better debugging
81
89
  def inspect
82
90
  "#<#{self.class.name} messages: #{messages.inspect}>"
@@ -2,7 +2,7 @@
2
2
 
3
3
  require_relative "gem_version"
4
4
  module ActionMCP
5
- VERSION = "0.19.0"
5
+ VERSION = "0.19.1"
6
6
 
7
7
  class << self
8
8
  alias version gem_version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionmcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelkader Boudih