README.md in fmrest-spyke-0.20.0 vs README.md in fmrest-spyke-0.21.0.rc1

- old
+ new

@@ -1,10 +1,11 @@ # fmrest-ruby [![Gem Version](https://badge.fury.io/rb/fmrest.svg?style=flat)](https://rubygems.org/gems/fmrest) ![CI](https://github.com/beezwax/fmrest-ruby/workflows/CI/badge.svg) [![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](https://rubydoc.info/github/beezwax/fmrest-ruby) +[![Powered by Beezwax](https://img.shields.io/badge/Powered%20By-Beezwax-gold?logo=data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0iMTA5IiBoZWlnaHQ9IjEwOSIgdmlld0JveD0iMCAwIDEwOSAxMDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogICA8Zz4NCiAgICAgIDxwYXRoIGQ9Ik01MC44IDEwNi42MjVDNTkuMSA5OS4zMjUgNjEuOSA5MS42MjUgNjEuOSA5MS42MjVDNjMuMiA4Ny43MjUgNjQuNyA4NC41MjUgNjQuNyA2OS4zMjVDNjQuNyA0Ni40MjUgNTYuMiAzOC45MjUgNDcgMzIuMDI1QzQwLjggMjcuMzI1IDI0LjkgMjEuMTI1IDE1LjUgMTcuNjI1TDIuMjk5OTggMjUuMTI1QzEuNDk5OTggMjUuNzI1IDAuOTk5OTc2IDI2LjIyNSAwLjU5OTk3NiAyNi44MjVDMjQuNCAzMi4xMjUgNDEuNSA0OC4wMjUgNDEuNSA2Ni44MjVDNDEuNSA3OC4yMjUgMzUuMSA4OC42MjUgMjQuOSA5Ni4xMjVMNDQuNyAxMDcuNTI1QzQ1LjEgMTA3LjcyNSA0NiAxMDguMTI1IDQ3LjMgMTA4LjEyNUM0Ny45IDEwOC4xMjUgNDkgMTA3LjkyNSA1MC4zIDEwNi44MjVMNTAuOCAxMDYuNjI1WiIgZmlsbD0iI0ZGRDkzOSI+PC9wYXRoPg0KICAgICAgPHBhdGggZD0iTTIyLjkgMTMuMzI0OEw0NCAyMC40MjQ4QzY0LjYgMjcuNzI0OCA3My4yIDM3LjgyNDggNzMuMiAzNy44MjQ4Qzg0LjUgNDkuMTI0OCA4My4yIDYxLjYyNDggODMuMiA3Ni44MjQ4QzgzLjIgODAuNjI0OCA4Mi42IDg0LjkyNDggODEuNyA4OS4wMjQ4TDkzIDgyLjYyNDhDOTUuNiA4MS4xMjQ4IDk1LjYgNzcuOTI0OCA5NS42IDc3LjkyNDhWMjkuMzI0OEM5NS42IDI2LjEyNDggOTMgMjQuNjI0OCA5MyAyNC42MjQ4TDcyLjUgMTMuMjI0OEw1MC42IDAuNjI0ODQ1QzQ4LjEgLTAuNjc1MTU1IDQ1LjUgMC40MjQ4NDUgNDUuMyAwLjYyNDg0NUwyMy4xIDEzLjMyNDhIMjIuOVoiIGZpbGw9IiNGRkQ5MzkiPjwvcGF0aD4NCiAgICAgIDxwYXRoIGQ9Ik0wLjEgMzEuNTI0NFY3OC4yMjQ0QzAuMSA4MC44MjQ0IDIuMiA4Mi4zMjQ0IDIuNyA4Mi43MjQ0TDE0LjggODkuNjI0NEwxNy44IDkxLjMyNDRDMjQuNCA4NC43MjQ0IDI4LjQgNzYuMzI0NCAyOC41IDY3LjEyNDRDMjguNSA1MS41MjQ0IDE2LjggMzguMDI0NCAwIDMxLjUyNDRIMC4xWiIgZmlsbD0iI0ZGRDkzOSI+PC9wYXRoPg0KICAgPC9nPg0KPC9zdmc+)](https://beezwax.net/) A Ruby client for [FileMaker's Data API](https://help.claris.com/en/data-api-guide) with ActiveRecord-ish ORM features. @@ -14,24 +15,10 @@ is natively supported by the gem. Need Ruby or FileMaker consulting? Contact us at [Beezwax.net](https://beezwax.net/) -## Contents - -* [Gems](#gems) -* [Installation](#installation) -* [Simple example](#simple-example) -* [Connection settings](#connection-settings) -* [Session token store](#session-token-store) -* [Date fields and timezones](#date-fields-and-timezones) -* [ActiveRecord-like ORM (fmrest-spyke)](#activerecord-like-orm-fmrest-spyke) -* [Logging](#logging) -* [Gotchas](#gotchas) -* [API implementation completeness table](#api-implementation-completeness-table) -* [Supported Ruby versions](#supported-ruby-versions) - ## Gems The `fmrest` gem is a wrapper for two other gems: * `fmrest-spyke`, providing an ActiveRecord-like ORM library built on top @@ -122,28 +109,29 @@ ```ruby { host: "…", … - ssl: { verify: false } + ssl: { verify: false }, + proxy: "http://user:password@proxy.host:4321" } ``` You can also pass a `:log` option for basic request logging, see the section on [Logging](#Logging) below. ### Full list of available options Option | Description | Format | Default --------------------|--------------------------------------------|-----------------------------|-------- -`:host` | Hostname with optional port, e.g. `"example.com:9000"` | String | None +`:host` | Hostname with optional port, e.g. `example.com:9000` | String | None `:database` | The name of the database to connect to | String | None `:username` | A Data API-ready account | String | None `:password` | Your password | String | None `:account_name` | Alias of `:username` | String | None -`:ssl` | SSL options to be forwarded to Faraday | Faraday SSL options | None -`:proxy` | Proxy URI e.g. `http://username:password@proxy.host:5000` | String / URI | None +`:ssl` | SSL options to be forwarded to Faraday | [Faraday SSL options](https://www.rubydoc.info/gems/faraday/Faraday/SSLOptions) hash | None +`:proxy` | Proxy URI, e.g. `http://user:password@proxy.host:4321` | String | None `:log` | Log JSON responses to STDOUT | Boolean | `false` `:log_level` | Which log level to log into | Values accepted by `Logger#level=` | `:debug` `:coerce_dates` | See section on [date fields](#date-fields-and-timezones) | Boolean \| `:hybrid` \| `:full` | `false` `:date_format` | Date parsing format | String (FM date format) | `"MM/dd/yyyy"` `:timestamp_format` | Timestmap parsing format | String (FM date format) | `"MM/dd/yyyy HH:mm:ss"` @@ -559,16 +547,11 @@ \* You can manually supply the URL and JSON to a `FmRest` connection. ## Supported Ruby versions -fmrest-ruby aims to support and is [tested against](https://github.com/beezwax/fmrest-ruby/actions?query=workflow%3ACI) -the following Ruby implementations: - -* Ruby 2.5 -* Ruby 2.6 -* Ruby 2.7 -* Ruby 3.0 +fmrest-ruby is [tested against](https://github.com/beezwax/fmrest-ruby/actions?query=workflow%3ACI) +Ruby 2.6 through 3.1. ## Gem development After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rspec` to run the specs. You can also run `bin/console` for an