faithteams-api 3.0.0 → 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/.rubocop.yml +2 -0
- data/.tool-versions +2 -1
- data/CHANGELOG.md +28 -1
- data/Gemfile.lock +54 -43
- data/README.md +4 -1
- data/faithteams-api.gemspec +4 -1
- data/lib/faithteams/api/v2/entity/fund.rb +10 -0
- data/lib/faithteams/version.rb +1 -1
- metadata +53 -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/.rubocop.yml
CHANGED
@@ -65,6 +65,8 @@ Layout/EmptyLinesAroundModuleBody:
|
|
65
65
|
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
66
66
|
Style/HashSyntax:
|
67
67
|
Enabled: true
|
68
|
+
EnforcedStyle: ruby19
|
69
|
+
EnforcedShorthandSyntax: never # Ruby 3.1 allows omission of value name, but we want to support prior Ruby versions
|
68
70
|
|
69
71
|
Layout/FirstArgumentIndentation:
|
70
72
|
Enabled: true
|
data/.tool-versions
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
ruby 3.
|
1
|
+
ruby 3.3.5
|
2
|
+
|
data/CHANGELOG.md
CHANGED
@@ -7,7 +7,34 @@ 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
|
-
## [
|
10
|
+
## [Unreleased]
|
11
|
+
|
12
|
+
### Added
|
13
|
+
|
14
|
+
1. Adds `Entity::Fund` `active?` and `default?` interrogatives
|
15
|
+
|
16
|
+
## [4.0.1] - 2024-09-13
|
17
|
+
|
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
|
19
|
+
to silence deprecation warnings.
|
20
|
+
|
21
|
+
### Added
|
22
|
+
|
23
|
+
1. Add dependencies which will be removed from a future version of Ruby. (IN-2512)
|
24
|
+
|
25
|
+
## [4.0.0] - 2024-09-11
|
26
|
+
|
27
|
+
### Changed
|
28
|
+
|
29
|
+
1. Update ActiveSupport Version to support Rails 7. (IN-2109)
|
30
|
+
|
31
|
+
## [3.0.1] - 2024-09-09
|
32
|
+
|
33
|
+
### Changed
|
34
|
+
|
35
|
+
1. Update dependencies to address security warnings. (IN-2494)
|
36
|
+
|
37
|
+
## [3.0.0] - 2024-05-21 - https://github.com/tithely/faithteams-api/pull/8
|
11
38
|
|
12
39
|
### Fixed
|
13
40
|
|
data/Gemfile.lock
CHANGED
@@ -1,45 +1,52 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
faithteams-api (
|
5
|
-
activesupport (>=
|
4
|
+
faithteams-api (4.1.1)
|
5
|
+
activesupport (>= 7.0.8, <= 7.1.5.1)
|
6
6
|
http (~> 5.1)
|
7
|
+
logger (~> 1.6.1)
|
8
|
+
ostruct (~> 0.6.0)
|
9
|
+
rexml (~> 3.3.6)
|
7
10
|
|
8
11
|
GEM
|
9
12
|
remote: https://rubygems.org/
|
10
13
|
specs:
|
11
|
-
activesupport (7.1.
|
14
|
+
activesupport (7.1.5.1)
|
12
15
|
base64
|
16
|
+
benchmark (>= 0.3)
|
13
17
|
bigdecimal
|
14
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
19
|
connection_pool (>= 2.2.5)
|
16
20
|
drb
|
17
21
|
i18n (>= 1.6, < 2)
|
22
|
+
logger (>= 1.4.2)
|
18
23
|
minitest (>= 5.1)
|
19
24
|
mutex_m
|
25
|
+
securerandom (>= 0.3)
|
20
26
|
tzinfo (~> 2.0)
|
21
|
-
addressable (2.8.
|
22
|
-
public_suffix (>= 2.0.2, <
|
27
|
+
addressable (2.8.7)
|
28
|
+
public_suffix (>= 2.0.2, < 7.0)
|
23
29
|
ast (2.4.2)
|
24
30
|
base64 (0.2.0)
|
25
|
-
|
31
|
+
benchmark (0.4.0)
|
32
|
+
bigdecimal (3.1.8)
|
26
33
|
byebug (11.1.3)
|
27
34
|
coderay (1.1.3)
|
28
|
-
concurrent-ruby (1.
|
35
|
+
concurrent-ruby (1.3.4)
|
29
36
|
connection_pool (2.4.1)
|
30
37
|
crack (1.0.0)
|
31
38
|
bigdecimal
|
32
39
|
rexml
|
33
40
|
diff-lcs (1.5.1)
|
34
|
-
docile (1.4.
|
41
|
+
docile (1.4.1)
|
35
42
|
domain_name (0.6.20240107)
|
36
43
|
drb (2.2.1)
|
37
|
-
ffi (1.
|
44
|
+
ffi (1.17.0)
|
38
45
|
ffi-compiler (1.3.2)
|
39
46
|
ffi (>= 1.15.5)
|
40
47
|
rake
|
41
48
|
formatador (1.1.0)
|
42
|
-
guard (2.
|
49
|
+
guard (2.19.0)
|
43
50
|
formatador (>= 0.2.4)
|
44
51
|
listen (>= 2.7, < 4.0)
|
45
52
|
lumberjack (>= 1.0.12, < 2.0)
|
@@ -53,19 +60,19 @@ GEM
|
|
53
60
|
guard (~> 2.1)
|
54
61
|
guard-compat (~> 1.1)
|
55
62
|
rspec (>= 2.99.0, < 4.0)
|
56
|
-
hashdiff (1.1.
|
63
|
+
hashdiff (1.1.2)
|
57
64
|
http (5.2.0)
|
58
65
|
addressable (~> 2.8)
|
59
66
|
base64 (~> 0.1)
|
60
67
|
http-cookie (~> 1.0)
|
61
68
|
http-form_data (~> 2.2)
|
62
69
|
llhttp-ffi (~> 0.5.0)
|
63
|
-
http-cookie (1.0.
|
70
|
+
http-cookie (1.0.8)
|
64
71
|
domain_name (~> 0.5)
|
65
72
|
http-form_data (2.3.0)
|
66
|
-
i18n (1.14.
|
73
|
+
i18n (1.14.6)
|
67
74
|
concurrent-ruby (~> 1.0)
|
68
|
-
json (2.
|
75
|
+
json (2.9.0)
|
69
76
|
language_server-protocol (3.17.0.3)
|
70
77
|
listen (3.9.0)
|
71
78
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
@@ -73,57 +80,58 @@ GEM
|
|
73
80
|
llhttp-ffi (0.5.0)
|
74
81
|
ffi-compiler (~> 1.0)
|
75
82
|
rake (~> 13.0)
|
83
|
+
logger (1.6.3)
|
76
84
|
lumberjack (1.2.10)
|
77
|
-
method_source (1.
|
78
|
-
minitest (5.
|
79
|
-
mutex_m (0.
|
85
|
+
method_source (1.1.0)
|
86
|
+
minitest (5.25.4)
|
87
|
+
mutex_m (0.3.0)
|
80
88
|
nenv (0.3.0)
|
81
89
|
notiffany (0.1.3)
|
82
90
|
nenv (~> 0.1)
|
83
91
|
shellany (~> 0.0)
|
84
|
-
|
85
|
-
|
92
|
+
ostruct (0.6.1)
|
93
|
+
parallel (1.26.3)
|
94
|
+
parser (3.3.6.0)
|
86
95
|
ast (~> 2.4.1)
|
87
96
|
racc
|
88
|
-
pry (0.
|
97
|
+
pry (0.15.0)
|
89
98
|
coderay (~> 1.1)
|
90
99
|
method_source (~> 1.0)
|
91
|
-
public_suffix (
|
92
|
-
racc (1.
|
100
|
+
public_suffix (6.0.1)
|
101
|
+
racc (1.8.1)
|
93
102
|
rainbow (3.1.1)
|
94
|
-
rake (13.2.
|
103
|
+
rake (13.2.1)
|
95
104
|
rb-fsevent (0.11.2)
|
96
|
-
rb-inotify (0.
|
105
|
+
rb-inotify (0.11.1)
|
97
106
|
ffi (~> 1.0)
|
98
|
-
regexp_parser (2.9.
|
99
|
-
rexml (3.
|
107
|
+
regexp_parser (2.9.3)
|
108
|
+
rexml (3.3.9)
|
100
109
|
rspec (3.13.0)
|
101
110
|
rspec-core (~> 3.13.0)
|
102
111
|
rspec-expectations (~> 3.13.0)
|
103
112
|
rspec-mocks (~> 3.13.0)
|
104
|
-
rspec-core (3.13.
|
113
|
+
rspec-core (3.13.2)
|
105
114
|
rspec-support (~> 3.13.0)
|
106
|
-
rspec-expectations (3.13.
|
115
|
+
rspec-expectations (3.13.3)
|
107
116
|
diff-lcs (>= 1.2.0, < 2.0)
|
108
117
|
rspec-support (~> 3.13.0)
|
109
|
-
rspec-mocks (3.13.
|
118
|
+
rspec-mocks (3.13.2)
|
110
119
|
diff-lcs (>= 1.2.0, < 2.0)
|
111
120
|
rspec-support (~> 3.13.0)
|
112
|
-
rspec-support (3.13.
|
113
|
-
rubocop (1.
|
121
|
+
rspec-support (3.13.2)
|
122
|
+
rubocop (1.69.2)
|
114
123
|
json (~> 2.3)
|
115
124
|
language_server-protocol (>= 3.17.0)
|
116
125
|
parallel (~> 1.10)
|
117
126
|
parser (>= 3.3.0.2)
|
118
127
|
rainbow (>= 2.2.2, < 4.0)
|
119
|
-
regexp_parser (>=
|
120
|
-
|
121
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
128
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
129
|
+
rubocop-ast (>= 1.36.2, < 2.0)
|
122
130
|
ruby-progressbar (~> 1.7)
|
123
|
-
unicode-display_width (>= 2.4.0, <
|
124
|
-
rubocop-ast (1.
|
125
|
-
parser (>= 3.3.0
|
126
|
-
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)
|
127
135
|
rubocop (>= 1.48.1, < 2.0)
|
128
136
|
rubocop-ast (>= 1.31.1, < 2.0)
|
129
137
|
rubocop-rake (0.6.0)
|
@@ -131,22 +139,25 @@ GEM
|
|
131
139
|
rubocop-rspec (1.42.0)
|
132
140
|
rubocop (>= 0.87.0)
|
133
141
|
ruby-progressbar (1.13.0)
|
142
|
+
securerandom (0.4.1)
|
134
143
|
shellany (0.0.1)
|
135
144
|
simplecov (0.22.0)
|
136
145
|
docile (~> 1.1)
|
137
146
|
simplecov-html (~> 0.11)
|
138
147
|
simplecov_json_formatter (~> 0.1)
|
139
|
-
simplecov-html (0.
|
148
|
+
simplecov-html (0.13.1)
|
140
149
|
simplecov_json_formatter (0.1.4)
|
141
|
-
thor (1.3.
|
150
|
+
thor (1.3.2)
|
142
151
|
tzinfo (2.0.6)
|
143
152
|
concurrent-ruby (~> 1.0)
|
144
|
-
unicode-display_width (
|
145
|
-
|
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)
|
146
157
|
addressable (>= 2.8.0)
|
147
158
|
crack (>= 0.3.2)
|
148
159
|
hashdiff (>= 0.4.0, < 2.0.0)
|
149
|
-
yard (0.9.
|
160
|
+
yard (0.9.37)
|
150
161
|
|
151
162
|
PLATFORMS
|
152
163
|
ruby
|
data/README.md
CHANGED
@@ -60,7 +60,10 @@ Use the Thunder Client extension for VS Code to test/inspect API calls.
|
|
60
60
|
|
61
61
|
General instructions for publishing a gem are available in this [RubyGems guide](https://guides.rubygems.org/publishing/#publishing-to-rubygemsorg).
|
62
62
|
|
63
|
-
Once a gem is ready to be published
|
63
|
+
Once a gem is ready to be published:
|
64
|
+
1. Create a PR to merge `master` into `production`
|
65
|
+
1. After merge, [create a release](https://github.com/tithely/faithteams-api/releases) on the `production` branch
|
66
|
+
1. The [GitHub Action](https://guides.rubygems.org/trusted-publishing/releasing-gems/) [rubygems.yml](./.github/workflows/rubygems.yml) will publish the gem to RubyGems.
|
64
67
|
|
65
68
|
## License
|
66
69
|
|
data/faithteams-api.gemspec
CHANGED
@@ -32,8 +32,11 @@ 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
|
+
spec.add_dependency "logger", "~> 1.6.1"
|
38
|
+
spec.add_dependency "ostruct", "~> 0.6.0"
|
39
|
+
spec.add_dependency "rexml", "~> 3.3.6" # only needs to be specified to address security warning
|
37
40
|
|
38
41
|
spec.add_development_dependency "byebug", "~> 11.1"
|
39
42
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
@@ -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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faithteams-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
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
|
@@ -16,14 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
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
|
-
version:
|
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
|
@@ -38,6 +44,48 @@ dependencies:
|
|
38
44
|
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
46
|
version: '5.1'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: logger
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.6.1
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 1.6.1
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: ostruct
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 0.6.0
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.6.0
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rexml
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 3.3.6
|
82
|
+
type: :runtime
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 3.3.6
|
41
89
|
- !ruby/object:Gem::Dependency
|
42
90
|
name: byebug
|
43
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -281,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
329
|
- !ruby/object:Gem::Version
|
282
330
|
version: '0'
|
283
331
|
requirements: []
|
284
|
-
rubygems_version: 3.5.
|
332
|
+
rubygems_version: 3.5.22
|
285
333
|
signing_key:
|
286
334
|
specification_version: 4
|
287
335
|
summary: A Faithteams API client gem.
|