rhino_project_core 0.20.0.alpha.0 → 0.20.0.beta.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +4 -5
  3. data/app/controllers/concerns/rhino/error_handling.rb +0 -2
  4. data/app/controllers/rhino/simple_controller.rb +1 -3
  5. data/app/overrides/devise_token_auth/omniauth_callbacks_controller_override.rb +2 -2
  6. data/app/overrides/devise_token_auth/registrations_controller_override.rb +1 -1
  7. data/lib/commands/rhino_command.rb +59 -0
  8. data/lib/generators/rhino/dev/setup/setup_generator.rb +31 -55
  9. data/lib/generators/rhino/module/module_generator.rb +59 -58
  10. data/lib/generators/rhino/module/templates/engine.rb.tt +19 -0
  11. data/lib/generators/rhino/module/templates/{lib/generators/%namespaced_name%/install/install_generator.rb.tt → install_generator.rb.tt} +1 -1
  12. data/lib/generators/rhino/module/templates/module_tasks.rake.tt +17 -0
  13. data/lib/rhino/engine.rb +14 -40
  14. data/lib/rhino/resource/active_model_extension/properties.rb +0 -2
  15. data/lib/rhino/resource/active_record_extension/properties.rb +1 -1
  16. data/lib/rhino/resource/active_record_extension/properties_describe.rb +0 -2
  17. data/lib/rhino/resource/active_record_extension.rb +0 -2
  18. data/lib/rhino/resource/properties.rb +2 -2
  19. data/lib/rhino/resource/reference.rb +2 -0
  20. data/lib/rhino/resource.rb +1 -2
  21. data/lib/rhino/sieve.rb +0 -1
  22. data/lib/rhino/test_case/controller.rb +9 -20
  23. data/lib/rhino/test_case.rb +0 -1
  24. data/lib/rhino/version.rb +1 -1
  25. data/lib/{rhino_project_core.rb → rhino.rb} +0 -2
  26. data/lib/tasks/rhino.rake +14 -0
  27. metadata +19 -372
  28. data/LICENSE +0 -21
  29. data/lib/commands/rhino/module/coverage_command.rb +0 -44
  30. data/lib/commands/rhino/module/dummy_command.rb +0 -43
  31. data/lib/commands/rhino/module/new_command.rb +0 -34
  32. data/lib/commands/rhino/module/rails_command.rb +0 -43
  33. data/lib/commands/rhino/module/test_command.rb +0 -43
  34. data/lib/generators/rhino/dev/setup/templates/env.root.tt +0 -1
  35. data/lib/generators/rhino/model/model_generator.rb +0 -96
  36. data/lib/generators/rhino/module/USAGE +0 -6
  37. data/lib/generators/rhino/module/templates/%name%.gemspec.tt +0 -24
  38. data/lib/generators/rhino/module/templates/lib/%namespaced_name%/engine.rb.tt +0 -18
  39. data/lib/generators/rhino/module/templates/lib/tasks/%namespaced_name%_tasks.rake.tt +0 -13
  40. data/lib/generators/rhino/module/templates/test/dummy/app/models/user.rb +0 -4
  41. data/lib/generators/rhino/module/templates/test/dummy/config/database.yml +0 -25
  42. data/lib/generators/rhino/module/templates/test/dummy/config/initializers/devise.rb +0 -311
  43. data/lib/generators/rhino/module/templates/test/dummy/config/initializers/devise_token_auth.rb +0 -71
  44. data/lib/generators/rhino/module/templates/test/test_helper.rb +0 -54
  45. data/lib/rhino/resource/active_record_extension/super_admin.rb +0 -25
  46. data/lib/rhino/sieve/geospatial.rb +0 -45
  47. data/lib/rhino/test_case/model.rb +0 -86
@@ -8,7 +8,6 @@ require_relative 'active_record_extension/routing'
8
8
  require_relative 'active_record_extension/params'
9
9
  require_relative 'active_record_extension/serialization'
10
10
  require_relative 'active_record_extension/search'
11
- require_relative 'active_record_extension/super_admin'
12
11
 
13
12
  module Rhino
14
13
  module Resource
@@ -26,7 +25,6 @@ module Rhino
26
25
  include Rhino::Resource::ActiveRecordExtension::Params
27
26
  include Rhino::Resource::ActiveRecordExtension::Serialization
28
27
  include Rhino::Resource::ActiveRecordExtension::Search
29
- include Rhino::Resource::ActiveRecordExtension::SuperAdmin
30
28
  end
31
29
  end
32
30
  end
@@ -182,8 +182,8 @@ module Rhino
182
182
  all_properties.include?(property)
183
183
  end
184
184
 
185
- def describe_property(property)
186
- raise NotImplementedError, "#describe_property is not implemented for #{property}"
185
+ def describe_property
186
+ raise NotImplementedError, '#describe_property is not implemented'
187
187
  end
188
188
  end
189
189
  # rubocop:enable Style/RedundantSelf
@@ -17,6 +17,8 @@ module Rhino
17
17
 
18
18
  class_methods do
19
19
  def rhino_references(references)
20
+ raise "rhino_references called multiple times for #{model_name}" if self._references.present? # rubocop:disable Style/RedundantSelf
21
+
20
22
  self._references = references
21
23
  end
22
24
 
@@ -45,8 +45,7 @@ module Rhino
45
45
  end
46
46
 
47
47
  def rhino_policy(policy)
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
48
+ self._policy_class = "rhino/#{policy}_policy".classify.safe_constantize || "#{policy}_policy".classify.safe_constantize
50
49
 
51
50
  raise "Policy #{policy} not found for #{name}" unless _policy_class
52
51
  end
data/lib/rhino/sieve.rb CHANGED
@@ -5,7 +5,6 @@ module Rhino
5
5
  extend ActiveSupport::Autoload
6
6
 
7
7
  autoload :Filter
8
- autoload :Geospatial
9
8
  autoload :Limit
10
9
  autoload :Offset
11
10
  autoload :Order
@@ -2,9 +2,11 @@
2
2
 
3
3
  module Rhino
4
4
  module TestCase
5
- # rubocop:disable Metrics/ClassLength
6
5
  class ControllerTest < ActionDispatch::IntegrationTest
7
- setup :set_cookie_attributes
6
+ def setup
7
+ DeviseTokenAuth.cookie_attributes[:secure] = false
8
+ DeviseTokenAuth.cookie_attributes[:domain] = :all
9
+ end
8
10
 
9
11
  protected
10
12
  def users_index(params: {}, headers: {})
@@ -17,7 +19,7 @@ module Rhino
17
19
 
18
20
  def sign_out_with_empty_auth_cookie
19
21
  params = {}
20
- headers = { "Cookie" => "#{DeviseTokenAuth.cookie_name}=;" }
22
+ headers = { "Cookie" => "auth_cookie=;" }
21
23
  delete "/api/auth/sign_out", params:, headers:
22
24
  end
23
25
 
@@ -33,8 +35,8 @@ module Rhino
33
35
  post path, params:, xhr: true, as: :json
34
36
  end
35
37
 
36
- def patch_api(path, params: {}, headers: {})
37
- patch path, params:, xhr: true, as: :json, headers:
38
+ def patch_api(path, params: {})
39
+ patch path, params:, xhr: true, as: :json
38
40
  end
39
41
 
40
42
  def put_api(path, params: {})
@@ -91,13 +93,7 @@ module Rhino
91
93
  password: @current_user.password
92
94
  }, as: :json
93
95
  assert_response_ok
94
- headers = response.headers
95
- # Use the configured header names
96
- assert headers[DeviseTokenAuth.headers_names[:"access-token"]]
97
- end
98
-
99
- def parsed_response_ids
100
- parsed_response.fetch("results", []).map { |result| result["id"] }
96
+ assert response.cookies[DeviseTokenAuth.cookie_name], "Auth cookie #{DeviseTokenAuth.cookie_name} not present"
101
97
  end
102
98
 
103
99
  def parsed_response
@@ -109,7 +105,7 @@ module Rhino
109
105
  end
110
106
 
111
107
  def empty_auth_cookie_header
112
- { "Cookie" => "#{DeviseTokenAuth.cookie_name}=;" }
108
+ { "Cookie" => "auth_cookie=;" }
113
109
  end
114
110
 
115
111
  def current_access_token
@@ -133,13 +129,6 @@ module Rhino
133
129
  "approved" => true
134
130
  }
135
131
  end
136
-
137
- private
138
- def set_cookie_attributes
139
- DeviseTokenAuth.cookie_attributes[:secure] = false
140
- DeviseTokenAuth.cookie_attributes[:domain] = :all
141
- end
142
132
  end
143
- # rubocop:enable Metrics/ClassLength
144
133
  end
145
134
  end
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative "test_case/controller"
4
- require_relative "test_case/model"
5
4
  require_relative "test_case/override"
6
5
  require_relative "test_case/policy"
7
6
 
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 = "alpha.0"
13
+ PRE = "beta.18"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -65,8 +65,6 @@ module Rhino
65
65
  self.sieves = Rhino::SieveStack.new do |sieve|
66
66
  sieve.use Rhino::Sieve::Filter
67
67
 
68
- sieve.use Rhino::Sieve::Geospatial
69
-
70
68
  sieve.use Rhino::Sieve::Search
71
69
 
72
70
  sieve.use Rhino::Sieve::Order
data/lib/tasks/rhino.rake CHANGED
@@ -7,6 +7,12 @@ namespace :rhino do
7
7
  desc 'Install Rhino'
8
8
  task install: %w[environment run_installer]
9
9
 
10
+ desc 'Generate Rhino module'
11
+ task module: %w[environment run_module]
12
+
13
+ desc 'Generate fulle Rhino module'
14
+ task module_full: %w[environment run_module_full]
15
+
10
16
  desc 'Export Rhino Open API information for client'
11
17
  task open_api_export: :environment do
12
18
  static_file = Rails.root.parent.join('client', 'src', 'models', 'static.js')
@@ -21,4 +27,12 @@ namespace :rhino do
21
27
 
22
28
  Rails::Command.invoke :generate, ['rhino:install']
23
29
  end
30
+
31
+ task run_module: :environment do
32
+ Rails::Command.invoke :generate, ['rhino:module']
33
+ end
34
+
35
+ task run_module_full: :environment do
36
+ Rails::Command.invoke :generate, ['rhino:module', '--full']
37
+ end
24
38
  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.alpha.0
4
+ version: 0.20.0.beta.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Rosevear
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-08 00:00:00.000000000 Z
11
+ date: 2024-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,364 +16,27 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 7.1.0
19
+ version: 7.0.0
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 7.1.0
22
+ version: 7.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 7.1.0
29
+ version: 7.0.0
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 7.1.0
33
- - !ruby/object:Gem::Dependency
34
- name: activeadmin
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - '='
38
- - !ruby/object:Gem::Version
39
- version: 3.2.2
40
- type: :runtime
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - '='
45
- - !ruby/object:Gem::Version
46
- version: 3.2.2
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: 10.0.0
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - '='
59
- - !ruby/object:Gem::Version
60
- version: 10.0.0
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
117
- - !ruby/object:Gem::Dependency
118
- name: devise
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - '='
122
- - !ruby/object:Gem::Version
123
- version: 4.9.4
124
- type: :runtime
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - '='
129
- - !ruby/object:Gem::Version
130
- version: 4.9.4
131
- - !ruby/object:Gem::Dependency
132
- name: devise_token_auth
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - '='
136
- - !ruby/object:Gem::Version
137
- version: 1.2.3
138
- type: :runtime
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - '='
143
- - !ruby/object:Gem::Version
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
159
- - !ruby/object:Gem::Dependency
160
- name: geocoder
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - '='
164
- - !ruby/object:Gem::Version
165
- version: 1.8.2
166
- type: :runtime
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - '='
171
- - !ruby/object:Gem::Version
172
- version: 1.8.2
173
- - !ruby/object:Gem::Dependency
174
- name: js_regex
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - '='
178
- - !ruby/object:Gem::Version
179
- version: 3.11.1
180
- type: :runtime
181
- prerelease: false
182
- version_requirements: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - '='
185
- - !ruby/object:Gem::Version
186
- version: 3.11.1
187
- - !ruby/object:Gem::Dependency
188
- name: omniauth
189
- requirement: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - '='
192
- - !ruby/object:Gem::Version
193
- version: 2.1.2
194
- type: :runtime
195
- prerelease: false
196
- version_requirements: !ruby/object:Gem::Requirement
197
- requirements:
198
- - - '='
199
- - !ruby/object:Gem::Version
200
- version: 2.1.2
201
- - !ruby/object:Gem::Dependency
202
- name: omniauth-azure-activedirectory-v2
203
- requirement: !ruby/object:Gem::Requirement
204
- requirements:
205
- - - '='
206
- - !ruby/object:Gem::Version
207
- version: 2.0.1
208
- type: :runtime
209
- prerelease: false
210
- version_requirements: !ruby/object:Gem::Requirement
211
- requirements:
212
- - - '='
213
- - !ruby/object:Gem::Version
214
- version: 2.0.1
215
- - !ruby/object:Gem::Dependency
216
- name: omniauth-auth0
217
- requirement: !ruby/object:Gem::Requirement
218
- requirements:
219
- - - '='
220
- - !ruby/object:Gem::Version
221
- version: 3.1.1
222
- type: :runtime
223
- prerelease: false
224
- version_requirements: !ruby/object:Gem::Requirement
225
- requirements:
226
- - - '='
227
- - !ruby/object:Gem::Version
228
- version: 3.1.1
229
- - !ruby/object:Gem::Dependency
230
- name: omniauth-facebook
231
- requirement: !ruby/object:Gem::Requirement
232
- requirements:
233
- - - '='
234
- - !ruby/object:Gem::Version
235
- version: 9.0.0
236
- type: :runtime
237
- prerelease: false
238
- version_requirements: !ruby/object:Gem::Requirement
239
- requirements:
240
- - - '='
241
- - !ruby/object:Gem::Version
242
- version: 9.0.0
243
- - !ruby/object:Gem::Dependency
244
- name: omniauth-github
245
- requirement: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - '='
248
- - !ruby/object:Gem::Version
249
- version: 2.0.1
250
- type: :runtime
251
- prerelease: false
252
- version_requirements: !ruby/object:Gem::Requirement
253
- requirements:
254
- - - '='
255
- - !ruby/object:Gem::Version
256
- version: 2.0.1
257
- - !ruby/object:Gem::Dependency
258
- name: omniauth-google-oauth2
259
- requirement: !ruby/object:Gem::Requirement
260
- requirements:
261
- - - '='
262
- - !ruby/object:Gem::Version
263
- version: 1.1.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.1.1
271
- - !ruby/object:Gem::Dependency
272
- name: omniauth-rails_csrf_protection
273
- requirement: !ruby/object:Gem::Requirement
274
- requirements:
275
- - - '='
276
- - !ruby/object:Gem::Version
277
- version: 1.0.1
278
- type: :runtime
279
- prerelease: false
280
- version_requirements: !ruby/object:Gem::Requirement
281
- requirements:
282
- - - '='
283
- - !ruby/object:Gem::Version
284
- version: 1.0.1
285
- - !ruby/object:Gem::Dependency
286
- name: pg_search
287
- requirement: !ruby/object:Gem::Requirement
288
- requirements:
289
- - - '='
290
- - !ruby/object:Gem::Version
291
- version: 2.3.6
292
- type: :runtime
293
- prerelease: false
294
- version_requirements: !ruby/object:Gem::Requirement
295
- requirements:
296
- - - '='
297
- - !ruby/object:Gem::Version
298
- version: 2.3.6
299
- - !ruby/object:Gem::Dependency
300
- name: phonelib
301
- requirement: !ruby/object:Gem::Requirement
302
- requirements:
303
- - - '='
304
- - !ruby/object:Gem::Version
305
- version: 0.6.51
306
- type: :runtime
307
- prerelease: false
308
- version_requirements: !ruby/object:Gem::Requirement
309
- requirements:
310
- - - '='
311
- - !ruby/object:Gem::Version
312
- version: 0.6.51
313
- - !ruby/object:Gem::Dependency
314
- name: pundit
315
- requirement: !ruby/object:Gem::Requirement
316
- requirements:
317
- - - '='
318
- - !ruby/object:Gem::Version
319
- version: 2.1.0
320
- type: :runtime
321
- prerelease: false
322
- version_requirements: !ruby/object:Gem::Requirement
323
- requirements:
324
- - - '='
325
- - !ruby/object:Gem::Version
326
- version: 2.1.0
327
- - !ruby/object:Gem::Dependency
328
- name: rack-cors
329
- requirement: !ruby/object:Gem::Requirement
330
- requirements:
331
- - - '='
332
- - !ruby/object:Gem::Version
333
- version: 1.1.1
334
- type: :runtime
335
- prerelease: false
336
- version_requirements: !ruby/object:Gem::Requirement
337
- requirements:
338
- - - '='
339
- - !ruby/object:Gem::Version
340
- version: 1.1.1
341
- - !ruby/object:Gem::Dependency
342
- name: rake
343
- requirement: !ruby/object:Gem::Requirement
344
- requirements:
345
- - - "~>"
346
- - !ruby/object:Gem::Version
347
- version: '13.1'
348
- type: :runtime
349
- prerelease: false
350
- version_requirements: !ruby/object:Gem::Requirement
351
- requirements:
352
- - - "~>"
353
- - !ruby/object:Gem::Version
354
- version: '13.1'
355
- - !ruby/object:Gem::Dependency
356
- name: rgl
357
- requirement: !ruby/object:Gem::Requirement
358
- requirements:
359
- - - '='
360
- - !ruby/object:Gem::Version
361
- version: 0.6.6
362
- type: :runtime
363
- prerelease: false
364
- version_requirements: !ruby/object:Gem::Requirement
365
- requirements:
366
- - - '='
367
- - !ruby/object:Gem::Version
368
- version: 0.6.6
32
+ version: 7.0.0
369
33
  description: ''
370
34
  email:
371
- - jp@codalio.com
35
+ - jprosevear@nubinary.com
372
36
  executables: []
373
37
  extensions: []
374
38
  extra_rdoc_files: []
375
39
  files:
376
- - LICENSE
377
40
  - README.md
378
41
  - Rakefile
379
42
  - app/assets/stripe_flow.png
@@ -422,36 +85,24 @@ files:
422
85
  - db/migrate/20180622142754_add_allow_change_password_to_users.rb
423
86
  - db/migrate/20191217010224_add_approved_to_users.rb
424
87
  - db/migrate/20200503182019_change_tokens_to_json_b.rb
425
- - lib/commands/rhino/module/coverage_command.rb
426
- - lib/commands/rhino/module/dummy_command.rb
427
- - lib/commands/rhino/module/new_command.rb
428
- - lib/commands/rhino/module/rails_command.rb
429
- - lib/commands/rhino/module/test_command.rb
88
+ - lib/commands/rhino_command.rb
430
89
  - lib/generators/rhino/dev/setup/setup_generator.rb
431
90
  - lib/generators/rhino/dev/setup/templates/env.client.tt
432
- - lib/generators/rhino/dev/setup/templates/env.root.tt
433
91
  - lib/generators/rhino/dev/setup/templates/env.server.tt
434
92
  - lib/generators/rhino/dev/setup/templates/prepare-commit-msg
435
93
  - lib/generators/rhino/install/install_generator.rb
436
94
  - lib/generators/rhino/install/templates/account.rb
437
95
  - lib/generators/rhino/install/templates/rhino.rb
438
96
  - lib/generators/rhino/install/templates/user.rb
439
- - lib/generators/rhino/model/model_generator.rb
440
- - lib/generators/rhino/module/USAGE
441
97
  - lib/generators/rhino/module/module_generator.rb
442
- - lib/generators/rhino/module/templates/%name%.gemspec.tt
443
- - lib/generators/rhino/module/templates/lib/%namespaced_name%/engine.rb.tt
444
- - lib/generators/rhino/module/templates/lib/generators/%namespaced_name%/install/install_generator.rb.tt
445
- - lib/generators/rhino/module/templates/lib/tasks/%namespaced_name%_tasks.rake.tt
446
- - lib/generators/rhino/module/templates/test/dummy/app/models/user.rb
447
- - lib/generators/rhino/module/templates/test/dummy/config/database.yml
448
- - lib/generators/rhino/module/templates/test/dummy/config/initializers/devise.rb
449
- - lib/generators/rhino/module/templates/test/dummy/config/initializers/devise_token_auth.rb
450
- - lib/generators/rhino/module/templates/test/test_helper.rb
98
+ - lib/generators/rhino/module/templates/engine.rb.tt
99
+ - lib/generators/rhino/module/templates/install_generator.rb.tt
100
+ - lib/generators/rhino/module/templates/module_tasks.rake.tt
451
101
  - lib/generators/rhino/policy/policy_generator.rb
452
102
  - lib/generators/rhino/policy/templates/policy.rb.tt
453
103
  - lib/generators/test_unit/rhino_policy_generator.rb
454
104
  - lib/generators/test_unit/templates/policy_test.rb.tt
105
+ - lib/rhino.rb
455
106
  - lib/rhino/engine.rb
456
107
  - lib/rhino/omniauth/strategies/azure_o_auth2.rb
457
108
  - lib/rhino/resource.rb
@@ -473,7 +124,6 @@ files:
473
124
  - lib/rhino/resource/active_record_extension/routing.rb
474
125
  - lib/rhino/resource/active_record_extension/search.rb
475
126
  - lib/rhino/resource/active_record_extension/serialization.rb
476
- - lib/rhino/resource/active_record_extension/super_admin.rb
477
127
  - lib/rhino/resource/active_record_tree.rb
478
128
  - lib/rhino/resource/active_storage_extension.rb
479
129
  - lib/rhino/resource/describe.rb
@@ -486,7 +136,6 @@ files:
486
136
  - lib/rhino/resource/sieves.rb
487
137
  - lib/rhino/sieve.rb
488
138
  - lib/rhino/sieve/filter.rb
489
- - lib/rhino/sieve/geospatial.rb
490
139
  - lib/rhino/sieve/helpers.rb
491
140
  - lib/rhino/sieve/limit.rb
492
141
  - lib/rhino/sieve/offset.rb
@@ -494,11 +143,9 @@ files:
494
143
  - lib/rhino/sieve/search.rb
495
144
  - lib/rhino/test_case.rb
496
145
  - lib/rhino/test_case/controller.rb
497
- - lib/rhino/test_case/model.rb
498
146
  - lib/rhino/test_case/override.rb
499
147
  - lib/rhino/test_case/policy.rb
500
148
  - lib/rhino/version.rb
501
- - lib/rhino_project_core.rb
502
149
  - lib/tasks/rhino.rake
503
150
  - lib/tasks/rhino_dev.rake
504
151
  - lib/validators/country_validator.rb
@@ -507,9 +154,9 @@ files:
507
154
  - lib/validators/mac_address_validator.rb
508
155
  homepage: ''
509
156
  licenses:
510
- - MIT
157
+ - ''
511
158
  metadata: {}
512
- post_install_message:
159
+ post_install_message:
513
160
  rdoc_options: []
514
161
  require_paths:
515
162
  - lib
@@ -520,12 +167,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
520
167
  version: '0'
521
168
  required_rubygems_version: !ruby/object:Gem::Requirement
522
169
  requirements:
523
- - - ">="
170
+ - - ">"
524
171
  - !ruby/object:Gem::Version
525
- version: '0'
172
+ version: 1.3.1
526
173
  requirements: []
527
- rubygems_version: 3.5.11
528
- signing_key:
174
+ rubygems_version: 3.3.26
175
+ signing_key:
529
176
  specification_version: 4
530
177
  summary: ''
531
178
  test_files: []
data/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2020-present Codalio Inc.
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.