phcdevworks_tutorials 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28b9d3366f784b55eb37f4867424ef54839f7bf132a44025634fe48656f99a7d
4
- data.tar.gz: 227d8db5940c96e022304ffcd3de81987cd042dfd516ee338bab999b70c992c2
3
+ metadata.gz: 013fa8e82cf699e37a22ec7f7f0940b634d592214ff9a7c39c123b5ebbc23b4d
4
+ data.tar.gz: 713dcf8587557a6b20863b253794b0aca84b10e030463ca31ae4b2e7299e4c04
5
5
  SHA512:
6
- metadata.gz: 366692f9dc6da7c1f56088e5b8cff5b4844b698ea66495c595b34cc48eeb80370d4f16e772b2bd06344121eb26410e9ec56bab84e68453e073573c55d6482c20
7
- data.tar.gz: 3aeddc2495c318d75b21338f790c23a33b10f9363c0faa87943313869a1ef4d6b2b829ec5f82da0fb251564c7ed3d6030c11fedf109e5de3140533e3249b4118
6
+ metadata.gz: 0266cddab0b8dc2e698ae29966842672a7a76076b481fd69df7a5506e5499afce29a6e34e3fa4fb322f4f5f8fa8b7121eeb995ec7a95ff9a1fe1f23d6cc466fb
7
+ data.tar.gz: 5d52bb6a402062a29f0b50d6e6b5dcbda341465a770acb3c2365b419bd88449115d4f2f898dcd78ef12f5958696ca406484b2557b9c6ef3047a208f65b2e245d
@@ -0,0 +1,3 @@
1
+ # Place all the behaviors and hooks related to the matching controller here.
2
+ # All this logic will automatically be available in application.js.
3
+ # You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the blog/tutorials controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: https://sass-lang.com/
@@ -0,0 +1,6 @@
1
+ require_dependency "phcdevworks_tutorials/application_controller"
2
+
3
+ module PhcdevworksTutorials
4
+ class Blog::TutorialsController < ApplicationController
5
+ end
6
+ end
@@ -0,0 +1,4 @@
1
+ module PhcdevworksTutorials
2
+ module Blog::TutorialsHelper
3
+ end
4
+ end
@@ -6,6 +6,19 @@ PhcdevworksTutorials::Engine.routes.draw do
6
6
  resources :categories, class_name: 'PhcdevworksTutorials::Tutorial::Category'
7
7
  end
8
8
 
9
+ # Frontend Routes
10
+ namespace :blog do
11
+ resources :tutorials, only: [:index, :show]
12
+ end
13
+
14
+ # API Routes
15
+ namespace :api, :path => "", :constraints => {:subdomain => "tutorial_api"} do
16
+ namespace :v1 do
17
+ resources :posts, defaults: {format: 'json'}
18
+ resources :categories, defaults: {format: 'json'}
19
+ end
20
+ end
21
+
9
22
  # Mount Routes
10
23
  mount PhcdevworksAccounts::Engine, :at => '/'
11
24
 
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksTutorials
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  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: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-12 00:00:00.000000000 Z
11
+ date: 2019-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -238,15 +238,19 @@ files:
238
238
  - Rakefile
239
239
  - app/assets/config/phcdevworks_tutorials_manifest.js
240
240
  - app/assets/javascripts/phcdevworks_tutorials/application.js
241
+ - app/assets/javascripts/phcdevworks_tutorials/blog/tutorials.coffee
241
242
  - app/assets/javascripts/phcdevworks_tutorials/tutorial/categories.coffee
242
243
  - app/assets/javascripts/phcdevworks_tutorials/tutorial/posts.coffee
243
244
  - app/assets/stylesheets/phcdevworks_tutorials/application.scss
245
+ - app/assets/stylesheets/phcdevworks_tutorials/blog/tutorials.scss
244
246
  - app/assets/stylesheets/phcdevworks_tutorials/tutorial/categories.scss
245
247
  - app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.scss
246
248
  - app/controllers/phcdevworks_tutorials/application_controller.rb
249
+ - app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
247
250
  - app/controllers/phcdevworks_tutorials/tutorial/categories_controller.rb
248
251
  - app/controllers/phcdevworks_tutorials/tutorial/posts_controller.rb
249
252
  - app/helpers/phcdevworks_tutorials/application_helper.rb
253
+ - app/helpers/phcdevworks_tutorials/blog/tutorials_helper.rb
250
254
  - app/helpers/phcdevworks_tutorials/tutorial/categories_helper.rb
251
255
  - app/helpers/phcdevworks_tutorials/tutorial/posts_helper.rb
252
256
  - app/jobs/phcdevworks_tutorials/application_job.rb
@@ -259,6 +263,8 @@ files:
259
263
  - app/views/layouts/phcdevworks_tutorials/components/backend/footer/_footer.html.erb
260
264
  - app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb
261
265
  - app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb
266
+ - app/views/phcdevworks_tutorials/blog/tutorials/index.html.erb
267
+ - app/views/phcdevworks_tutorials/blog/tutorials/show.html.erb
262
268
  - app/views/phcdevworks_tutorials/tutorial/categories/_form.html.erb
263
269
  - app/views/phcdevworks_tutorials/tutorial/categories/edit.html.erb
264
270
  - app/views/phcdevworks_tutorials/tutorial/categories/index.html.erb