fmrest-cloud 0.21.0 → 0.23.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -1
  3. data/CHANGELOG.md +13 -0
  4. data/README.md +8 -1
  5. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e51d729adde7c0793cd57a3861295f8d6fd8252e41a72e0d2d2f9e2e3c2dea7b
4
- data.tar.gz: de31296ee64eb2eee009154b33c36101c096a1448ed4bc8b9913479ba345224b
3
+ metadata.gz: 3e1bbca6db3dfbc8a164b344df0f515a7133123c0b3d183b8e9b0b005b44ce6b
4
+ data.tar.gz: ab3b5508f6fe27a886d7bbc272e58382da1ade54f56af235d923b89fbb29f742
5
5
  SHA512:
6
- metadata.gz: 8be74fb0c44ea86a13899f8455f875e243256acabd779b3b7bb32151e1f5e09f632aba941688c9bba99fc595392c61f091759065b1e4f378bc3702ba52677d37
7
- data.tar.gz: a9809991943f52eb4f0ed35082e5f551b375715b3066c525e7984847d39054143c4804ae9e11244a9c35436ff4ff1e155176cef6de87922be2f06dcb96dea790
6
+ metadata.gz: e3c6802a3f7f316df704c1d1621be59391829b3145d131365b380aa87d001e6a637c676e2e7fcdd063238d3ae30145f9a3628100b25e35ddebe8d0b892309114
7
+ data.tar.gz: 734bea88edb9e3a6f4e7e42a8295b7195511703439aeb62622ed23e82b95504c091c219b50bee6ebcea03036a0740dbd803748de9ed269c2b3d612c61e1b3aa1
data/.yardopts CHANGED
@@ -1,5 +1,6 @@
1
1
  --markup markdown
2
2
  --plugin activesupport-concern
3
- lib/**/*.rb
3
+ --exclude lib/generators/*
4
4
  -
5
+ lib/**/*.rb
5
6
  docs/*
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 two other gems:
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.21.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-05-12 00:00:00.000000000 Z
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.21.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.21.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