jinda 0.3.4 → 0.3.5
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.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/generators/jinda/config_generator.rb +5 -2
- data/lib/generators/jinda/install_generator.rb +14 -10
- data/lib/generators/jinda/templates/app/assets/javascripts/application.js +7 -7
- data/lib/generators/jinda/templates/app/assets/javascripts/{jqm/application.js-jqm → application.js-jqm} +0 -0
- data/lib/generators/jinda/templates/app/assets/javascripts/{jqm/disable_enter_key.js → disable_enter_key.js} +0 -0
- data/lib/generators/jinda/templates/app/assets/javascripts/{jqm/iscroll-wrapper.js → iscroll-wrapper.js} +0 -0
- data/lib/generators/jinda/templates/app/assets/javascripts/{jqm/iscroll.js → iscroll.js} +0 -0
- data/lib/generators/jinda/templates/app/assets/javascripts/{jqm/jinda.js → jinda.js} +0 -0
- data/lib/generators/jinda/templates/app/assets/javascripts/{jqm/jquery.mobile-1.2.1.js → jquery.mobile-1.2.1.js} +0 -0
- data/lib/generators/jinda/templates/app/assets/javascripts/{jqm/jquery.mobile.datebox.js → jquery.mobile.datebox.js} +0 -0
- data/lib/generators/jinda/templates/app/assets/javascripts/{jqm/jquery.mobile.splitview.js → jquery.mobile.splitview.js} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/app.scss → app.scss} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{application.css.bak → application.css} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/application.css.scss +10 -16
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/articles.scss → articles.scss} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/jinda.css → jinda.css} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/jquery.mobile-1.2.1.css → jquery.mobile-1.2.1.css} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/jquery.mobile.datebox.css → jquery.mobile.datebox.css} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/jquery.mobile.grids.collapsible.css → jquery.mobile.grids.collapsible.css} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/jquery.mobile.splitview.css → jquery.mobile.splitview.css} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/kul-4.2.css → kul-4.2.css} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/kul-4.2.min.css → kul-4.2.min.css} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/sarabun.css → sarabun.css} +0 -0
- data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/social.scss → social.scss} +0 -0
- data/lib/generators/jinda/templates/app/controllers/application_controller.rb +2 -0
- data/lib/generators/jinda/templates/app/views/jinda/index.html.haml +3 -1
- data/lib/generators/jinda/templates/install.sh +7 -0
- data/lib/generators/jinda/templates/spec/controllers/sessions_controller_spec.rb +4 -4
- data/lib/generators/jinda/templates/spec/spec_helper.rb +1 -1
- data/lib/generators/jinda/templates/spec/support/omniauth_macros.rb +4 -1
- data/lib/jinda/helpers.rb +3 -3
- data/lib/jinda/version.rb +1 -1
- metadata +24 -27
- data/lib/generators/jinda/templates/app/assets/javascripts/application.js.bak +0 -15
- data/lib/generators/jinda/templates/app/assets/stylesheets/jqm/application.scss-jqm +0 -32
- data/lib/generators/jinda/templates/app/controllers/application_controller.rb.bak +0 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c9a75e9044c742215b4a88279c71bf994b083791e8b2968307cd9fd1272cd630
|
|
4
|
+
data.tar.gz: 45b023769cd651c2b20310f01298d9477705604ea2b0dfece5312f7abcff11c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 884f1007b8642e2e42d01b66811444279c4c9b01f1cb52e1baa9833f2677883a89c046172b459db665c3d86b97a9f57bc416b015e382f6d62ff2b6c640039f59
|
|
7
|
+
data.tar.gz: e91ce213262754eaee44bcc6270113bf66429f4232c9380622eb0060eae31a976fa711a45999e2dd7bad665de7b9e3aa242f24a120637f88c301cefb2931d256
|
data/README.md
CHANGED
|
@@ -36,7 +36,7 @@ app without ActiveRecord
|
|
|
36
36
|
|
|
37
37
|
## Add jinda to your Gemfile:
|
|
38
38
|
|
|
39
|
-
gem 'jinda', '~> 0.3.
|
|
39
|
+
gem 'jinda', '~> 0.3.5'
|
|
40
40
|
|
|
41
41
|
For Development (most updated)
|
|
42
42
|
|
|
@@ -58,6 +58,8 @@ Then run bundle again to install additional gems added by jinda
|
|
|
58
58
|
|
|
59
59
|
$ bundle
|
|
60
60
|
|
|
61
|
+
(or run all with "sh install.sh" )
|
|
62
|
+
|
|
61
63
|
configure mongoid, omniauth
|
|
62
64
|
|
|
63
65
|
$ rails generate jinda:config
|
|
@@ -80,8 +80,11 @@ end
|
|
|
80
80
|
puts "-----------------------------------------\n"
|
|
81
81
|
puts "rails jinda:seed\n"
|
|
82
82
|
puts "-----------------------------------------\n"
|
|
83
|
-
puts " To
|
|
83
|
+
puts " To test with rspec run:"
|
|
84
84
|
puts "-----------------------------------------\n"
|
|
85
|
+
puts "rspec\n"
|
|
86
|
+
puts "-----------------------------------------\n"
|
|
87
|
+
puts " To config rspec run:"
|
|
85
88
|
puts "rails g jinda:rspec\n"
|
|
86
89
|
puts "run $chromediver for Capybara & Chrome\n"
|
|
87
90
|
puts "-----------------------------------------\n"
|
|
@@ -91,7 +94,7 @@ end
|
|
|
91
94
|
puts "-----------------------------------------\n"
|
|
92
95
|
puts " To login with facebook"
|
|
93
96
|
puts "-----------------------------------------\n"
|
|
94
|
-
|
|
97
|
+
puts "Please config. in .env or restore from .env-bak \n"
|
|
95
98
|
puts "-----------------------------------------\n"
|
|
96
99
|
end
|
|
97
100
|
end
|
|
@@ -54,15 +54,15 @@ module Jinda
|
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
def setup_app
|
|
57
|
-
inside("public") { run "mv index.html index.html.bak" }
|
|
58
|
-
inside("app/views/layouts") { run
|
|
59
|
-
inside("app/controllers") { run
|
|
60
|
-
inside("app/helpers") { run
|
|
61
|
-
inside("app/assets/javascripts") { run
|
|
62
|
-
inside("app/assets/stylesheets") { run
|
|
63
|
-
inside("config/initializers") {(File.file? "omniauth.rb") ? (mv omniauth.rb omniauth.rb.bak) : (puts "new omniauth.rb created")}
|
|
64
|
-
inside("config/initializers") {(File.file? "mongoid.rb") ? (mv mongoid.rb omniauth.rb.bak) : (puts "new mongoid.rb created")}
|
|
65
|
-
inside("config/initializers") {(File.file? "ckeditor.rb") ? (mv ckeditor.rb ckeditor.rb.bak) : (puts "new ckeditor.rb created")}
|
|
57
|
+
# inside("public") { run "mv index.html index.html.bak" }
|
|
58
|
+
inside("app/views/layouts") {(File.file? "application.html.erb") ? (run "mv application.html.erb application.html.erb.bak" ) : ( puts "no app/views/layout/ application.html.erb")}
|
|
59
|
+
inside("app/controllers") {(File.file? "application_controller.rb") ? (run "mv application_controller.rb application_controller.rb.bak" ) : ( puts "no app/controller/application_controller.rb")}
|
|
60
|
+
inside("app/helpers") {(File.file? "application_helper.rb") ? (run "mv application_helper.rb application_helper.rb.bak") : ( puts "no app/helpers/application_helper.rb")}
|
|
61
|
+
inside("app/assets/javascripts") {(File.file? "javascripts.js") ? (run "mv javascripts.js javascripts.js.bak") : ( puts "no javascript.js")}
|
|
62
|
+
inside("app/assets/stylesheets") {(File.file? "javascripts.css") ? (run "mv javascripts.css javascripts.css.bak") : ( puts "no javascript.css")}
|
|
63
|
+
inside("config/initializers") {(File.file? "omniauth.rb") ? (run "mv omniauth.rb omniauth.rb.bak") : (puts "new omniauth.rb created")}
|
|
64
|
+
inside("config/initializers") {(File.file? "mongoid.rb") ? (run "mv mongoid.rb omniauth.rb.bak") : (puts "new mongoid.rb created")}
|
|
65
|
+
inside("config/initializers") {(File.file? "ckeditor.rb") ? (run "mv ckeditor.rb ckeditor.rb.bak") : (puts "new ckeditor.rb created")}
|
|
66
66
|
directory "app"
|
|
67
67
|
directory "spec"
|
|
68
68
|
end
|
|
@@ -94,6 +94,7 @@ module Jinda
|
|
|
94
94
|
def setup_env
|
|
95
95
|
run "mv README.md README.md.bak"
|
|
96
96
|
create_file 'README.md', ''
|
|
97
|
+
copy_file 'install.sh', 'install.sh'
|
|
97
98
|
inject_into_file 'config/application.rb', :after => 'require "active_resource/railtie"' do
|
|
98
99
|
"\nrequire 'mongoid/railtie'\n"
|
|
99
100
|
"\nrequire 'rexml/document'\n"
|
|
@@ -174,14 +175,17 @@ Mongoid::Config.belongs_to_required_by_default = false
|
|
|
174
175
|
# copy_file "seeds.rb","db/seeds.rb"
|
|
175
176
|
end
|
|
176
177
|
|
|
178
|
+
|
|
177
179
|
def finish
|
|
178
180
|
puts "\n"
|
|
179
181
|
puts "Jinda gem ready for next configuration install.\n"
|
|
180
|
-
puts "
|
|
182
|
+
puts " (or short cut with sh install.sh)\n"
|
|
183
|
+
puts "Normally you will use the following command:\n"
|
|
181
184
|
puts "----------------------------------------\n"
|
|
182
185
|
puts "bundle install\n"
|
|
183
186
|
puts "rails generate jinda:config\n"
|
|
184
187
|
puts "rake jinda:seed\n"
|
|
188
|
+
puts
|
|
185
189
|
puts "----------------------------------------\n"
|
|
186
190
|
end
|
|
187
191
|
end
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
//
|
|
13
13
|
//= require jquery
|
|
14
14
|
//= require jquery_ujs
|
|
15
|
-
//= require
|
|
16
|
-
//= require
|
|
17
|
-
//= require
|
|
18
|
-
//= require
|
|
19
|
-
//= require
|
|
20
|
-
//= require
|
|
15
|
+
//= require jquery.mobile.splitview
|
|
16
|
+
//= require jquery.mobile-1.2.1
|
|
17
|
+
//= require jquery.mobile.datebox
|
|
18
|
+
//= require iscroll-wrapper
|
|
19
|
+
//= require iscroll
|
|
20
|
+
//= require jinda
|
|
21
21
|
// require turbolinks
|
|
22
|
-
//= require
|
|
22
|
+
//= require disable_enter_key.js
|
|
23
23
|
|
|
24
24
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/generators/jinda/templates/app/assets/stylesheets/{application.css.bak → application.css}
RENAMED
|
File without changes
|
|
@@ -13,21 +13,15 @@
|
|
|
13
13
|
*= require normalize-rails
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
@import "
|
|
17
|
-
@import "
|
|
18
|
-
@import "
|
|
19
|
-
@import "
|
|
20
|
-
@import "
|
|
21
|
-
@import "
|
|
22
|
-
@import "
|
|
23
|
-
@import "
|
|
24
|
-
@import "
|
|
16
|
+
@import "jquery.mobile-1.2.1";
|
|
17
|
+
@import "jquery.mobile.splitview";
|
|
18
|
+
@import "jquery.mobile.grids.collapsible";
|
|
19
|
+
@import "jquery.mobile.datebox.css";
|
|
20
|
+
@import "sarabun";
|
|
21
|
+
@import "jinda";
|
|
22
|
+
@import "kul-4.2";
|
|
23
|
+
@import "articles";
|
|
24
|
+
@import "app.scss";
|
|
25
25
|
@import "font-awesome-sprockets";
|
|
26
26
|
@import "font-awesome";
|
|
27
|
-
@import "
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
@import "social";
|
data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/articles.scss → articles.scss}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/generators/jinda/templates/app/assets/stylesheets/{jqm/kul-4.2.min.css → kul-4.2.min.css}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
class ApplicationController < ActionController::Base
|
|
2
2
|
# https://www.cookieshq.co.uk/posts/easy-seo-metatags-with-rails-4#a-word-about-turbolinks
|
|
3
3
|
before_action :prepare_meta_tags, if: -> { request.get? }
|
|
4
|
+
# CSRF protection is turned on with the protect_from_forgery method.
|
|
5
|
+
protect_from_forgery unless: -> { request.format.json? }
|
|
4
6
|
def prepare_meta_tags(options={})
|
|
5
7
|
site_name = DEFAULT_TITLE
|
|
6
8
|
title = [controller_name, action_name].join(" ")
|
|
@@ -21,14 +21,16 @@
|
|
|
21
21
|
|
|
22
22
|
%h2 Installation
|
|
23
23
|
%ul
|
|
24
|
-
%li add gem 'jinda', '0.3.
|
|
24
|
+
%li add gem 'jinda', '0.3.5'
|
|
25
25
|
%li bundle
|
|
26
26
|
%li rails generate jinda:install
|
|
27
|
+
%li (run all with "sh install.sh" )
|
|
27
28
|
%li bundle
|
|
28
29
|
%li rails generate jinda:config
|
|
29
30
|
%li rails jinda:seed, will create initial user:password admin:secret
|
|
30
31
|
%li when update app/jinda/index.mm, run rake jinda:update
|
|
31
32
|
|
|
33
|
+
|
|
32
34
|
%h2 Option: Themes available: Jinda_adminbsb, Jinda_adminlte
|
|
33
35
|
%ul
|
|
34
36
|
%li To install gem 'jinda_adminlte'
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
# 3. Test whatever code is attached to the callback
|
|
5
5
|
# require 'spec_helper'
|
|
6
6
|
require 'rails_helper'
|
|
7
|
-
describe SessionsController do
|
|
7
|
+
describe SessionsController, type: :controller do
|
|
8
8
|
|
|
9
|
-
describe "Google"
|
|
9
|
+
describe "Google" do
|
|
10
10
|
|
|
11
11
|
before do
|
|
12
12
|
|
|
13
|
-
request.env['omniauth.auth'] = OmniAuth.config.mock_auth[:google_oauth2]
|
|
13
|
+
@request.env['omniauth.auth'] = OmniAuth.config.mock_auth[:google_oauth2]
|
|
14
14
|
visit '/auth/google_oauth2'
|
|
15
15
|
end
|
|
16
16
|
|
|
@@ -52,7 +52,7 @@ describe SessionsController do
|
|
|
52
52
|
describe "Facebook" do
|
|
53
53
|
|
|
54
54
|
before do
|
|
55
|
-
request.env['omniauth.auth'] = OmniAuth.config.mock_auth[:facebook]
|
|
55
|
+
@request.env['omniauth.auth'] = OmniAuth.config.mock_auth[:facebook]
|
|
56
56
|
visit '/auth/facebook'
|
|
57
57
|
end
|
|
58
58
|
|
|
@@ -19,7 +19,7 @@ RSpec.configure do |config|
|
|
|
19
19
|
config.shared_context_metadata_behavior = :apply_to_host_groups
|
|
20
20
|
|
|
21
21
|
# https://github.com/DatabaseCleaner/database_cleaner #
|
|
22
|
-
config.use_transactional_fixtures = false
|
|
22
|
+
# config.use_transactional_fixtures = false
|
|
23
23
|
# https://stackoverflow.com/questions/15148585/undefined-method-visit-when-using-rspec-and-capybara-in-rails
|
|
24
24
|
config.include Capybara::DSL
|
|
25
25
|
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
# in spec/support/omniauth_macro.rb
|
|
2
2
|
module OmniauthMacros
|
|
3
|
+
require 'omniauth'
|
|
4
|
+
#To enable all request to OmniAuth short circuited to use below mock authentication hash the /auth/provider will redirect immediately to /auth/provider/call back
|
|
5
|
+
# https://github.com/omniauth/omniauth/wiki/Integration-Testing
|
|
6
|
+
OmniAuth.config.test_mode = true
|
|
3
7
|
|
|
4
|
-
OmniAuth.config.test_mode = true
|
|
5
8
|
omniauth_hash = { 'provider' => 'google_oauth2',
|
|
6
9
|
'uid' => '105362273761620533373',
|
|
7
10
|
'info' => {
|
data/lib/jinda/helpers.rb
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
require 'active_support'
|
|
2
|
+
require 'active_support/core_ext'
|
|
3
|
+
|
|
1
4
|
# -*- encoding : utf-8 -*-
|
|
2
5
|
# This helper handle
|
|
3
6
|
# 1. Read xml from mm file to run core program:
|
|
@@ -21,9 +24,6 @@
|
|
|
21
24
|
#
|
|
22
25
|
################################################################################
|
|
23
26
|
|
|
24
|
-
require 'active_support'
|
|
25
|
-
require 'active_support/core_ext'
|
|
26
|
-
|
|
27
27
|
|
|
28
28
|
module Jinda
|
|
29
29
|
module Helpers
|
data/lib/jinda/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jinda
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Prateep Kul
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-04-
|
|
12
|
+
date: 2019-04-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -243,18 +243,19 @@ files:
|
|
|
243
243
|
- lib/generators/jinda/templates/app/assets/images/user_admin_gear.png
|
|
244
244
|
- lib/generators/jinda/templates/app/assets/images/view_code.png
|
|
245
245
|
- lib/generators/jinda/templates/app/assets/javascripts/application.js
|
|
246
|
-
- lib/generators/jinda/templates/app/assets/javascripts/application.js
|
|
246
|
+
- lib/generators/jinda/templates/app/assets/javascripts/application.js-jqm
|
|
247
247
|
- lib/generators/jinda/templates/app/assets/javascripts/cable.js
|
|
248
|
-
- lib/generators/jinda/templates/app/assets/javascripts/
|
|
249
|
-
- lib/generators/jinda/templates/app/assets/javascripts/
|
|
250
|
-
- lib/generators/jinda/templates/app/assets/javascripts/
|
|
251
|
-
- lib/generators/jinda/templates/app/assets/javascripts/
|
|
252
|
-
- lib/generators/jinda/templates/app/assets/javascripts/
|
|
253
|
-
- lib/generators/jinda/templates/app/assets/javascripts/
|
|
254
|
-
- lib/generators/jinda/templates/app/assets/javascripts/
|
|
255
|
-
- lib/generators/jinda/templates/app/assets/
|
|
256
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/application.css
|
|
248
|
+
- lib/generators/jinda/templates/app/assets/javascripts/disable_enter_key.js
|
|
249
|
+
- lib/generators/jinda/templates/app/assets/javascripts/iscroll-wrapper.js
|
|
250
|
+
- lib/generators/jinda/templates/app/assets/javascripts/iscroll.js
|
|
251
|
+
- lib/generators/jinda/templates/app/assets/javascripts/jinda.js
|
|
252
|
+
- lib/generators/jinda/templates/app/assets/javascripts/jquery.mobile-1.2.1.js
|
|
253
|
+
- lib/generators/jinda/templates/app/assets/javascripts/jquery.mobile.datebox.js
|
|
254
|
+
- lib/generators/jinda/templates/app/assets/javascripts/jquery.mobile.splitview.js
|
|
255
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/app.scss
|
|
256
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/application.css
|
|
257
257
|
- lib/generators/jinda/templates/app/assets/stylesheets/application.css.scss
|
|
258
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/articles.scss
|
|
258
259
|
- lib/generators/jinda/templates/app/assets/stylesheets/fonts/sarabun.eot
|
|
259
260
|
- lib/generators/jinda/templates/app/assets/stylesheets/fonts/sarabun.ttf
|
|
260
261
|
- lib/generators/jinda/templates/app/assets/stylesheets/fonts/sarabun.woff
|
|
@@ -283,23 +284,19 @@ files:
|
|
|
283
284
|
- lib/generators/jinda/templates/app/assets/stylesheets/images/icons-36-black.png
|
|
284
285
|
- lib/generators/jinda/templates/app/assets/stylesheets/images/icons-36-white.png
|
|
285
286
|
- lib/generators/jinda/templates/app/assets/stylesheets/images/indicator.gif
|
|
286
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/
|
|
287
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/
|
|
288
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/
|
|
289
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/
|
|
290
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/
|
|
291
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/
|
|
292
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/
|
|
293
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/
|
|
294
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/
|
|
295
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/jqm/kul-4.2.min.css
|
|
296
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/jqm/sarabun.css
|
|
297
|
-
- lib/generators/jinda/templates/app/assets/stylesheets/jqm/social.scss
|
|
287
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/jinda.css
|
|
288
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/jquery.mobile-1.2.1.css
|
|
289
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/jquery.mobile.datebox.css
|
|
290
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/jquery.mobile.grids.collapsible.css
|
|
291
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/jquery.mobile.splitview.css
|
|
292
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/kul-4.2.css
|
|
293
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/kul-4.2.min.css
|
|
294
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/sarabun.css
|
|
295
|
+
- lib/generators/jinda/templates/app/assets/stylesheets/social.scss
|
|
298
296
|
- lib/generators/jinda/templates/app/channels/application_cable/channel.rb
|
|
299
297
|
- lib/generators/jinda/templates/app/channels/application_cable/connection.rb
|
|
300
298
|
- lib/generators/jinda/templates/app/controllers/admins_controller.rb
|
|
301
299
|
- lib/generators/jinda/templates/app/controllers/application_controller.rb
|
|
302
|
-
- lib/generators/jinda/templates/app/controllers/application_controller.rb.bak
|
|
303
300
|
- lib/generators/jinda/templates/app/controllers/articles_controller.rb
|
|
304
301
|
- lib/generators/jinda/templates/app/controllers/comments_controller.rb
|
|
305
302
|
- lib/generators/jinda/templates/app/controllers/ctrs_controller.rb-gem-test
|
|
@@ -421,6 +418,7 @@ files:
|
|
|
421
418
|
- lib/generators/jinda/templates/app/views/users/user/enter_user.html.erb
|
|
422
419
|
- lib/generators/jinda/templates/cloudinary.yml
|
|
423
420
|
- lib/generators/jinda/templates/dot.rspec
|
|
421
|
+
- lib/generators/jinda/templates/install.sh
|
|
424
422
|
- lib/generators/jinda/templates/jinda.yml
|
|
425
423
|
- lib/generators/jinda/templates/public/404.html
|
|
426
424
|
- lib/generators/jinda/templates/public/422.html
|
|
@@ -465,8 +463,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
465
463
|
- !ruby/object:Gem::Version
|
|
466
464
|
version: '0'
|
|
467
465
|
requirements: []
|
|
468
|
-
|
|
469
|
-
rubygems_version: 2.7.9
|
|
466
|
+
rubygems_version: 3.0.3
|
|
470
467
|
signing_key:
|
|
471
468
|
specification_version: 4
|
|
472
469
|
summary: 'Rails workflow from mind map: Freemind'
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
2
|
-
// listed below.
|
|
3
|
-
//
|
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
|
|
5
|
-
// vendor/assets/javascripts directory can be referenced here using a relative path.
|
|
6
|
-
//
|
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
|
-
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
|
9
|
-
//
|
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
|
11
|
-
// about supported directives.
|
|
12
|
-
//
|
|
13
|
-
//= require rails-ujs
|
|
14
|
-
//= require turbolinks
|
|
15
|
-
//= require_tree .
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
3
|
-
* listed below.
|
|
4
|
-
*
|
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
|
7
|
-
*
|
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
|
9
|
-
* compiled file, but it's generally better to create a new file per style scope.
|
|
10
|
-
*
|
|
11
|
-
* require_tree .
|
|
12
|
-
* require_self
|
|
13
|
-
*= require normalize-rails
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
@import "jqm/jquery.mobile-1.2.1";
|
|
17
|
-
@import "jqm/jquery.mobile.splitview";
|
|
18
|
-
@import "jqm/jquery.mobile.grids.collapsible";
|
|
19
|
-
@import "jqm/jquery.mobile.datebox.css";
|
|
20
|
-
@import "jqm/sarabun";
|
|
21
|
-
@import "jqm/jinda";
|
|
22
|
-
@import "jqm/kul-4.2";
|
|
23
|
-
@import "jqm/articles";
|
|
24
|
-
@import "jqm/rouge";
|
|
25
|
-
@import "font-awesome-sprockets";
|
|
26
|
-
@import "font-awesome";
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|