rhino_project_core 0.20.0.beta.85 → 0.20.0.beta.87

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: 46772df05fc53e4b8c4f04485648ff5cbefd59347d626090704e7dc13f33e0d2
4
- data.tar.gz: 1fb2e9c12bb26e4a05c2b125e8c959162927a59268fd8df7225435838758f5fb
3
+ metadata.gz: 2086a5bc5fa1a3845b613f84d271c859e62e42980768ef046f69054a270e6e15
4
+ data.tar.gz: 0b66c2cecfb4590c858fc8f87789c7c73e78b4966171befba075d07991843633
5
5
  SHA512:
6
- metadata.gz: cf145e9c230b347b7b38af48cfcd03bbfb30558a979ffb7f72fd1ec18e0b08cb66edba42b08506e6c9375988758127409f612599d822cf4300a33989c01713fc
7
- data.tar.gz: 3ed5e5fd034e572db52be0a924e6363a3be87b357f50036463daac42e66c521ccdf6e898018cac26d964aba5ae183d5eac447445e0806630fa82b2c5a3d99913
6
+ metadata.gz: 4b1718c518d2cef5ec8278c1ba6b7d8c91386ea75c1bed88d81d75491c8ceba273f88485f0ea39b19cb6fd243159eebdaea6730acd644c0d88541b07dd43d3dd
7
+ data.tar.gz: 4ebb8055e81f059a48c974f99e8188b775c54db919cbd4d64ee666f8a1178233a634a9e5b64a2a93d9bd5dfcca68d1c5eafa408923a99ac37af3e6e9b93f93b7
data/lib/rhino/engine.rb CHANGED
@@ -3,10 +3,27 @@
3
3
  require "rhino/version"
4
4
 
5
5
  # https://guides.rubyonrails.org/engines.html#other-gem-dependencies
6
+ require "activeadmin"
7
+ require "acts-as-taggable-on"
8
+ require "ancestry"
9
+ require "arel-helpers"
10
+ require "countries"
6
11
  require "devise"
7
12
  require "devise_invitable"
8
13
  require "devise_token_auth"
14
+ require "friendly_id"
15
+ require "omniauth"
16
+ require "omniauth-azure-activedirectory-v2"
17
+ require "omniauth-auth0"
18
+ require "omniauth-facebook"
19
+ require "omniauth-github"
20
+ require "omniauth-google-oauth2"
21
+ require "omniauth/rails_csrf_protection"
22
+ require "rack/cors"
23
+ require "pg_search"
24
+ require "phonelib"
9
25
  require "pundit"
26
+ require "segment/analytics"
10
27
 
11
28
  module Rhino
12
29
  class Engine < ::Rails::Engine
@@ -45,7 +45,8 @@ module Rhino
45
45
  end
46
46
 
47
47
  def rhino_policy(policy)
48
- self._policy_class = "rhino/#{policy}_policy".classify.safe_constantize || "#{policy}_policy".classify.safe_constantize
48
+ # Look for local policy first, then look in the rhino namespace
49
+ self._policy_class = "#{policy}_policy".classify.safe_constantize || "rhino/#{policy}_policy".classify.safe_constantize
49
50
 
50
51
  raise "Policy #{policy} not found for #{name}" unless _policy_class
51
52
  end
data/lib/rhino/version.rb CHANGED
@@ -10,7 +10,7 @@ module Rhino
10
10
  MAJOR = 0
11
11
  MINOR = 20
12
12
  TINY = 0
13
- PRE = "beta.85"
13
+ PRE = "beta.87"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhino_project_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0.beta.85
4
+ version: 0.20.0.beta.87
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Rosevear
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-22 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,6 +44,76 @@ dependencies:
44
44
  - - '='
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.14.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: acts-as-taggable-on
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - '='
52
+ - !ruby/object:Gem::Version
53
+ version: 9.0.1
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - '='
59
+ - !ruby/object:Gem::Version
60
+ version: 9.0.1
61
+ - !ruby/object:Gem::Dependency
62
+ name: analytics-ruby
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - '='
66
+ - !ruby/object:Gem::Version
67
+ version: 2.0.13
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '='
73
+ - !ruby/object:Gem::Version
74
+ version: 2.0.13
75
+ - !ruby/object:Gem::Dependency
76
+ name: ancestry
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - '='
80
+ - !ruby/object:Gem::Version
81
+ version: 4.0.0
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - '='
87
+ - !ruby/object:Gem::Version
88
+ version: 4.0.0
89
+ - !ruby/object:Gem::Dependency
90
+ name: arel-helpers
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - '='
94
+ - !ruby/object:Gem::Version
95
+ version: 2.14.0
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '='
101
+ - !ruby/object:Gem::Version
102
+ version: 2.14.0
103
+ - !ruby/object:Gem::Dependency
104
+ name: countries
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - '='
108
+ - !ruby/object:Gem::Version
109
+ version: 6.0.0
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - '='
115
+ - !ruby/object:Gem::Version
116
+ version: 6.0.0
47
117
  - !ruby/object:Gem::Dependency
48
118
  name: devise
49
119
  requirement: !ruby/object:Gem::Requirement
@@ -72,6 +142,20 @@ dependencies:
72
142
  - - '='
73
143
  - !ruby/object:Gem::Version
74
144
  version: 1.2.3
145
+ - !ruby/object:Gem::Dependency
146
+ name: friendly_id
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - '='
150
+ - !ruby/object:Gem::Version
151
+ version: 5.3.0
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - '='
157
+ - !ruby/object:Gem::Version
158
+ version: 5.3.0
75
159
  - !ruby/object:Gem::Dependency
76
160
  name: js_regex
77
161
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +170,132 @@ dependencies:
86
170
  - - '='
87
171
  - !ruby/object:Gem::Version
88
172
  version: 3.11.1
173
+ - !ruby/object:Gem::Dependency
174
+ name: omniauth
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - '='
178
+ - !ruby/object:Gem::Version
179
+ version: 2.1.2
180
+ type: :runtime
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - '='
185
+ - !ruby/object:Gem::Version
186
+ version: 2.1.2
187
+ - !ruby/object:Gem::Dependency
188
+ name: omniauth-azure-activedirectory-v2
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - '='
192
+ - !ruby/object:Gem::Version
193
+ version: 2.0.1
194
+ type: :runtime
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - '='
199
+ - !ruby/object:Gem::Version
200
+ version: 2.0.1
201
+ - !ruby/object:Gem::Dependency
202
+ name: omniauth-auth0
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - '='
206
+ - !ruby/object:Gem::Version
207
+ version: 3.1.1
208
+ type: :runtime
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - '='
213
+ - !ruby/object:Gem::Version
214
+ version: 3.1.1
215
+ - !ruby/object:Gem::Dependency
216
+ name: omniauth-facebook
217
+ requirement: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - '='
220
+ - !ruby/object:Gem::Version
221
+ version: 9.0.0
222
+ type: :runtime
223
+ prerelease: false
224
+ version_requirements: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - '='
227
+ - !ruby/object:Gem::Version
228
+ version: 9.0.0
229
+ - !ruby/object:Gem::Dependency
230
+ name: omniauth-github
231
+ requirement: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - '='
234
+ - !ruby/object:Gem::Version
235
+ version: 2.0.1
236
+ type: :runtime
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - '='
241
+ - !ruby/object:Gem::Version
242
+ version: 2.0.1
243
+ - !ruby/object:Gem::Dependency
244
+ name: omniauth-google-oauth2
245
+ requirement: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - '='
248
+ - !ruby/object:Gem::Version
249
+ version: 1.1.1
250
+ type: :runtime
251
+ prerelease: false
252
+ version_requirements: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - '='
255
+ - !ruby/object:Gem::Version
256
+ version: 1.1.1
257
+ - !ruby/object:Gem::Dependency
258
+ name: omniauth-rails_csrf_protection
259
+ requirement: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - '='
262
+ - !ruby/object:Gem::Version
263
+ version: 1.0.1
264
+ type: :runtime
265
+ prerelease: false
266
+ version_requirements: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - '='
269
+ - !ruby/object:Gem::Version
270
+ version: 1.0.1
271
+ - !ruby/object:Gem::Dependency
272
+ name: pg_search
273
+ requirement: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - '='
276
+ - !ruby/object:Gem::Version
277
+ version: 2.3.6
278
+ type: :runtime
279
+ prerelease: false
280
+ version_requirements: !ruby/object:Gem::Requirement
281
+ requirements:
282
+ - - '='
283
+ - !ruby/object:Gem::Version
284
+ version: 2.3.6
285
+ - !ruby/object:Gem::Dependency
286
+ name: phonelib
287
+ requirement: !ruby/object:Gem::Requirement
288
+ requirements:
289
+ - - '='
290
+ - !ruby/object:Gem::Version
291
+ version: 0.6.51
292
+ type: :runtime
293
+ prerelease: false
294
+ version_requirements: !ruby/object:Gem::Requirement
295
+ requirements:
296
+ - - '='
297
+ - !ruby/object:Gem::Version
298
+ version: 0.6.51
89
299
  - !ruby/object:Gem::Dependency
90
300
  name: pundit
91
301
  requirement: !ruby/object:Gem::Requirement
@@ -100,6 +310,20 @@ dependencies:
100
310
  - - '='
101
311
  - !ruby/object:Gem::Version
102
312
  version: 2.1.0
313
+ - !ruby/object:Gem::Dependency
314
+ name: rack-cors
315
+ requirement: !ruby/object:Gem::Requirement
316
+ requirements:
317
+ - - '='
318
+ - !ruby/object:Gem::Version
319
+ version: 1.1.1
320
+ type: :runtime
321
+ prerelease: false
322
+ version_requirements: !ruby/object:Gem::Requirement
323
+ requirements:
324
+ - - '='
325
+ - !ruby/object:Gem::Version
326
+ version: 1.1.1
103
327
  - !ruby/object:Gem::Dependency
104
328
  name: rake
105
329
  requirement: !ruby/object:Gem::Requirement