Pat Allan

Results 9 issues of Pat Allan

As documented here: http://developer.myob.com/api/accountright/v2/sale/invoice/invoice_service/

I find it's more clear this way (rather than a line item within an invoice). I've kept the original naming as well for backwards compatibility, but I'd recommend adding a...

A few simple changes to allow this gem to be used when `RUBYOPT="--enable-frozen-string-literal"` is set in MRI 2.4+. However, it's worth noting that Bacon isn't frozen-string-literal friendly, so the test...

As noted in [this forum discussion](https://discourse.dry-rb.org/t/matching-optional-params-schema-against-a-nested-schema/1069), using a nested params object that also allows nil doesn't validate correctly. ``` inner_schema = Dry::Schema.Params do required(:path).filled(:string) end outer_schema = Dry::Schema.Params do required(:foo).maybe(inner_schema)...

bug

A small step beyond #228 - Addressable v2.8.0 has a security patch, so this change allows v2.5.2 or newer to be used. Tests all passed on my machine FWIW.

Another Ruby 3 related patch: now that keyword arguments are no longer implicitly translated into hashes, we need to explicitly handle them as a separate argument type. And I must...

This is to avoid deprecation warnings with the forthcoming change in Ruby 3.4 where modifying a string literal will cause a deprecation warning by default. https://github.com/ruby/ruby/commit/12be40ae6be78ac41e8e3f3c313cc6f63e7fa6c4 Essentially, I'm just marking...

Faraday can accept either strings or URI objects as a url for HTTP connections... and it determines which is which by checking whether the given url responds to `host`. Unfortunately,...

Given MRI 3.4 will have a warning whenever frozen string literals are edited, this PR fixes up the two situations where I expect that to happen. I've tried to modify...