rock_rms 8.23.0 → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/lib/rock_rms/error.rb +2 -0
- data/lib/rock_rms/response/base.rb +1 -0
- data/lib/rock_rms/version.rb +1 -1
- data/spec/rock_rms/response/attribute_value_spec.rb +3 -1
- data/spec/rock_rms/response/defined_value_spec.rb +1 -1
- data/spec/rock_rms/response/recurring_donation_spec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d3f7a8e8361dbf8f52bc3e8e498f2e64720a67fc05d4f66c551445aef9667a3
|
4
|
+
data.tar.gz: e3d5069ad435eb82800286f6ffc8408aad931ac8e0a14c3ebd48c52b920991e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87a52ebae4490a6255e15b179c0644a95bab338b7ce8fa10b9d3a4a38fe26d3ad31e2e866db327b5d7b1db325790aec9c5c858c535c31fb358caefc2742b24af
|
7
|
+
data.tar.gz: 0ec1be1f0eff44cdbdd137fd34f6737f77c249fdfd6a22f78d4c6aca0ea4ce2c2d0606f5c584361d8003d4919ebf1c677aa7eb36aad73487bfb4099edce72191
|
data/LICENSE
CHANGED
data/README.md
CHANGED
data/lib/rock_rms/error.rb
CHANGED
@@ -36,6 +36,8 @@ module FaradayMiddleware
|
|
36
36
|
raise RockRMS::GatewayTimeout, error_message(env)
|
37
37
|
when 520
|
38
38
|
raise RockRMS::CloudflareError, error_message(env)
|
39
|
+
when 522
|
40
|
+
raise RockRMS::CloudflareError, error_message(env)
|
39
41
|
when ERROR_STATUSES
|
40
42
|
raise RockRMS::Error, error_message(env)
|
41
43
|
end
|
data/lib/rock_rms/version.rb
CHANGED
@@ -14,19 +14,21 @@ RSpec.describe RockRMS::Response::AttributeValue, type: :model do
|
|
14
14
|
|
15
15
|
it 'has the correct number keys' do
|
16
16
|
keys = result.first.keys
|
17
|
-
expect(keys.count).to eq(
|
17
|
+
expect(keys.count).to eq(12)
|
18
18
|
end
|
19
19
|
|
20
20
|
it 'translates keys' do
|
21
21
|
result.zip(parsed) do |r, p|
|
22
22
|
expect(r[:id]).to eq(p['Id'])
|
23
23
|
expect(r[:guid]).to eq(p['Guid'])
|
24
|
+
expect(r[:created_by_person_alias_id]).to eq(p['CreatedByPersonAliasId'])
|
24
25
|
expect(r[:value]).to eq(p['Value'])
|
25
26
|
expect(r[:value_as_number]).to eq(p['ValueAsNumeric'])
|
26
27
|
expect(r[:entity_id]).to eq(p['EntityId'])
|
27
28
|
expect(r[:attribute]).to eq({
|
28
29
|
attribute_values: nil,
|
29
30
|
attributes: nil,
|
31
|
+
created_by_person_alias_id: nil,
|
30
32
|
created_date_time: nil,
|
31
33
|
description: nil,
|
32
34
|
entity_type_id: 7,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rock_rms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 9.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|