faithteams-api 4.0.1 → 4.1.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/CHANGELOG.md +6 -0
- data/Gemfile.lock +58 -44
- data/faithteams-api.gemspec +1 -1
- data/lib/faithteams/api/v2/entity/fund.rb +10 -0
- data/lib/faithteams/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 35b52db8cca36a217c3b9b1a1f653f5fc99843606b805909a4aeeb879f404d32
|
|
4
|
+
data.tar.gz: 7f79fdcee9707355c396f672dfa95f9045a524fae28bd691039816f84e958fac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d021c040b130f6bcdbd04ad93e84ab70e9ef803a9d32575de44fdf12c42b451cbc265504a725ffc4556b0be0fe7014f4013d537480f9226df61c45d1f38be94
|
|
7
|
+
data.tar.gz: 69ac850dfdc236b489deeaa56acecbcf67336315daa17492d97da61a2b2e513382a580d52c8e79309d58373ed351a4862c9cc181f45bff587d311e9ac03bbe81
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ All notable changes to this project will be documented in this file.
|
|
|
7
7
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
8
8
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
9
9
|
|
|
10
|
+
## [Unreleased]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
1. Adds `Entity::Fund` `active?` and `default?` interrogatives
|
|
15
|
+
|
|
10
16
|
## [4.0.1] - 2024-09-13
|
|
11
17
|
|
|
12
18
|
This version adds support for Ruby 3.3.5. No real changes were required. We just needed to add some gems to the gemspec
|
data/Gemfile.lock
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
faithteams-api (4.
|
|
5
|
-
activesupport (
|
|
4
|
+
faithteams-api (4.1.1)
|
|
5
|
+
activesupport (>= 7.0.8, <= 7.1.5.1)
|
|
6
6
|
http (~> 5.1)
|
|
7
7
|
logger (~> 1.6.1)
|
|
8
8
|
ostruct (~> 0.6.0)
|
|
@@ -11,31 +11,42 @@ PATH
|
|
|
11
11
|
GEM
|
|
12
12
|
remote: https://rubygems.org/
|
|
13
13
|
specs:
|
|
14
|
-
activesupport (7.
|
|
14
|
+
activesupport (7.1.5.1)
|
|
15
|
+
base64
|
|
16
|
+
benchmark (>= 0.3)
|
|
17
|
+
bigdecimal
|
|
15
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
19
|
+
connection_pool (>= 2.2.5)
|
|
20
|
+
drb
|
|
16
21
|
i18n (>= 1.6, < 2)
|
|
22
|
+
logger (>= 1.4.2)
|
|
17
23
|
minitest (>= 5.1)
|
|
24
|
+
mutex_m
|
|
25
|
+
securerandom (>= 0.3)
|
|
18
26
|
tzinfo (~> 2.0)
|
|
19
|
-
addressable (2.8.
|
|
20
|
-
public_suffix (>= 2.0.2, <
|
|
27
|
+
addressable (2.8.7)
|
|
28
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
21
29
|
ast (2.4.2)
|
|
22
30
|
base64 (0.2.0)
|
|
23
|
-
|
|
31
|
+
benchmark (0.4.0)
|
|
32
|
+
bigdecimal (3.1.8)
|
|
24
33
|
byebug (11.1.3)
|
|
25
34
|
coderay (1.1.3)
|
|
26
|
-
concurrent-ruby (1.
|
|
35
|
+
concurrent-ruby (1.3.4)
|
|
36
|
+
connection_pool (2.4.1)
|
|
27
37
|
crack (1.0.0)
|
|
28
38
|
bigdecimal
|
|
29
39
|
rexml
|
|
30
40
|
diff-lcs (1.5.1)
|
|
31
|
-
docile (1.4.
|
|
41
|
+
docile (1.4.1)
|
|
32
42
|
domain_name (0.6.20240107)
|
|
33
|
-
|
|
43
|
+
drb (2.2.1)
|
|
44
|
+
ffi (1.17.0)
|
|
34
45
|
ffi-compiler (1.3.2)
|
|
35
46
|
ffi (>= 1.15.5)
|
|
36
47
|
rake
|
|
37
48
|
formatador (1.1.0)
|
|
38
|
-
guard (2.
|
|
49
|
+
guard (2.19.0)
|
|
39
50
|
formatador (>= 0.2.4)
|
|
40
51
|
listen (>= 2.7, < 4.0)
|
|
41
52
|
lumberjack (>= 1.0.12, < 2.0)
|
|
@@ -49,19 +60,19 @@ GEM
|
|
|
49
60
|
guard (~> 2.1)
|
|
50
61
|
guard-compat (~> 1.1)
|
|
51
62
|
rspec (>= 2.99.0, < 4.0)
|
|
52
|
-
hashdiff (1.1.
|
|
63
|
+
hashdiff (1.1.2)
|
|
53
64
|
http (5.2.0)
|
|
54
65
|
addressable (~> 2.8)
|
|
55
66
|
base64 (~> 0.1)
|
|
56
67
|
http-cookie (~> 1.0)
|
|
57
68
|
http-form_data (~> 2.2)
|
|
58
69
|
llhttp-ffi (~> 0.5.0)
|
|
59
|
-
http-cookie (1.0.
|
|
70
|
+
http-cookie (1.0.8)
|
|
60
71
|
domain_name (~> 0.5)
|
|
61
72
|
http-form_data (2.3.0)
|
|
62
|
-
i18n (1.14.
|
|
73
|
+
i18n (1.14.6)
|
|
63
74
|
concurrent-ruby (~> 1.0)
|
|
64
|
-
json (2.
|
|
75
|
+
json (2.9.0)
|
|
65
76
|
language_server-protocol (3.17.0.3)
|
|
66
77
|
listen (3.9.0)
|
|
67
78
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
@@ -69,58 +80,58 @@ GEM
|
|
|
69
80
|
llhttp-ffi (0.5.0)
|
|
70
81
|
ffi-compiler (~> 1.0)
|
|
71
82
|
rake (~> 13.0)
|
|
72
|
-
logger (1.6.
|
|
83
|
+
logger (1.6.3)
|
|
73
84
|
lumberjack (1.2.10)
|
|
74
|
-
method_source (1.
|
|
75
|
-
minitest (5.
|
|
85
|
+
method_source (1.1.0)
|
|
86
|
+
minitest (5.25.4)
|
|
87
|
+
mutex_m (0.3.0)
|
|
76
88
|
nenv (0.3.0)
|
|
77
89
|
notiffany (0.1.3)
|
|
78
90
|
nenv (~> 0.1)
|
|
79
91
|
shellany (~> 0.0)
|
|
80
|
-
ostruct (0.6.
|
|
81
|
-
parallel (1.
|
|
82
|
-
parser (3.3.0
|
|
92
|
+
ostruct (0.6.1)
|
|
93
|
+
parallel (1.26.3)
|
|
94
|
+
parser (3.3.6.0)
|
|
83
95
|
ast (~> 2.4.1)
|
|
84
96
|
racc
|
|
85
|
-
pry (0.
|
|
97
|
+
pry (0.15.0)
|
|
86
98
|
coderay (~> 1.1)
|
|
87
99
|
method_source (~> 1.0)
|
|
88
|
-
public_suffix (
|
|
89
|
-
racc (1.
|
|
100
|
+
public_suffix (6.0.1)
|
|
101
|
+
racc (1.8.1)
|
|
90
102
|
rainbow (3.1.1)
|
|
91
|
-
rake (13.2.
|
|
103
|
+
rake (13.2.1)
|
|
92
104
|
rb-fsevent (0.11.2)
|
|
93
|
-
rb-inotify (0.
|
|
105
|
+
rb-inotify (0.11.1)
|
|
94
106
|
ffi (~> 1.0)
|
|
95
|
-
regexp_parser (2.9.
|
|
96
|
-
rexml (3.3.
|
|
107
|
+
regexp_parser (2.9.3)
|
|
108
|
+
rexml (3.3.9)
|
|
97
109
|
rspec (3.13.0)
|
|
98
110
|
rspec-core (~> 3.13.0)
|
|
99
111
|
rspec-expectations (~> 3.13.0)
|
|
100
112
|
rspec-mocks (~> 3.13.0)
|
|
101
|
-
rspec-core (3.13.
|
|
113
|
+
rspec-core (3.13.2)
|
|
102
114
|
rspec-support (~> 3.13.0)
|
|
103
|
-
rspec-expectations (3.13.
|
|
115
|
+
rspec-expectations (3.13.3)
|
|
104
116
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
105
117
|
rspec-support (~> 3.13.0)
|
|
106
|
-
rspec-mocks (3.13.
|
|
118
|
+
rspec-mocks (3.13.2)
|
|
107
119
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
108
120
|
rspec-support (~> 3.13.0)
|
|
109
|
-
rspec-support (3.13.
|
|
110
|
-
rubocop (1.
|
|
121
|
+
rspec-support (3.13.2)
|
|
122
|
+
rubocop (1.69.2)
|
|
111
123
|
json (~> 2.3)
|
|
112
124
|
language_server-protocol (>= 3.17.0)
|
|
113
125
|
parallel (~> 1.10)
|
|
114
126
|
parser (>= 3.3.0.2)
|
|
115
127
|
rainbow (>= 2.2.2, < 4.0)
|
|
116
|
-
regexp_parser (>=
|
|
117
|
-
|
|
118
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
|
128
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
129
|
+
rubocop-ast (>= 1.36.2, < 2.0)
|
|
119
130
|
ruby-progressbar (~> 1.7)
|
|
120
|
-
unicode-display_width (>= 2.4.0, <
|
|
121
|
-
rubocop-ast (1.
|
|
122
|
-
parser (>= 3.3.0
|
|
123
|
-
rubocop-performance (1.
|
|
131
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
132
|
+
rubocop-ast (1.37.0)
|
|
133
|
+
parser (>= 3.3.1.0)
|
|
134
|
+
rubocop-performance (1.23.0)
|
|
124
135
|
rubocop (>= 1.48.1, < 2.0)
|
|
125
136
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
126
137
|
rubocop-rake (0.6.0)
|
|
@@ -128,22 +139,25 @@ GEM
|
|
|
128
139
|
rubocop-rspec (1.42.0)
|
|
129
140
|
rubocop (>= 0.87.0)
|
|
130
141
|
ruby-progressbar (1.13.0)
|
|
142
|
+
securerandom (0.4.1)
|
|
131
143
|
shellany (0.0.1)
|
|
132
144
|
simplecov (0.22.0)
|
|
133
145
|
docile (~> 1.1)
|
|
134
146
|
simplecov-html (~> 0.11)
|
|
135
147
|
simplecov_json_formatter (~> 0.1)
|
|
136
|
-
simplecov-html (0.
|
|
148
|
+
simplecov-html (0.13.1)
|
|
137
149
|
simplecov_json_formatter (0.1.4)
|
|
138
|
-
thor (1.3.
|
|
150
|
+
thor (1.3.2)
|
|
139
151
|
tzinfo (2.0.6)
|
|
140
152
|
concurrent-ruby (~> 1.0)
|
|
141
|
-
unicode-display_width (
|
|
142
|
-
|
|
153
|
+
unicode-display_width (3.1.2)
|
|
154
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
|
155
|
+
unicode-emoji (4.0.4)
|
|
156
|
+
webmock (3.24.0)
|
|
143
157
|
addressable (>= 2.8.0)
|
|
144
158
|
crack (>= 0.3.2)
|
|
145
159
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
146
|
-
yard (0.9.
|
|
160
|
+
yard (0.9.37)
|
|
147
161
|
|
|
148
162
|
PLATFORMS
|
|
149
163
|
ruby
|
data/faithteams-api.gemspec
CHANGED
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
|
32
32
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
33
33
|
spec.require_paths = ["lib"]
|
|
34
34
|
|
|
35
|
-
spec.add_dependency "activesupport", "
|
|
35
|
+
spec.add_dependency "activesupport", ">= 7.0.8", "<= 7.1.5.1"
|
|
36
36
|
spec.add_dependency "http", "~> 5.1"
|
|
37
37
|
spec.add_dependency "logger", "~> 1.6.1"
|
|
38
38
|
spec.add_dependency "ostruct", "~> 0.6.0"
|
|
@@ -11,6 +11,11 @@ module FaithTeams
|
|
|
11
11
|
read_attribute(:isDefault).presence
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
# @return [Boolean]
|
|
15
|
+
def default?
|
|
16
|
+
default == "Y"
|
|
17
|
+
end
|
|
18
|
+
|
|
14
19
|
# @return [String, nil]
|
|
15
20
|
def description
|
|
16
21
|
read_attribute(:description).presence
|
|
@@ -41,6 +46,11 @@ module FaithTeams
|
|
|
41
46
|
read_attribute(:status).presence
|
|
42
47
|
end
|
|
43
48
|
|
|
49
|
+
# @return [Boolean]
|
|
50
|
+
def active?
|
|
51
|
+
status == "A"
|
|
52
|
+
end
|
|
53
|
+
|
|
44
54
|
# @return [String, nil] "T" for true?, "Y" for yes?
|
|
45
55
|
def tax_deductible
|
|
46
56
|
read_attribute(:taxDeductible).presence
|
data/lib/faithteams/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: faithteams-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tithe.ly Integrations
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: 7.0.8
|
|
20
|
+
- - "<="
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 7.1.5.1
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - ">="
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
29
|
version: 7.0.8
|
|
30
|
+
- - "<="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 7.1.5.1
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
name: http
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -323,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
323
329
|
- !ruby/object:Gem::Version
|
|
324
330
|
version: '0'
|
|
325
331
|
requirements: []
|
|
326
|
-
rubygems_version: 3.5.
|
|
332
|
+
rubygems_version: 3.5.22
|
|
327
333
|
signing_key:
|
|
328
334
|
specification_version: 4
|
|
329
335
|
summary: A Faithteams API client gem.
|