Skip to content

Releases: patch-technology/patch-ruby

[1.3.0] - 2021-02-08

09 Feb 15:05
88e34d0

Choose a tag to compare

Added

  • Adds support for creating carbon emission estimates for flights, shipping, and vehicles. See the docs for more information.

[1.2.5] - 2020-01-08

13 Jan 17:26
d0d3893

Choose a tag to compare

Fixed

  • Fixes issues/5. Adds method .openapi_nullable which returns a set with all nullable properties. This method is referenced in #to_hash which returns a hash representation of the resource.
  • Removes non-deterministic integration spec that is creating an Estimate with a specific project-id. Since we do not control the test data (yet) and make queries against our Test projects, we cannot be sure that we will have offsets available for a project ID. Instead we can rely on Patch core specs to cover this.
  • Fixes a spec that was failing due to a Patch core change.
  • Add spec factories and refactor generated method specs to shared examples.

[1.2.4] - 2020-10-14

14 Oct 22:29
e6f0167

Choose a tag to compare

Added

  • total_price_cents_usd field to order creation
  • allows users to create an order by total price

Changed

  • order creation requires either mass_g or total_price_cents_usd, but not both

[1.2.3] - 2020-10-05

06 Oct 22:21
51f12f6

Choose a tag to compare

Added

  • patch_fee_cents_usd field to orders

[1.2.2] - 2020-09-18

19 Sep 01:25
94a7918

Choose a tag to compare

Added

  • return photos with projects

[1.2.0] - 2020-09-18

18 Sep 21:49
6a33347

Choose a tag to compare

  • average_price_per_tonne_cents_usd field to projects
  • remaining_mass_g field to projects
  • standard field to projects
  • validations on mass_g field (has to be greater than 1 and less than 2,000,000,000).

[1.1.0] - 2020-08-19

20 Aug 21:12
6f7671b

Choose a tag to compare

[1.1.0] - 2020-08-19

Added

  • project_id optional field to order creation
  • metadata optional field to order creation
  • project_id optional field to estimate creation
  • changelog file

First Release!

06 Jul 04:02
e9d9a82

Choose a tag to compare

This is the first official release of Patch's Ruby Gem.

Initial pre-release

02 Jul 18:08

Choose a tag to compare

Initial pre-release Pre-release
Pre-release

Pre-release of v1 Gem

Supports APIs for Orders, Estimates, Projects and Preferences