fmrest-cloud 0.21.0 → 0.23.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 +4 -4
- data/.yardopts +2 -1
- data/CHANGELOG.md +13 -0
- data/README.md +8 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e1bbca6db3dfbc8a164b344df0f515a7133123c0b3d183b8e9b0b005b44ce6b
|
|
4
|
+
data.tar.gz: ab3b5508f6fe27a886d7bbc272e58382da1ade54f56af235d923b89fbb29f742
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3c6802a3f7f316df704c1d1621be59391829b3145d131365b380aa87d001e6a637c676e2e7fcdd063238d3ae30145f9a3628100b25e35ddebe8d0b892309114
|
|
7
|
+
data.tar.gz: 734bea88edb9e3a6f4e7e42a8295b7195511703439aeb62622ed23e82b95504c091c219b50bee6ebcea03036a0740dbd803748de9ed269c2b3d612c61e1b3aa1
|
data/.yardopts
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
+
### 0.23.1
|
|
4
|
+
|
|
5
|
+
* Fix crash when booting in Rails and `config/fmrest.yml` didn't exist
|
|
6
|
+
|
|
7
|
+
### 0.23.0
|
|
8
|
+
|
|
9
|
+
* Add `find_one!` (aliased as `first!`) exception-raising method
|
|
10
|
+
* Add mapping of API exceptions to HTTP responses in Rails
|
|
11
|
+
|
|
12
|
+
### 0.22.0
|
|
13
|
+
|
|
14
|
+
* Add `fmrest-rails` gem with Rails integration (initializer, generators)
|
|
15
|
+
|
|
3
16
|
### 0.21.0
|
|
4
17
|
|
|
5
18
|
* Support for Spyke 7 and Faraday 2
|
data/README.md
CHANGED
|
@@ -19,13 +19,14 @@ Need Ruby or FileMaker consulting? Contact us at
|
|
|
19
19
|
|
|
20
20
|
## Gems
|
|
21
21
|
|
|
22
|
-
The `fmrest` gem is a wrapper for
|
|
22
|
+
The `fmrest` gem is a wrapper for these gems:
|
|
23
23
|
|
|
24
24
|
* `fmrest-spyke`, providing an ActiveRecord-like ORM library built on top
|
|
25
25
|
of `fmrest-core` and [Spyke](https://github.com/balvig/spyke).
|
|
26
26
|
* `fmrest-core`, providing the core
|
|
27
27
|
[Faraday](https://github.com/lostisland/faraday) connection builder, session
|
|
28
28
|
management, and other core utilities.
|
|
29
|
+
* `fmrest-rails`, providing Rails integration.
|
|
29
30
|
|
|
30
31
|
In addition, the optional `fmrest-cloud` gem adds support for FileMaker Cloud.
|
|
31
32
|
See the [main document on connecting to FileMaker
|
|
@@ -42,6 +43,12 @@ gem 'fmrest'
|
|
|
42
43
|
gem 'fmrest-cloud'
|
|
43
44
|
```
|
|
44
45
|
|
|
46
|
+
If you're using Rails you can now run:
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
rails generate fmrest:config
|
|
50
|
+
```
|
|
51
|
+
|
|
45
52
|
## Simple example
|
|
46
53
|
|
|
47
54
|
```ruby
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fmrest-cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.23.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pedro Carbajal
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-07-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fmrest-core
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.23.1
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.
|
|
26
|
+
version: 0.23.1
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: aws-cognito-srp
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|