phcdevworks_tutorials 3.0.0 → 5.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb +1 -1
- data/app/controllers/phcdevworks_tutorials/tutorial/categories_controller.rb +1 -1
- data/app/controllers/phcdevworks_tutorials/tutorial/posts_controller.rb +1 -1
- data/app/controllers/phcdevworks_tutorials/tutorial/steps_controller.rb +2 -2
- data/app/models/phcdevworks_tutorials/tutorial/category.rb +5 -2
- data/app/models/phcdevworks_tutorials/tutorial/post.rb +9 -6
- data/app/models/phcdevworks_tutorials/tutorial/step.rb +4 -1
- data/app/models/phcdevworks_tutorials/tutorial_category_versions.rb +5 -0
- data/app/models/phcdevworks_tutorials/tutorial_post_versions.rb +5 -0
- data/app/models/phcdevworks_tutorials/tutorial_step_versions.rb +5 -0
- data/app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb +22 -0
- data/app/views/phcdevworks_tutorials/tutorial/categories/_form.html.erb +2 -2
- data/app/views/phcdevworks_tutorials/tutorial/categories/index.html.erb +1 -1
- data/app/views/phcdevworks_tutorials/tutorial/categories/show.html.erb +1 -1
- data/app/views/phcdevworks_tutorials/tutorial/posts/_form.html.erb +11 -11
- data/app/views/phcdevworks_tutorials/tutorial/posts/index.html.erb +3 -3
- data/app/views/phcdevworks_tutorials/tutorial/steps/_form.html.erb +8 -8
- data/app/views/phcdevworks_tutorials/tutorial/steps/index.html.erb +2 -2
- data/db/migrate/20191017235259_create_phcdevworks_tutorials_tutorial_posts.rb +4 -4
- data/db/migrate/20191017235421_create_phcdevworks_tutorials_tutorial_steps.rb +4 -4
- data/db/migrate/20191018124910_create_phcdevworks_tutorials_tutorial_categories.rb +1 -1
- data/db/migrate/20191102093129_create_phcdevworks_tutorials_tutorial_post_versions.rb +19 -0
- data/db/migrate/20191102093146_create_phcdevworks_tutorials_tutorial_step_versions.rb +19 -0
- data/db/migrate/20191102093157_create_phcdevworks_tutorials_tutorial_category_versions.rb +18 -0
- data/lib/phcdevworks_tutorials/version.rb +1 -1
- metadata +32 -21
- data/app/models/phcdevworks_tutorials/category.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80daee0d81bd02742cbdbeb91a064cc7f346e9118c5d172c40a2da88d6bdde61
|
4
|
+
data.tar.gz: 11f7493e198958a61fadbd6311ea4715a1e57e249fd3b6de98c1e54d7ef9926b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 433a2856ba6b4941b3dec999453e40cfceeb55b25ead4fba056518aac9b850ae76c19d7ed6112007a5c5e2058af34a8a2163eb352dbc7089f186d81744c192a0
|
7
|
+
data.tar.gz: 1f8373fefb11ba10abb27f8533fe3edb879eb5d1c7498f15194fe2e4cf64af8ae6214d60e471fea921da74f75cc43c168db31f4c68970a5bc93c920298c5f811
|
@@ -74,7 +74,7 @@ module PhcdevworksTutorials
|
|
74
74
|
|
75
75
|
# Whitelist
|
76
76
|
def tutorial_category_params
|
77
|
-
params.require(:tutorial_category).permit(:
|
77
|
+
params.require(:tutorial_category).permit(:category_name, :slug, :user_id, :org_id)
|
78
78
|
end
|
79
79
|
|
80
80
|
end
|
@@ -74,7 +74,7 @@ module PhcdevworksTutorials
|
|
74
74
|
|
75
75
|
# Whitelist
|
76
76
|
def tutorial_post_params
|
77
|
-
params.require(:tutorial_post).permit(:
|
77
|
+
params.require(:tutorial_post).permit(:post_title, :post_description, :post_status, :post_image, :slug, :user_id, :org_id, category_ids: [])
|
78
78
|
end
|
79
79
|
|
80
80
|
end
|
@@ -11,7 +11,7 @@ module PhcdevworksTutorials
|
|
11
11
|
|
12
12
|
# GET /tutorial/steps
|
13
13
|
def index
|
14
|
-
@tutorial_steps = tutorial_post.steps.order("
|
14
|
+
@tutorial_steps = tutorial_post.steps.order("step_number")
|
15
15
|
end
|
16
16
|
|
17
17
|
# GET /tutorial/steps/1
|
@@ -82,7 +82,7 @@ module PhcdevworksTutorials
|
|
82
82
|
|
83
83
|
# Whitelist
|
84
84
|
def tutorial_step_params
|
85
|
-
params.require(:tutorial_step).permit(:
|
85
|
+
params.require(:tutorial_step).permit(:step_number, :step_title, :step_description, :step_image, :post_id, :slug, :user_id, :org_id)
|
86
86
|
end
|
87
87
|
|
88
88
|
end
|
@@ -4,11 +4,14 @@ module PhcdevworksTutorials
|
|
4
4
|
# Clean URL Initialize
|
5
5
|
extend FriendlyId
|
6
6
|
|
7
|
+
# Paper Trail Initialize
|
8
|
+
has_paper_trail :class_name => 'PhcdevworksTutorials::TutorialCategoryVersions'
|
9
|
+
|
7
10
|
#Relationships
|
8
11
|
has_and_belongs_to_many :posts, class_name: "Tutorial::Post", :join_table => "phcdevworks_tutorials_categories_posts", :dependent => :destroy
|
9
12
|
|
10
13
|
# Form Fields Validation
|
11
|
-
validates :
|
14
|
+
validates :category_name,
|
12
15
|
presence: true,
|
13
16
|
uniqueness: true
|
14
17
|
|
@@ -16,7 +19,7 @@ module PhcdevworksTutorials
|
|
16
19
|
friendly_id :phcdev_tutorials_category_nice_urls, use: [:slugged, :finders]
|
17
20
|
|
18
21
|
def phcdev_tutorials_category_nice_urls
|
19
|
-
[:
|
22
|
+
[:category_name]
|
20
23
|
end
|
21
24
|
|
22
25
|
end
|
@@ -4,8 +4,11 @@ module PhcdevworksTutorials
|
|
4
4
|
# Clean URL Initialize
|
5
5
|
extend FriendlyId
|
6
6
|
|
7
|
+
# Paper Trail Initialize
|
8
|
+
has_paper_trail :class_name => 'PhcdevworksTutorials::TutorialPostVersions'
|
9
|
+
|
7
10
|
# Image Upload
|
8
|
-
has_one_attached :
|
11
|
+
has_one_attached :post_image
|
9
12
|
|
10
13
|
# Relationships
|
11
14
|
has_and_belongs_to_many :categories, class_name: "Tutorial::Category", :join_table => "phcdevworks_tutorials_categories_posts", :dependent => :destroy
|
@@ -13,17 +16,17 @@ module PhcdevworksTutorials
|
|
13
16
|
belongs_to :user, class_name: "PhcdevworksAccounts::User"
|
14
17
|
|
15
18
|
# Form Fields Validation
|
16
|
-
validates :
|
19
|
+
validates :post_title,
|
17
20
|
presence: true
|
18
21
|
|
19
|
-
validates :
|
22
|
+
validates :post_description,
|
20
23
|
presence: true
|
21
24
|
|
22
25
|
# Clean URL Define
|
23
|
-
friendly_id :
|
26
|
+
friendly_id :phcdev_tutorial_post_nice_urls, use: [:slugged, :finders]
|
24
27
|
|
25
|
-
def
|
26
|
-
[:
|
28
|
+
def phcdev_tutorial_post_nice_urls
|
29
|
+
[:post_title]
|
27
30
|
end
|
28
31
|
|
29
32
|
end
|
@@ -1,8 +1,11 @@
|
|
1
1
|
module PhcdevworksTutorials
|
2
2
|
class Tutorial::Step < ApplicationRecord
|
3
3
|
|
4
|
+
# Paper Trail Initialize
|
5
|
+
has_paper_trail :class_name => 'PhcdevworksTutorials::TutorialStepVersions'
|
6
|
+
|
4
7
|
# Image Upload
|
5
|
-
has_one_attached :
|
8
|
+
has_one_attached :step_image
|
6
9
|
|
7
10
|
# Relationships
|
8
11
|
belongs_to :post, class_name: "Tutorial::Post"
|
data/app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb
CHANGED
@@ -81,6 +81,28 @@
|
|
81
81
|
<li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts#new") %>"><%= link_to("New Project", phcdevworks_portfolio.new_project_post_path) %></li>
|
82
82
|
</ul>
|
83
83
|
</li>
|
84
|
+
<li class="has-sub">
|
85
|
+
<a href="javascript:;">
|
86
|
+
<b class="caret"></b>
|
87
|
+
<i class="fad fa-sitemap"></i>
|
88
|
+
<span>Project Categories</span>
|
89
|
+
</a>
|
90
|
+
<ul class="sub-menu">
|
91
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts") %>"><%= link_to("Project Category", phcdevworks_portfolio.project_categories_path) %></li>
|
92
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts#new") %>"><%= link_to("New Category", phcdevworks_portfolio.new_project_category_path) %></li>
|
93
|
+
</ul>
|
94
|
+
</li>
|
95
|
+
<li class="has-sub">
|
96
|
+
<a href="javascript:;">
|
97
|
+
<b class="caret"></b>
|
98
|
+
<i class="fad fa-folders"></i>
|
99
|
+
<span>Project Types</span>
|
100
|
+
</a>
|
101
|
+
<ul class="sub-menu">
|
102
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts") %>"><%= link_to("Project Type", phcdevworks_portfolio.project_types_path) %></li>
|
103
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts#new") %>"><%= link_to("New Types", phcdevworks_portfolio.new_project_type_path) %></li>
|
104
|
+
</ul>
|
105
|
+
</li>
|
84
106
|
<!-- Sidebar - Sidebar Navigation - PHCDevworks Press -->
|
85
107
|
<% end %>
|
86
108
|
|
@@ -7,8 +7,8 @@
|
|
7
7
|
|
8
8
|
<!-- Form Input Fields -->
|
9
9
|
<div class="form-group field_with_errors">
|
10
|
-
<%= form.label :
|
11
|
-
<%= form.text_field :
|
10
|
+
<%= form.label :category_name, "Tutorial Category" %>
|
11
|
+
<%= form.text_field :category_name, placeholder: "Category Name", class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
<!-- Form Input Fields -->
|
14
14
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
<tbody>
|
47
47
|
<% @tutorial_categories.each do |tutorial_category| %>
|
48
48
|
<tr>
|
49
|
-
<td><%= tutorial_category.
|
49
|
+
<td><%= tutorial_category.category_name %></td>
|
50
50
|
<td>
|
51
51
|
<div class="btn-group d-flex" role="group">
|
52
52
|
<%= link_to "Category Details", tutorial_category, class: "btn btn-purple btn-xs" %>
|
@@ -7,32 +7,32 @@
|
|
7
7
|
|
8
8
|
<!-- Form Input Fields -->
|
9
9
|
<div class="form-group field_with_errors">
|
10
|
-
<%= form.label :
|
11
|
-
<%= form.text_field :
|
10
|
+
<%= form.label :post_title, "Tutorial Title" %>
|
11
|
+
<%= form.text_field :post_title, placeholder: "Tutorial Title", class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
|
14
14
|
<div class="form-group field_with_errors">
|
15
|
-
<%= form.label :
|
16
|
-
<%= form.text_area :
|
15
|
+
<%= form.label :post_description, "Tutorial Description" %>
|
16
|
+
<%= form.text_area :post_description, class: "form-control", rows: "10" %>
|
17
17
|
</div>
|
18
18
|
|
19
19
|
<div class="form-group field_with_errors">
|
20
|
-
<%= form.label :
|
21
|
-
<%= form.select( :
|
20
|
+
<%= form.label :post_status, "Tutorial Status" %>
|
21
|
+
<%= form.select( :post_status, [["Draft","draft"],["Published","published"],["Review","review"]], {}, {class: "form-control"}) %>
|
22
22
|
</div>
|
23
23
|
|
24
24
|
<div class="form-group field_with_errors">
|
25
|
-
<%= form.label :
|
26
|
-
<%= form.file_field :
|
25
|
+
<%= form.label :post_image, "Featured Image" %>
|
26
|
+
<%= form.file_field :post_image, class: "form-control" %>
|
27
27
|
</div>
|
28
|
-
<% if form.object.
|
29
|
-
<%= image_tag main_app.url_for(form.object.
|
28
|
+
<% if form.object.post_image.attached? %>
|
29
|
+
<%= image_tag main_app.url_for(form.object.post_image), class: "img-responsive img-thumbnail" %>
|
30
30
|
<% end %>
|
31
31
|
|
32
32
|
<div class="form-group field_with_errors">
|
33
33
|
<label>Select a Category</label>
|
34
34
|
<div class="panel-body">
|
35
|
-
<%= form.collection_check_boxes :category_ids, PhcdevworksTutorials::Tutorial::Category.order(:
|
35
|
+
<%= form.collection_check_boxes :category_ids, PhcdevworksTutorials::Tutorial::Category.order(:category_name), :id, :category_name do |post_category| %>
|
36
36
|
<%= post_category.check_box %>
|
37
37
|
<%= post_category.label %><br>
|
38
38
|
<% end %>
|
@@ -48,9 +48,9 @@
|
|
48
48
|
<tbody>
|
49
49
|
<% @tutorial_posts.each do |tutorial_post| %>
|
50
50
|
<tr>
|
51
|
-
<td><%= tutorial_post.
|
52
|
-
<td><%= tutorial_post.
|
53
|
-
<td><%= tutorial_post.
|
51
|
+
<td><%= tutorial_post.post_title %></td>
|
52
|
+
<td><%= tutorial_post.post_description %></td>
|
53
|
+
<td><%= tutorial_post.post_status.capitalize %></td>
|
54
54
|
<td>
|
55
55
|
<div class="btn-group d-flex" role="group">
|
56
56
|
<%= link_to "Tutorial Details", tutorial_post, class: "btn btn-purple btn-xs" %>
|
@@ -7,23 +7,23 @@
|
|
7
7
|
|
8
8
|
<!-- Form Input Fields -->
|
9
9
|
<div class="form-group field_with_errors">
|
10
|
-
<%= form.label :
|
11
|
-
<%= form.select( :
|
10
|
+
<%= form.label :step_number, "Tutorial Step" %>
|
11
|
+
<%= form.select( :step_number, [["1","1"],["2","2"],["3","3"],["4","4"],["5","5"],["6","6"],["7","7"],["8","8"],["9","9"],["10","10"],["11","11"],["12","12"],["13","13"],["14","14"]], {}, {class: "form-control"}) %>
|
12
12
|
</div>
|
13
13
|
|
14
14
|
<div class="form-group field_with_errors">
|
15
|
-
<%= form.label :
|
16
|
-
<%= form.text_field :
|
15
|
+
<%= form.label :step_title, placeholder: "Step Title" %>
|
16
|
+
<%= form.text_field :step_title, class: "form-control", rows: "10" %>
|
17
17
|
</div>
|
18
18
|
|
19
19
|
<div class="form-group field_with_errors">
|
20
|
-
<%= form.label :
|
21
|
-
<%= form.text_area :
|
20
|
+
<%= form.label :step_description, "Step Text" %>
|
21
|
+
<%= form.text_area :step_description, class: "form-control", rows: "10" %>
|
22
22
|
</div>
|
23
23
|
|
24
24
|
<div class="form-group field_with_errors">
|
25
|
-
<%= form.label :
|
26
|
-
<%= form.file_field :
|
25
|
+
<%= form.label :step_image, "Step Image" %>
|
26
|
+
<%= form.file_field :step_image, class: "form-control" %>
|
27
27
|
</div>
|
28
28
|
|
29
29
|
<!-- Form Input Fields -->
|
@@ -47,8 +47,8 @@
|
|
47
47
|
<tbody>
|
48
48
|
<% @tutorial_steps.each do |tutorial_step| %>
|
49
49
|
<tr>
|
50
|
-
<td><%= tutorial_step.
|
51
|
-
<td><%= tutorial_step.
|
50
|
+
<td><%= tutorial_step.step_number %></td>
|
51
|
+
<td><%= tutorial_step.step_title %></td>
|
52
52
|
<td>
|
53
53
|
<div class="btn-group d-flex" role="group">
|
54
54
|
<%= link_to "Step Details", tutorial_post_step_path(tutorial_step.post, tutorial_step), class: "btn btn-purple btn-xs" %>
|
@@ -2,10 +2,10 @@ class CreatePhcdevworksTutorialsTutorialPosts < ActiveRecord::Migration[6.0]
|
|
2
2
|
def change
|
3
3
|
create_table :phcdevworks_tutorials_tutorial_posts do |t|
|
4
4
|
|
5
|
-
t.string :
|
6
|
-
t.string :
|
7
|
-
t.string :
|
8
|
-
t.string :
|
5
|
+
t.string :post_title
|
6
|
+
t.string :post_description
|
7
|
+
t.string :post_status
|
8
|
+
t.string :post_image
|
9
9
|
|
10
10
|
t.string :slug
|
11
11
|
t.string :user_id
|
@@ -2,10 +2,10 @@ class CreatePhcdevworksTutorialsTutorialSteps < ActiveRecord::Migration[6.0]
|
|
2
2
|
def change
|
3
3
|
create_table :phcdevworks_tutorials_tutorial_steps do |t|
|
4
4
|
|
5
|
-
t.string :
|
6
|
-
t.string :
|
7
|
-
t.string :
|
8
|
-
t.string :
|
5
|
+
t.string :step_number
|
6
|
+
t.string :step_title
|
7
|
+
t.string :step_description
|
8
|
+
t.string :step_image
|
9
9
|
|
10
10
|
t.string :slug
|
11
11
|
t.string :user_id
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class CreatePhcdevworksTutorialsTutorialPostVersions < ActiveRecord::Migration[6.0]
|
2
|
+
TEXT_BYTES = 1_073_741_823
|
3
|
+
def change
|
4
|
+
|
5
|
+
create_table :phcdevworks_tutorials_tutorial_post_versions do |t|
|
6
|
+
|
7
|
+
t.string :item_type, {:null=>false}
|
8
|
+
t.integer :item_id, null: false
|
9
|
+
t.string :event, null: false
|
10
|
+
t.string :whodunnit
|
11
|
+
t.text :object, limit: TEXT_BYTES
|
12
|
+
t.datetime :created_at
|
13
|
+
|
14
|
+
end
|
15
|
+
|
16
|
+
add_index :phcdevworks_tutorials_tutorial_post_versions, %i(item_type item_id), :name => 'tutorial_post_versions'
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class CreatePhcdevworksTutorialsTutorialStepVersions < ActiveRecord::Migration[6.0]
|
2
|
+
TEXT_BYTES = 1_073_741_823
|
3
|
+
def change
|
4
|
+
|
5
|
+
create_table :phcdevworks_tutorials_tutorial_step_versions do |t|
|
6
|
+
|
7
|
+
t.string :item_type, {:null=>false}
|
8
|
+
t.integer :item_id, null: false
|
9
|
+
t.string :event, null: false
|
10
|
+
t.string :whodunnit
|
11
|
+
t.text :object, limit: TEXT_BYTES
|
12
|
+
t.datetime :created_at
|
13
|
+
|
14
|
+
end
|
15
|
+
|
16
|
+
add_index :phcdevworks_tutorials_tutorial_step_versions, %i(item_type item_id), :name => 'tutorial_step_versions'
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
class CreatePhcdevworksTutorialsTutorialCategoryVersions < ActiveRecord::Migration[6.0]
|
2
|
+
TEXT_BYTES = 1_073_741_823
|
3
|
+
def change
|
4
|
+
|
5
|
+
create_table :phcdevworks_tutorials_tutorial_category_versions do |t|
|
6
|
+
|
7
|
+
t.string :item_type, {:null=>false}
|
8
|
+
t.integer :item_id, null: false
|
9
|
+
t.string :event, null: false
|
10
|
+
t.string :whodunnit
|
11
|
+
t.text :object, limit: TEXT_BYTES
|
12
|
+
t.datetime :created_at
|
13
|
+
|
14
|
+
end
|
15
|
+
|
16
|
+
add_index :phcdevworks_tutorials_tutorial_category_versions, %i(item_type item_id), :name => 'tutorial_category_versions'
|
17
|
+
end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcdevworks_tutorials
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PHCDevworks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '6.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 6.0.1
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '6.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 6.0.1
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: jbuilder
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,84 +64,84 @@ dependencies:
|
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.2.
|
67
|
+
version: 1.2.6
|
62
68
|
type: :runtime
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.2.
|
74
|
+
version: 1.2.6
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: phcthemes_web_theme_pack
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.1.
|
81
|
+
version: 1.1.1
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.1.
|
88
|
+
version: 1.1.1
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: phcdevworks_core
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
93
|
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.
|
95
|
+
version: 1.0.2
|
90
96
|
type: :runtime
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0.
|
102
|
+
version: 1.0.2
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: phcdevworks_active_menus
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
100
106
|
requirements:
|
101
107
|
- - "~>"
|
102
108
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.0.
|
109
|
+
version: 1.0.2
|
104
110
|
type: :runtime
|
105
111
|
prerelease: false
|
106
112
|
version_requirements: !ruby/object:Gem::Requirement
|
107
113
|
requirements:
|
108
114
|
- - "~>"
|
109
115
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.0.
|
116
|
+
version: 1.0.2
|
111
117
|
- !ruby/object:Gem::Dependency
|
112
118
|
name: phcdevworks_notifications
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
114
120
|
requirements:
|
115
121
|
- - "~>"
|
116
122
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.0.
|
123
|
+
version: 1.0.2
|
118
124
|
type: :runtime
|
119
125
|
prerelease: false
|
120
126
|
version_requirements: !ruby/object:Gem::Requirement
|
121
127
|
requirements:
|
122
128
|
- - "~>"
|
123
129
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.0.
|
130
|
+
version: 1.0.2
|
125
131
|
- !ruby/object:Gem::Dependency
|
126
132
|
name: phcdevworks_titleseo
|
127
133
|
requirement: !ruby/object:Gem::Requirement
|
128
134
|
requirements:
|
129
135
|
- - "~>"
|
130
136
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.0.
|
137
|
+
version: 1.0.2
|
132
138
|
type: :runtime
|
133
139
|
prerelease: false
|
134
140
|
version_requirements: !ruby/object:Gem::Requirement
|
135
141
|
requirements:
|
136
142
|
- - "~>"
|
137
143
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.0.
|
144
|
+
version: 1.0.2
|
139
145
|
- !ruby/object:Gem::Dependency
|
140
146
|
name: friendly_id
|
141
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,28 +176,28 @@ dependencies:
|
|
170
176
|
requirements:
|
171
177
|
- - "~>"
|
172
178
|
- !ruby/object:Gem::Version
|
173
|
-
version: '1.
|
179
|
+
version: '1.53'
|
174
180
|
type: :runtime
|
175
181
|
prerelease: false
|
176
182
|
version_requirements: !ruby/object:Gem::Requirement
|
177
183
|
requirements:
|
178
184
|
- - "~>"
|
179
185
|
- !ruby/object:Gem::Version
|
180
|
-
version: '1.
|
186
|
+
version: '1.53'
|
181
187
|
- !ruby/object:Gem::Dependency
|
182
188
|
name: google-cloud-storage
|
183
189
|
requirement: !ruby/object:Gem::Requirement
|
184
190
|
requirements:
|
185
191
|
- - "~>"
|
186
192
|
- !ruby/object:Gem::Version
|
187
|
-
version: '1.
|
193
|
+
version: '1.23'
|
188
194
|
type: :runtime
|
189
195
|
prerelease: false
|
190
196
|
version_requirements: !ruby/object:Gem::Requirement
|
191
197
|
requirements:
|
192
198
|
- - "~>"
|
193
199
|
- !ruby/object:Gem::Version
|
194
|
-
version: '1.
|
200
|
+
version: '1.23'
|
195
201
|
- !ruby/object:Gem::Dependency
|
196
202
|
name: mini_magick
|
197
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -215,7 +221,7 @@ dependencies:
|
|
215
221
|
version: '1.3'
|
216
222
|
- - ">="
|
217
223
|
- !ruby/object:Gem::Version
|
218
|
-
version: 1.3.
|
224
|
+
version: 1.3.3
|
219
225
|
type: :runtime
|
220
226
|
prerelease: false
|
221
227
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -225,7 +231,7 @@ dependencies:
|
|
225
231
|
version: '1.3'
|
226
232
|
- - ">="
|
227
233
|
- !ruby/object:Gem::Version
|
228
|
-
version: 1.3.
|
234
|
+
version: 1.3.3
|
229
235
|
- !ruby/object:Gem::Dependency
|
230
236
|
name: sqlite3
|
231
237
|
requirement: !ruby/object:Gem::Requirement
|
@@ -273,11 +279,13 @@ files:
|
|
273
279
|
- app/jobs/phcdevworks_tutorials/application_job.rb
|
274
280
|
- app/mailers/phcdevworks_tutorials/application_mailer.rb
|
275
281
|
- app/models/phcdevworks_tutorials/application_record.rb
|
276
|
-
- app/models/phcdevworks_tutorials/category.rb
|
277
282
|
- app/models/phcdevworks_tutorials/tutorial.rb
|
278
283
|
- app/models/phcdevworks_tutorials/tutorial/category.rb
|
279
284
|
- app/models/phcdevworks_tutorials/tutorial/post.rb
|
280
285
|
- app/models/phcdevworks_tutorials/tutorial/step.rb
|
286
|
+
- app/models/phcdevworks_tutorials/tutorial_category_versions.rb
|
287
|
+
- app/models/phcdevworks_tutorials/tutorial_post_versions.rb
|
288
|
+
- app/models/phcdevworks_tutorials/tutorial_step_versions.rb
|
281
289
|
- app/views/layouts/phcdevworks_tutorials/application.html.erb
|
282
290
|
- app/views/layouts/phcdevworks_tutorials/components/backend/footer/_footer.html.erb
|
283
291
|
- app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb
|
@@ -305,6 +313,9 @@ files:
|
|
305
313
|
- db/migrate/20191017235421_create_phcdevworks_tutorials_tutorial_steps.rb
|
306
314
|
- db/migrate/20191018124910_create_phcdevworks_tutorials_tutorial_categories.rb
|
307
315
|
- db/migrate/20191024232406_create_phcdevworks_tutorials_categories_posts.rb
|
316
|
+
- db/migrate/20191102093129_create_phcdevworks_tutorials_tutorial_post_versions.rb
|
317
|
+
- db/migrate/20191102093146_create_phcdevworks_tutorials_tutorial_step_versions.rb
|
318
|
+
- db/migrate/20191102093157_create_phcdevworks_tutorials_tutorial_category_versions.rb
|
308
319
|
- lib/phcdevworks_tutorials.rb
|
309
320
|
- lib/phcdevworks_tutorials/engine.rb
|
310
321
|
- lib/phcdevworks_tutorials/version.rb
|