pursuit 0.4.3 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 293a43dc6ac02a82e39312daaa94e7d222264493d8d0df1e48d1c1a767711a7a
4
- data.tar.gz: e47009b06f1df8e7d81e60d46f08ed67eadf304a273379ce89bee262a416e398
3
+ metadata.gz: 3de94df3d5b52d4c91443ae748a3abb79e64a46aee742af05d81f38dc3c050b6
4
+ data.tar.gz: c41d2d0a0498b08fa938046973bd459856253e78159e7f71256f0d33ce6b0c61
5
5
  SHA512:
6
- metadata.gz: 215ad485b981a56628931332434a340ba353397fb70fa40067ee39cccf38405b28ecec2a114e87aca7e1de3160fd05aa6bc1d3af7724897d613ae469d6c05bf2
7
- data.tar.gz: dbd090187418d64ba7c91ce1ed836197fea536ee5896b3fe430ff7e70b740e4ef6117512d98e368ce244ffae4ffd501705bf9b3408892f8335fc4e14490a2a5b
6
+ metadata.gz: 488e5ac1cf2b9d4368608d179134f16945450de39560c07671909c3dbdf2c736afe528ec0b319d9b673ff4f990272b3d9678c22a1748f64f8f526b35a7ff554c
7
+ data.tar.gz: 78178098bb90e01510d2bb741a7bc5994ea307d5e79fb47e45cf1e476a91a2cd1dc6df2b70423530a4a7aca93e29f1c3e16b6c80a03c3538158043b5330ff32d
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.0
1
+ 3.2.2
data/.travis.yml CHANGED
@@ -1,11 +1,12 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 3.2.0
3
+ - 3.2.2
4
4
  gemfile:
5
5
  - travis/gemfiles/5.2.gemfile
6
6
  - travis/gemfiles/6.0.gemfile
7
7
  - travis/gemfiles/6.1.gemfile
8
8
  - travis/gemfiles/7.0.gemfile
9
+ - travis/gemfiles/7.1.gemfile
9
10
  services:
10
11
  - postgresql
11
12
  before_install:
@@ -14,11 +15,11 @@ before_install:
14
15
  before_script:
15
16
  - psql -c 'CREATE DATABASE pursuit_test;' -U postgres
16
17
  addons:
17
- postgresql: 14
18
+ postgresql: 16
18
19
  apt:
19
20
  packages:
20
- - postgresql-14
21
- - postgresql-client-14
21
+ - postgresql-16
22
+ - postgresql-client-16
22
23
  env:
23
24
  global:
24
25
  - DATABASE_URL="postgresql://127.0.0.1:5432/pursuit_test"
data/Gemfile CHANGED
@@ -3,3 +3,17 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
+
7
+ gem 'bundler', '~> 2.4'
8
+ gem 'combustion', '~> 1.3'
9
+ gem 'guard', '~> 2.18'
10
+ gem 'guard-rspec', '~> 4.7'
11
+ gem 'pry', '~> 0.14'
12
+ gem 'rake', '~> 13.0'
13
+ gem 'rspec', '~> 3.12'
14
+ gem 'rspec-rails', '~> 6.0'
15
+ gem 'rubocop', '~> 1.57'
16
+ gem 'rubocop-rake', '~> 0.6'
17
+ gem 'rubocop-rspec', '~> 2.25'
18
+ gem 'sqlite3', '~> 1.6'
19
+ gem 'yard', '~> 0.9'
data/Gemfile.lock CHANGED
@@ -1,50 +1,63 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pursuit (0.4.3)
5
- activerecord (>= 5.2.0, < 7.1.0)
6
- activesupport (>= 5.2.0, < 7.1.0)
4
+ pursuit (0.4.5)
5
+ activerecord (>= 5.2.0, < 7.2.0)
6
+ activesupport (>= 5.2.0, < 7.2.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (7.0.4.1)
12
- actionview (= 7.0.4.1)
13
- activesupport (= 7.0.4.1)
14
- rack (~> 2.0, >= 2.2.0)
11
+ actionpack (7.1.1)
12
+ actionview (= 7.1.1)
13
+ activesupport (= 7.1.1)
14
+ nokogiri (>= 1.8.5)
15
+ rack (>= 2.2.4)
16
+ rack-session (>= 1.0.1)
15
17
  rack-test (>= 0.6.3)
16
- rails-dom-testing (~> 2.0)
17
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (7.0.4.1)
19
- activesupport (= 7.0.4.1)
18
+ rails-dom-testing (~> 2.2)
19
+ rails-html-sanitizer (~> 1.6)
20
+ actionview (7.1.1)
21
+ activesupport (= 7.1.1)
20
22
  builder (~> 3.1)
21
- erubi (~> 1.4)
22
- rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activemodel (7.0.4.1)
25
- activesupport (= 7.0.4.1)
26
- activerecord (7.0.4.1)
27
- activemodel (= 7.0.4.1)
28
- activesupport (= 7.0.4.1)
29
- activesupport (7.0.4.1)
23
+ erubi (~> 1.11)
24
+ rails-dom-testing (~> 2.2)
25
+ rails-html-sanitizer (~> 1.6)
26
+ activemodel (7.1.1)
27
+ activesupport (= 7.1.1)
28
+ activerecord (7.1.1)
29
+ activemodel (= 7.1.1)
30
+ activesupport (= 7.1.1)
31
+ timeout (>= 0.4.0)
32
+ activesupport (7.1.1)
33
+ base64
34
+ bigdecimal
30
35
  concurrent-ruby (~> 1.0, >= 1.0.2)
36
+ connection_pool (>= 2.2.5)
37
+ drb
31
38
  i18n (>= 1.6, < 2)
32
39
  minitest (>= 5.1)
40
+ mutex_m
33
41
  tzinfo (~> 2.0)
34
42
  ast (2.4.2)
43
+ base64 (0.1.1)
44
+ bigdecimal (3.1.4)
35
45
  builder (3.2.4)
36
46
  coderay (1.1.3)
37
47
  combustion (1.3.7)
38
48
  activesupport (>= 3.0.0)
39
49
  railties (>= 3.0.0)
40
50
  thor (>= 0.14.6)
41
- concurrent-ruby (1.1.10)
51
+ concurrent-ruby (1.2.2)
52
+ connection_pool (2.4.1)
42
53
  crass (1.0.6)
43
54
  diff-lcs (1.5.0)
55
+ drb (2.1.1)
56
+ ruby2_keywords
44
57
  erubi (1.12.0)
45
- ffi (1.15.5)
58
+ ffi (1.16.3)
46
59
  formatador (1.1.0)
47
- guard (2.18.0)
60
+ guard (2.18.1)
48
61
  formatador (>= 0.2.4)
49
62
  listen (>= 2.7, < 4.0)
50
63
  lumberjack (>= 1.0.12, < 2.0)
@@ -58,113 +71,140 @@ GEM
58
71
  guard (~> 2.1)
59
72
  guard-compat (~> 1.1)
60
73
  rspec (>= 2.99.0, < 4.0)
61
- i18n (1.12.0)
74
+ i18n (1.14.1)
62
75
  concurrent-ruby (~> 1.0)
76
+ io-console (0.6.0)
77
+ irb (1.8.3)
78
+ rdoc
79
+ reline (>= 0.3.8)
63
80
  json (2.6.3)
81
+ language_server-protocol (3.17.0.3)
64
82
  listen (3.8.0)
65
83
  rb-fsevent (~> 0.10, >= 0.10.3)
66
84
  rb-inotify (~> 0.9, >= 0.9.10)
67
- loofah (2.19.1)
85
+ loofah (2.21.4)
68
86
  crass (~> 1.0.2)
69
- nokogiri (>= 1.5.9)
70
- lumberjack (1.2.8)
87
+ nokogiri (>= 1.12.0)
88
+ lumberjack (1.2.9)
71
89
  method_source (1.0.0)
72
- minitest (5.17.0)
90
+ minitest (5.20.0)
91
+ mutex_m (0.1.2)
73
92
  nenv (0.3.0)
74
- nokogiri (1.14.0-aarch64-linux)
93
+ nokogiri (1.15.4-aarch64-linux)
75
94
  racc (~> 1.4)
76
- nokogiri (1.14.0-arm64-darwin)
95
+ nokogiri (1.15.4-arm64-darwin)
77
96
  racc (~> 1.4)
78
- nokogiri (1.14.0-x86_64-darwin)
97
+ nokogiri (1.15.4-x86_64-darwin)
79
98
  racc (~> 1.4)
80
- nokogiri (1.14.0-x86_64-linux)
99
+ nokogiri (1.15.4-x86_64-linux)
81
100
  racc (~> 1.4)
82
101
  notiffany (0.1.3)
83
102
  nenv (~> 0.1)
84
103
  shellany (~> 0.0)
85
- parallel (1.22.1)
86
- parser (3.2.0.0)
104
+ parallel (1.23.0)
105
+ parser (3.2.2.4)
87
106
  ast (~> 2.4.1)
107
+ racc
88
108
  pry (0.14.2)
89
109
  coderay (~> 1.1)
90
110
  method_source (~> 1.0)
91
- racc (1.6.2)
92
- rack (2.2.6.2)
93
- rack-test (2.0.2)
111
+ psych (5.1.1.1)
112
+ stringio
113
+ racc (1.7.1)
114
+ rack (3.0.8)
115
+ rack-session (2.0.0)
116
+ rack (>= 3.0.0)
117
+ rack-test (2.1.0)
94
118
  rack (>= 1.3)
95
- rails-dom-testing (2.0.3)
96
- activesupport (>= 4.2.0)
119
+ rackup (2.1.0)
120
+ rack (>= 3)
121
+ webrick (~> 1.8)
122
+ rails-dom-testing (2.2.0)
123
+ activesupport (>= 5.0.0)
124
+ minitest
97
125
  nokogiri (>= 1.6)
98
- rails-html-sanitizer (1.5.0)
99
- loofah (~> 2.19, >= 2.19.1)
100
- railties (7.0.4.1)
101
- actionpack (= 7.0.4.1)
102
- activesupport (= 7.0.4.1)
103
- method_source
126
+ rails-html-sanitizer (1.6.0)
127
+ loofah (~> 2.21)
128
+ nokogiri (~> 1.14)
129
+ railties (7.1.1)
130
+ actionpack (= 7.1.1)
131
+ activesupport (= 7.1.1)
132
+ irb
133
+ rackup (>= 1.0.0)
104
134
  rake (>= 12.2)
105
- thor (~> 1.0)
106
- zeitwerk (~> 2.5)
135
+ thor (~> 1.0, >= 1.2.2)
136
+ zeitwerk (~> 2.6)
107
137
  rainbow (3.1.1)
108
138
  rake (13.0.6)
109
139
  rb-fsevent (0.11.2)
110
140
  rb-inotify (0.10.1)
111
141
  ffi (~> 1.0)
112
- regexp_parser (2.6.2)
113
- rexml (3.2.5)
142
+ rdoc (6.5.0)
143
+ psych (>= 4.0.0)
144
+ regexp_parser (2.8.2)
145
+ reline (0.3.9)
146
+ io-console (~> 0.5)
147
+ rexml (3.2.6)
114
148
  rspec (3.12.0)
115
149
  rspec-core (~> 3.12.0)
116
150
  rspec-expectations (~> 3.12.0)
117
151
  rspec-mocks (~> 3.12.0)
118
- rspec-core (3.12.0)
152
+ rspec-core (3.12.2)
119
153
  rspec-support (~> 3.12.0)
120
- rspec-expectations (3.12.2)
154
+ rspec-expectations (3.12.3)
121
155
  diff-lcs (>= 1.2.0, < 2.0)
122
156
  rspec-support (~> 3.12.0)
123
- rspec-mocks (3.12.3)
157
+ rspec-mocks (3.12.6)
124
158
  diff-lcs (>= 1.2.0, < 2.0)
125
159
  rspec-support (~> 3.12.0)
126
- rspec-rails (6.0.1)
160
+ rspec-rails (6.0.3)
127
161
  actionpack (>= 6.1)
128
162
  activesupport (>= 6.1)
129
163
  railties (>= 6.1)
130
- rspec-core (~> 3.11)
131
- rspec-expectations (~> 3.11)
132
- rspec-mocks (~> 3.11)
133
- rspec-support (~> 3.11)
134
- rspec-support (3.12.0)
135
- rubocop (1.44.0)
164
+ rspec-core (~> 3.12)
165
+ rspec-expectations (~> 3.12)
166
+ rspec-mocks (~> 3.12)
167
+ rspec-support (~> 3.12)
168
+ rspec-support (3.12.1)
169
+ rubocop (1.57.2)
136
170
  json (~> 2.3)
171
+ language_server-protocol (>= 3.17.0)
137
172
  parallel (~> 1.10)
138
- parser (>= 3.2.0.0)
173
+ parser (>= 3.2.2.4)
139
174
  rainbow (>= 2.2.2, < 4.0)
140
175
  regexp_parser (>= 1.8, < 3.0)
141
176
  rexml (>= 3.2.5, < 4.0)
142
- rubocop-ast (>= 1.24.1, < 2.0)
177
+ rubocop-ast (>= 1.28.1, < 2.0)
143
178
  ruby-progressbar (~> 1.7)
144
179
  unicode-display_width (>= 2.4.0, < 3.0)
145
- rubocop-ast (1.24.1)
146
- parser (>= 3.1.1.0)
147
- rubocop-capybara (2.17.0)
180
+ rubocop-ast (1.30.0)
181
+ parser (>= 3.2.1.0)
182
+ rubocop-capybara (2.19.0)
148
183
  rubocop (~> 1.41)
184
+ rubocop-factory_bot (2.24.0)
185
+ rubocop (~> 1.33)
149
186
  rubocop-rake (0.6.0)
150
187
  rubocop (~> 1.0)
151
- rubocop-rspec (2.18.0)
152
- rubocop (~> 1.33)
153
- rubocop-capybara
154
- ruby-progressbar (1.11.0)
188
+ rubocop-rspec (2.25.0)
189
+ rubocop (~> 1.40)
190
+ rubocop-capybara (~> 2.17)
191
+ rubocop-factory_bot (~> 2.22)
192
+ ruby-progressbar (1.13.0)
193
+ ruby2_keywords (0.0.5)
155
194
  shellany (0.0.1)
156
- sqlite3 (1.6.0-aarch64-linux)
157
- sqlite3 (1.6.0-arm64-darwin)
158
- sqlite3 (1.6.0-x86_64-darwin)
159
- sqlite3 (1.6.0-x86_64-linux)
160
- thor (1.2.1)
161
- tzinfo (2.0.5)
195
+ sqlite3 (1.6.7-aarch64-linux)
196
+ sqlite3 (1.6.7-arm64-darwin)
197
+ sqlite3 (1.6.7-x86_64-darwin)
198
+ sqlite3 (1.6.7-x86_64-linux)
199
+ stringio (3.0.8)
200
+ thor (1.3.0)
201
+ timeout (0.4.0)
202
+ tzinfo (2.0.6)
162
203
  concurrent-ruby (~> 1.0)
163
- unicode-display_width (2.4.2)
164
- webrick (1.7.0)
165
- yard (0.9.28)
166
- webrick (~> 1.7.0)
167
- zeitwerk (2.6.6)
204
+ unicode-display_width (2.5.0)
205
+ webrick (1.8.1)
206
+ yard (0.9.34)
207
+ zeitwerk (2.6.12)
168
208
 
169
209
  PLATFORMS
170
210
  aarch64-linux
@@ -173,7 +213,7 @@ PLATFORMS
173
213
  x86_64-linux
174
214
 
175
215
  DEPENDENCIES
176
- bundler (~> 2.0)
216
+ bundler (~> 2.4)
177
217
  combustion (~> 1.3)
178
218
  guard (~> 2.18)
179
219
  guard-rspec (~> 4.7)
@@ -182,11 +222,11 @@ DEPENDENCIES
182
222
  rake (~> 13.0)
183
223
  rspec (~> 3.12)
184
224
  rspec-rails (~> 6.0)
185
- rubocop (~> 1.44)
225
+ rubocop (~> 1.57)
186
226
  rubocop-rake (~> 0.6)
187
- rubocop-rspec (~> 2.18)
227
+ rubocop-rspec (~> 2.25)
188
228
  sqlite3 (~> 1.6)
189
229
  yard (~> 0.9)
190
230
 
191
231
  BUNDLED WITH
192
- 2.4.5
232
+ 2.4.12
data/LICENSE CHANGED
@@ -1,21 +1,174 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Nialto Services
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
data/config.ru CHANGED
@@ -3,7 +3,6 @@
3
3
  require 'rubygems'
4
4
  require 'bundler'
5
5
 
6
- Bundler.require :default, :development
7
-
8
- Combustion.initialize! :all
6
+ Bundler.require(:default, :development)
7
+ Combustion.initialize!(:all)
9
8
  run Combustion::Application
@@ -3,5 +3,5 @@
3
3
  module Pursuit
4
4
  # @return [String] The gem's semantic version number.
5
5
  #
6
- VERSION = '0.4.3'
6
+ VERSION = '0.4.5'
7
7
  end
data/lib/pursuit.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'pursuit/constants'
4
- require 'pursuit/search_options'
5
- require 'pursuit/search_term_parser'
6
- require 'pursuit/search'
7
- require 'pursuit/railtie' if defined?(Rails::Railtie)
3
+ require_relative 'pursuit/constants'
4
+ require_relative 'pursuit/search_options'
5
+ require_relative 'pursuit/search_term_parser'
6
+ require_relative 'pursuit/search'
7
+ require_relative 'pursuit/railtie' if defined?(Rails::Railtie)
data/pursuit.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
 
14
14
  spec.summary = 'Advanced key-based searching for ActiveRecord objects.'
15
15
  spec.homepage = 'https://github.com/nialtoservices/pursuit'
16
- spec.license = 'MIT'
16
+ spec.license = 'Apache-2.0'
17
17
 
18
18
  spec.files = `git ls-files -z`.split("\x0")
19
19
  spec.require_paths = ['lib']
@@ -23,20 +23,6 @@ Gem::Specification.new do |spec|
23
23
  spec.metadata['rubygems_mfa_required'] = 'true'
24
24
  spec.metadata['yard.run'] = 'yri'
25
25
 
26
- spec.add_runtime_dependency 'activerecord', '>= 5.2.0', '< 7.1.0'
27
- spec.add_runtime_dependency 'activesupport', '>= 5.2.0', '< 7.1.0'
28
-
29
- spec.add_development_dependency 'bundler', '~> 2.0'
30
- spec.add_development_dependency 'combustion', '~> 1.3'
31
- spec.add_development_dependency 'guard', '~> 2.18'
32
- spec.add_development_dependency 'guard-rspec', '~> 4.7'
33
- spec.add_development_dependency 'pry', '~> 0.14'
34
- spec.add_development_dependency 'rake', '~> 13.0'
35
- spec.add_development_dependency 'rspec', '~> 3.12'
36
- spec.add_development_dependency 'rspec-rails', '~> 6.0'
37
- spec.add_development_dependency 'rubocop', '~> 1.44'
38
- spec.add_development_dependency 'rubocop-rake', '~> 0.6'
39
- spec.add_development_dependency 'rubocop-rspec', '~> 2.18'
40
- spec.add_development_dependency 'sqlite3', '~> 1.6'
41
- spec.add_development_dependency 'yard', '~> 0.9'
26
+ spec.add_runtime_dependency 'activerecord', '>= 5.2.0', '< 7.2.0'
27
+ spec.add_runtime_dependency 'activesupport', '>= 5.2.0', '< 7.2.0'
42
28
  end
data/spec/spec_helper.rb CHANGED
@@ -13,13 +13,12 @@
13
13
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
14
14
 
15
15
  require 'combustion'
16
- Combustion.initialize! :active_record
16
+ Combustion.initialize!(:active_record)
17
17
 
18
18
  require 'bundler'
19
- Bundler.require :default, :development
19
+ Bundler.require(:default, :development)
20
20
 
21
21
  require 'rspec/rails'
22
-
23
22
  RSpec.configure do |config|
24
23
  # rspec-expectations config goes here. You can use an alternate assertion/expectation library such as wrong or the
25
24
  # stdlib/minitest assertions if you prefer.
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec path: '../../'
6
+
7
+ gem 'activerecord', '~> 7.1.0'
8
+ gem 'activesupport', '~> 7.1.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pursuit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nialto Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-23 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 5.2.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 7.1.0
22
+ version: 7.2.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 5.2.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 7.1.0
32
+ version: 7.2.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activesupport
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: 5.2.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: 7.1.0
42
+ version: 7.2.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,189 +49,7 @@ dependencies:
49
49
  version: 5.2.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: 7.1.0
53
- - !ruby/object:Gem::Dependency
54
- name: bundler
55
- requirement: !ruby/object:Gem::Requirement
56
- requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '2.0'
60
- type: :development
61
- prerelease: false
62
- version_requirements: !ruby/object:Gem::Requirement
63
- requirements:
64
- - - "~>"
65
- - !ruby/object:Gem::Version
66
- version: '2.0'
67
- - !ruby/object:Gem::Dependency
68
- name: combustion
69
- requirement: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: '1.3'
74
- type: :development
75
- prerelease: false
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - "~>"
79
- - !ruby/object:Gem::Version
80
- version: '1.3'
81
- - !ruby/object:Gem::Dependency
82
- name: guard
83
- requirement: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '2.18'
88
- type: :development
89
- prerelease: false
90
- version_requirements: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: '2.18'
95
- - !ruby/object:Gem::Dependency
96
- name: guard-rspec
97
- requirement: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - "~>"
100
- - !ruby/object:Gem::Version
101
- version: '4.7'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - "~>"
107
- - !ruby/object:Gem::Version
108
- version: '4.7'
109
- - !ruby/object:Gem::Dependency
110
- name: pry
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - "~>"
114
- - !ruby/object:Gem::Version
115
- version: '0.14'
116
- type: :development
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: '0.14'
123
- - !ruby/object:Gem::Dependency
124
- name: rake
125
- requirement: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '13.0'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - "~>"
135
- - !ruby/object:Gem::Version
136
- version: '13.0'
137
- - !ruby/object:Gem::Dependency
138
- name: rspec
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - "~>"
142
- - !ruby/object:Gem::Version
143
- version: '3.12'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - "~>"
149
- - !ruby/object:Gem::Version
150
- version: '3.12'
151
- - !ruby/object:Gem::Dependency
152
- name: rspec-rails
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '6.0'
158
- type: :development
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '6.0'
165
- - !ruby/object:Gem::Dependency
166
- name: rubocop
167
- requirement: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - "~>"
170
- - !ruby/object:Gem::Version
171
- version: '1.44'
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - "~>"
177
- - !ruby/object:Gem::Version
178
- version: '1.44'
179
- - !ruby/object:Gem::Dependency
180
- name: rubocop-rake
181
- requirement: !ruby/object:Gem::Requirement
182
- requirements:
183
- - - "~>"
184
- - !ruby/object:Gem::Version
185
- version: '0.6'
186
- type: :development
187
- prerelease: false
188
- version_requirements: !ruby/object:Gem::Requirement
189
- requirements:
190
- - - "~>"
191
- - !ruby/object:Gem::Version
192
- version: '0.6'
193
- - !ruby/object:Gem::Dependency
194
- name: rubocop-rspec
195
- requirement: !ruby/object:Gem::Requirement
196
- requirements:
197
- - - "~>"
198
- - !ruby/object:Gem::Version
199
- version: '2.18'
200
- type: :development
201
- prerelease: false
202
- version_requirements: !ruby/object:Gem::Requirement
203
- requirements:
204
- - - "~>"
205
- - !ruby/object:Gem::Version
206
- version: '2.18'
207
- - !ruby/object:Gem::Dependency
208
- name: sqlite3
209
- requirement: !ruby/object:Gem::Requirement
210
- requirements:
211
- - - "~>"
212
- - !ruby/object:Gem::Version
213
- version: '1.6'
214
- type: :development
215
- prerelease: false
216
- version_requirements: !ruby/object:Gem::Requirement
217
- requirements:
218
- - - "~>"
219
- - !ruby/object:Gem::Version
220
- version: '1.6'
221
- - !ruby/object:Gem::Dependency
222
- name: yard
223
- requirement: !ruby/object:Gem::Requirement
224
- requirements:
225
- - - "~>"
226
- - !ruby/object:Gem::Version
227
- version: '0.9'
228
- type: :development
229
- prerelease: false
230
- version_requirements: !ruby/object:Gem::Requirement
231
- requirements:
232
- - - "~>"
233
- - !ruby/object:Gem::Version
234
- version: '0.9'
52
+ version: 7.2.0
235
53
  description:
236
54
  email:
237
55
  - support@nialtoservices.co.uk
@@ -278,9 +96,10 @@ files:
278
96
  - travis/gemfiles/6.0.gemfile
279
97
  - travis/gemfiles/6.1.gemfile
280
98
  - travis/gemfiles/7.0.gemfile
99
+ - travis/gemfiles/7.1.gemfile
281
100
  homepage: https://github.com/nialtoservices/pursuit
282
101
  licenses:
283
- - MIT
102
+ - Apache-2.0
284
103
  metadata:
285
104
  rubygems_mfa_required: 'true'
286
105
  yard.run: yri
@@ -299,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
118
  - !ruby/object:Gem::Version
300
119
  version: '0'
301
120
  requirements: []
302
- rubygems_version: 3.4.1
121
+ rubygems_version: 3.4.10
303
122
  signing_key:
304
123
  specification_version: 4
305
124
  summary: Advanced key-based searching for ActiveRecord objects.