phcdevworks_tutorials 1.2.5 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -27
  3. data/app/assets/config/phcdevworks_tutorials_manifest.js +1 -1
  4. data/app/assets/stylesheets/phcdevworks_tutorials/category/posts.css +4 -0
  5. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.css +4 -0
  6. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/steps.css +4 -0
  7. data/app/controllers/phcdevworks_tutorials/tutorial/categories_controller.rb +1 -2
  8. data/app/controllers/phcdevworks_tutorials/tutorial/posts_controller.rb +5 -6
  9. data/app/controllers/phcdevworks_tutorials/tutorial/steps_controller.rb +6 -12
  10. data/app/models/phcdevworks_tutorials/category.rb +7 -0
  11. data/app/models/phcdevworks_tutorials/tutorial/category.rb +1 -1
  12. data/app/models/phcdevworks_tutorials/tutorial/post.rb +2 -2
  13. data/app/models/phcdevworks_tutorials/tutorial/step.rb +1 -1
  14. data/app/views/layouts/phcdevworks_tutorials/application.html.erb +62 -77
  15. data/app/views/layouts/phcdevworks_tutorials/components/backend/footer/_footer.html.erb +7 -7
  16. data/app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb +37 -37
  17. data/app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb +257 -239
  18. data/app/views/layouts/phcdevworks_tutorials/frontend.html.erb +0 -5
  19. data/app/views/phcdevworks_tutorials/tutorial/categories/_form.html.erb +16 -14
  20. data/app/views/phcdevworks_tutorials/tutorial/categories/edit.html.erb +31 -23
  21. data/app/views/phcdevworks_tutorials/tutorial/categories/index.html.erb +63 -52
  22. data/app/views/phcdevworks_tutorials/tutorial/categories/new.html.erb +31 -23
  23. data/app/views/phcdevworks_tutorials/tutorial/posts/_form.html.erb +46 -46
  24. data/app/views/phcdevworks_tutorials/tutorial/posts/edit.html.erb +31 -23
  25. data/app/views/phcdevworks_tutorials/tutorial/posts/index.html.erb +68 -56
  26. data/app/views/phcdevworks_tutorials/tutorial/posts/new.html.erb +31 -23
  27. data/app/views/phcdevworks_tutorials/tutorial/steps/_form.html.erb +36 -48
  28. data/app/views/phcdevworks_tutorials/tutorial/steps/edit.html.erb +31 -23
  29. data/app/views/phcdevworks_tutorials/tutorial/steps/index.html.erb +57 -52
  30. data/app/views/phcdevworks_tutorials/tutorial/steps/new.html.erb +31 -23
  31. data/config/routes.rb +3 -3
  32. data/db/migrate/{20190911225813_create_phcdevworks_tutorials_tutorial_posts.rb → 20191017235259_create_phcdevworks_tutorials_tutorial_posts.rb} +3 -0
  33. data/db/migrate/{20190923113101_create_phcdevworks_tutorials_tutorial_steps.rb → 20191017235421_create_phcdevworks_tutorials_tutorial_steps.rb} +4 -2
  34. data/db/migrate/{20190911225925_create_phcdevworks_tutorials_tutorial_categories.rb → 20191018124910_create_phcdevworks_tutorials_tutorial_categories.rb} +0 -0
  35. data/db/migrate/20191024232406_create_phcdevworks_tutorials_categories_posts.rb +8 -0
  36. data/lib/phcdevworks_tutorials/engine.rb +6 -8
  37. data/lib/phcdevworks_tutorials/version.rb +1 -1
  38. metadata +36 -22
  39. data/app/assets/javascripts/phcdevworks_tutorials/tutorial/posts.coffee +0 -3
  40. data/app/assets/javascripts/phcdevworks_tutorials/tutorial/steps.coffee +0 -3
  41. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.scss +0 -3
  42. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/steps.scss +0 -3
  43. data/app/assets/stylesheets/scaffolds.scss +0 -65
  44. data/config/initializers/friendly_id.rb +0 -107
  45. data/db/migrate/20190929044403_add_info_to_phcdevworks_tutorials_tutorial_posts.rb +0 -9
  46. data/db/migrate/20190929044505_add_info_to_phcdevworks_tutorials_tutorial_steps.rb +0 -7
  47. data/db/migrate/20191002093451_add_image_to_phcdevworks_tutorials_tutorial_posts.rb +0 -8
  48. data/db/migrate/20191003235303_create_join_table_categories_posts.rb +0 -10
  49. data/db/migrate/20191006054657_add_tittle_to_phcdevworks_tutorials_tutorial_steps.rb +0 -7
@@ -1,9 +0,0 @@
1
- class AddInfoToPhcdevworksTutorialsTutorialPosts < ActiveRecord::Migration[6.0]
2
- def change
3
-
4
- add_column :phcdevworks_tutorials_tutorial_posts, :tutorial_post_images, :string
5
- add_column :phcdevworks_tutorials_tutorial_posts, :tutorial_post_description, :text
6
- add_column :phcdevworks_tutorials_tutorial_posts, :tutorial_post_status, :string
7
-
8
- end
9
- end
@@ -1,7 +0,0 @@
1
- class AddInfoToPhcdevworksTutorialsTutorialSteps < ActiveRecord::Migration[6.0]
2
- def change
3
-
4
- add_column :phcdevworks_tutorials_tutorial_steps, :tutorial_step_images, :string
5
-
6
- end
7
- end
@@ -1,8 +0,0 @@
1
- class AddImageToPhcdevworksTutorialsTutorialSteps < ActiveRecord::Migration[6.0]
2
- def change
3
-
4
- add_column :phcdevworks_tutorials_tutorial_steps, :tutorial_step_image, :string
5
- add_column :phcdevworks_tutorials_tutorial_posts, :tutorial_post_image, :string
6
-
7
- end
8
- end
@@ -1,10 +0,0 @@
1
- class CreateJoinTableCategoriesPosts < ActiveRecord::Migration[6.0]
2
- def change
3
- create_join_table :categories, :posts do |t|
4
-
5
- # t.index [:category_id, :post_id]
6
- # t.index [:post_id, :category_id]
7
-
8
- end
9
- end
10
- end
@@ -1,7 +0,0 @@
1
- class AddTittleToPhcdevworksTutorialsTutorialSteps < ActiveRecord::Migration[6.0]
2
- def change
3
-
4
- add_column :phcdevworks_tutorials_tutorial_steps, :tutorial_step_title, :string
5
-
6
- end
7
- end