phccodesnipperpro 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +0 -0
  4. data/Rakefile +22 -0
  5. data/app/assets/config/phccodesnipperpro_manifest.js +2 -0
  6. data/app/assets/javascripts/phccodesnipperpro/application.js +2 -0
  7. data/app/assets/stylesheets/phccodesnipperpro/application.scss +2 -0
  8. data/app/controllers/phccodesnipperpro/application_controller.rb +22 -0
  9. data/app/controllers/phccodesnipperpro/script/snippets_controller.rb +67 -0
  10. data/app/controllers/phccodesnipperpro/script/urls_controller.rb +76 -0
  11. data/app/helpers/phccodesnipperpro/application_helper.rb +4 -0
  12. data/app/helpers/phccodesnipperpro/script/snippets_helper.rb +4 -0
  13. data/app/helpers/phccodesnipperpro/script/urls_helper.rb +4 -0
  14. data/app/jobs/phccodesnipperpro/application_job.rb +4 -0
  15. data/app/mailers/phccodesnipperpro/application_mailer.rb +6 -0
  16. data/app/models/phccodesnipperpro/application_record.rb +5 -0
  17. data/app/models/phccodesnipperpro/script/snippet.rb +30 -0
  18. data/app/models/phccodesnipperpro/script/url.rb +16 -0
  19. data/app/models/phccodesnipperpro/script.rb +7 -0
  20. data/app/views/layouts/phccodesnipperpro/application.html.erb +79 -0
  21. data/app/views/layouts/phccodesnipperpro/components/backend/footer/_footer.html.erb +11 -0
  22. data/app/views/layouts/phccodesnipperpro/components/backend/navigation/_top_menu.html.erb +37 -0
  23. data/app/views/layouts/phccodesnipperpro/components/backend/sidebars/_side_menu.html.erb +189 -0
  24. data/app/views/phccodesnipperpro/script/snippets/_form.html.erb +26 -0
  25. data/app/views/phccodesnipperpro/script/snippets/edit.html.erb +39 -0
  26. data/app/views/phccodesnipperpro/script/snippets/index.html.erb +68 -0
  27. data/app/views/phccodesnipperpro/script/snippets/new.html.erb +39 -0
  28. data/app/views/phccodesnipperpro/script/snippets/show.html.erb +71 -0
  29. data/app/views/phccodesnipperpro/script/urls/_form.html.erb +22 -0
  30. data/app/views/phccodesnipperpro/script/urls/edit.html.erb +39 -0
  31. data/app/views/phccodesnipperpro/script/urls/index.html.erb +66 -0
  32. data/app/views/phccodesnipperpro/script/urls/new.html.erb +39 -0
  33. data/app/views/phccodesnipperpro/script/urls/show.html.erb +71 -0
  34. data/config/initializers/friendly_id.rb +107 -0
  35. data/config/routes.rb +13 -0
  36. data/db/migrate/20190504104048_create_phccodesnipperpro_script_urls.rb +19 -0
  37. data/db/migrate/20190504104101_create_phccodesnipperpro_script_snippets.rb +19 -0
  38. data/lib/phccodesnipperpro/engine.rb +70 -0
  39. data/lib/phccodesnipperpro/version.rb +3 -0
  40. data/lib/phccodesnipperpro.rb +4 -0
  41. data/lib/tasks/phccodesnipperpro_tasks.rake +4 -0
  42. metadata +697 -0
@@ -0,0 +1,70 @@
1
+ module Phccodesnipperpro
2
+ class Engine < ::Rails::Engine
3
+
4
+ # PHCTheme Dependencies
5
+ require 'phctheme1'
6
+ require 'phctheme2'
7
+ require 'phctheme3'
8
+ require 'phctheme4'
9
+ require 'phctheme5'
10
+ require 'phctheme6'
11
+ require 'phctheme7'
12
+
13
+ # PHCAdmin Dependencies
14
+ require 'phcadmin1'
15
+ require 'phcadmin2'
16
+ require 'phcadmin3'
17
+ require 'phcadmin4'
18
+ require 'phcadmin5'
19
+ require 'phcadmin6'
20
+ require 'phcadmin7'
21
+
22
+ # PHCHelper Dependencies
23
+ require 'phccorehelpers'
24
+ require 'phcmenus'
25
+ require 'phcnotifi'
26
+ require 'phctitleseo'
27
+
28
+ # Frontend Dependencies
29
+ require 'gravtastic'
30
+ require 'friendly_id'
31
+
32
+ # Upload Dependencies
33
+ require 'aws-sdk-s3'
34
+ require 'google-cloud-storage'
35
+ require 'mini_magick'
36
+
37
+ # Database Dependencies
38
+ require 'paper_trail'
39
+ require 'pg'
40
+
41
+ # Payment Dependencies
42
+ require 'phcaccountspro'
43
+
44
+ # Isolate Namespace
45
+ isolate_namespace Phccodesnipperpro
46
+
47
+ # Testing Generator
48
+ config.generators do |g|
49
+ g.test_framework :rspec,
50
+ fixtures: true,
51
+ view_specs: false,
52
+ helper_specs: false,
53
+ routing_specs: false,
54
+ controller_specs: true,
55
+ request_specs: false
56
+ g.fixture_replacement :factory_bot,
57
+ dir: "spec/factories"
58
+ end
59
+
60
+ # Load Requried Helper Files
61
+ config.to_prepare do
62
+ Phcaccountspro::ApplicationController.helper(ApplicationHelper)
63
+ Phccorehelpers::ApplicationController.helper(ApplicationHelper)
64
+ Phcmenus::ApplicationController.helper(ApplicationHelper)
65
+ Phcnotifi::ApplicationController.helper(ApplicationHelper)
66
+ Phctitleseo::ApplicationController.helper(ApplicationHelper)
67
+ end
68
+
69
+ end
70
+ end
@@ -0,0 +1,3 @@
1
+ module Phccodesnipperpro
2
+ VERSION = '1.0.0'
3
+ end
@@ -0,0 +1,4 @@
1
+ require "phccodesnipperpro/engine"
2
+
3
+ module Phccodesnipperpro
4
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :phccodesnipperpro do
3
+ # # Task goes here
4
+ # end