effective_learndash 0.1.1 → 0.1.4

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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -0
  3. data/app/assets/config/effective_learndash_manifest.js +0 -1
  4. data/app/controllers/admin/course_registrations_controller.rb +8 -0
  5. data/app/controllers/effective/course_registrations_controller.rb +13 -0
  6. data/app/controllers/effective/learndash_courses_controller.rb +32 -0
  7. data/app/datatables/admin/effective_course_registrations_datatable.rb +28 -0
  8. data/app/datatables/admin/effective_learndash_courses_datatable.rb +4 -0
  9. data/app/datatables/admin/effective_learndash_enrollments_datatable.rb +1 -2
  10. data/app/datatables/effective_course_registrants_datatable.rb +24 -0
  11. data/app/datatables/effective_course_registrations_datatable.rb +35 -0
  12. data/app/datatables/effective_learndash_courses_datatable.rb +28 -0
  13. data/app/datatables/effective_learndash_enrollments_datatable.rb +15 -1
  14. data/app/models/concerns/effective_learndash_course_registration.rb +167 -0
  15. data/app/models/concerns/effective_learndash_owner.rb +1 -1
  16. data/app/models/effective/course_registrant.rb +53 -0
  17. data/app/models/effective/course_registration.rb +5 -0
  18. data/app/models/effective/learndash_api.rb +10 -1
  19. data/app/models/effective/learndash_course.rb +78 -3
  20. data/app/models/effective/learndash_enrollment.rb +15 -3
  21. data/app/models/effective/learndash_user.rb +5 -6
  22. data/app/views/admin/learndash_courses/_form.html.haml +25 -0
  23. data/app/views/admin/learndash_courses/_form_course_registration_content.html.haml +19 -0
  24. data/app/views/admin/learndash_courses/_form_learndash_course.html.haml +32 -0
  25. data/app/views/effective/course_registrations/_content.html.haml +10 -0
  26. data/app/views/effective/course_registrations/_course.html.haml +9 -0
  27. data/app/views/effective/course_registrations/_course_registration.html.haml +3 -0
  28. data/app/views/effective/course_registrations/_dashboard.html.haml +30 -0
  29. data/app/views/effective/course_registrations/_layout.html.haml +3 -0
  30. data/app/views/effective/course_registrations/_orders.html.haml +4 -0
  31. data/app/views/effective/course_registrations/_summary.html.haml +35 -0
  32. data/app/views/effective/course_registrations/billing.html.haml +15 -0
  33. data/app/views/effective/course_registrations/checkout.html.haml +6 -0
  34. data/app/views/effective/course_registrations/course.html.haml +21 -0
  35. data/app/views/effective/course_registrations/start.html.haml +24 -0
  36. data/app/views/effective/course_registrations/submitted.html.haml +16 -0
  37. data/app/views/effective/course_registrations/summary.html.haml +8 -0
  38. data/app/views/effective/learndash/_dashboard.html.haml +8 -5
  39. data/app/views/effective/learndash_courses/_learndash_course.html.haml +13 -0
  40. data/app/views/effective/learndash_courses/index.html.haml +5 -0
  41. data/app/views/effective/learndash_courses/show.html.haml +6 -0
  42. data/config/effective_learndash.rb +9 -0
  43. data/config/routes.rb +13 -3
  44. data/db/migrate/01_create_effective_learndash.rb.erb +98 -33
  45. data/lib/effective_learndash/engine.rb +1 -0
  46. data/lib/effective_learndash/version.rb +1 -1
  47. data/lib/effective_learndash.rb +6 -1
  48. data/lib/generators/effective_learndash/install_generator.rb +0 -1
  49. metadata +31 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_learndash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-25 00:00:00.000000000 Z
11
+ date: 2022-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -179,25 +179,54 @@ files:
179
179
  - app/assets/javascripts/effective_learndash/base.js
180
180
  - app/assets/stylesheets/effective_learndash.scss
181
181
  - app/assets/stylesheets/effective_learndash/base.scss
182
+ - app/controllers/admin/course_registrations_controller.rb
182
183
  - app/controllers/admin/learndash_courses_controller.rb
183
184
  - app/controllers/admin/learndash_enrollments_controller.rb
184
185
  - app/controllers/admin/learndash_users_controller.rb
186
+ - app/controllers/effective/course_registrations_controller.rb
187
+ - app/controllers/effective/learndash_courses_controller.rb
188
+ - app/datatables/admin/effective_course_registrations_datatable.rb
185
189
  - app/datatables/admin/effective_learndash_courses_datatable.rb
186
190
  - app/datatables/admin/effective_learndash_enrollments_datatable.rb
187
191
  - app/datatables/admin/effective_learndash_users_datatable.rb
192
+ - app/datatables/effective_course_registrants_datatable.rb
193
+ - app/datatables/effective_course_registrations_datatable.rb
194
+ - app/datatables/effective_learndash_courses_datatable.rb
188
195
  - app/datatables/effective_learndash_enrollments_datatable.rb
189
196
  - app/helpers/effective_learndash_helper.rb
197
+ - app/models/concerns/effective_learndash_course_registration.rb
190
198
  - app/models/concerns/effective_learndash_owner.rb
199
+ - app/models/effective/course_registrant.rb
200
+ - app/models/effective/course_registration.rb
191
201
  - app/models/effective/learndash_api.rb
192
202
  - app/models/effective/learndash_course.rb
193
203
  - app/models/effective/learndash_enrollment.rb
194
204
  - app/models/effective/learndash_user.rb
205
+ - app/views/admin/learndash_courses/_form.html.haml
206
+ - app/views/admin/learndash_courses/_form_course_registration_content.html.haml
207
+ - app/views/admin/learndash_courses/_form_learndash_course.html.haml
195
208
  - app/views/admin/learndash_courses/_learndash_course.html.haml
196
209
  - app/views/admin/learndash_enrollments/_form.html.haml
197
210
  - app/views/admin/learndash_owners/_form.html.haml
198
211
  - app/views/admin/learndash_users/_form.html.haml
199
212
  - app/views/admin/learndash_users/_learndash_user.html.haml
213
+ - app/views/effective/course_registrations/_content.html.haml
214
+ - app/views/effective/course_registrations/_course.html.haml
215
+ - app/views/effective/course_registrations/_course_registration.html.haml
216
+ - app/views/effective/course_registrations/_dashboard.html.haml
217
+ - app/views/effective/course_registrations/_layout.html.haml
218
+ - app/views/effective/course_registrations/_orders.html.haml
219
+ - app/views/effective/course_registrations/_summary.html.haml
220
+ - app/views/effective/course_registrations/billing.html.haml
221
+ - app/views/effective/course_registrations/checkout.html.haml
222
+ - app/views/effective/course_registrations/course.html.haml
223
+ - app/views/effective/course_registrations/start.html.haml
224
+ - app/views/effective/course_registrations/submitted.html.haml
225
+ - app/views/effective/course_registrations/summary.html.haml
200
226
  - app/views/effective/learndash/_dashboard.html.haml
227
+ - app/views/effective/learndash_courses/_learndash_course.html.haml
228
+ - app/views/effective/learndash_courses/index.html.haml
229
+ - app/views/effective/learndash_courses/show.html.haml
201
230
  - config/effective_learndash.rb
202
231
  - config/routes.rb
203
232
  - db/migrate/01_create_effective_learndash.rb.erb