jinda 0.5.5 → 0.5.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22a5bc38b0cb1b8d762c12992113c2c7ff7a32a561ffa40e2d0bffc33c4ef3ab
4
- data.tar.gz: 72e62d233e7caf07a108b7a2a1cdfba7b837724215332a66e625c950f806c9f7
3
+ metadata.gz: b19ce89ffc7d0cc62a3694aa01206e6de1d04ae31c3204a8fd39ca7195593434
4
+ data.tar.gz: 425b20ce57cfba2d88b3eb9f578366bdb363594bde4e175f98e4a5106a38ba45
5
5
  SHA512:
6
- metadata.gz: 1eb303b8a9a49ff57fc98dcbceeb12982bd2f7686fc653b996da5212ee8189a9d3a66f7809db839d85f5e45e278f43c54e90deeab74b83aa268b0fbae0ef220d
7
- data.tar.gz: 9ce2e36e149bcde4620bcdb1cb29a0b38847055c8ae746af0dfc4201e866cdfbe4a07460f9957354fc1f5023427ed4348c012233b50e648d847d6f28068817b6
6
+ metadata.gz: 1380caefa23d4e6fc49053f55f40dcfd1e5b244efdebe101b7adfb48043bf0d8b57cfc6f2b5fa48dcd67f500d5e99a3574c75608cff9521d7b0a3643f6c093ef
7
+ data.tar.gz: 7fef8092499796b99418abef949dce07f3d61565dcdfd5a95525580a90ceefeea5c7c443e1a8b60588265cad164052a9b8bca74f1f2f85c6eb6b4c23a0477c3a
data/README.md CHANGED
@@ -40,7 +40,7 @@ app without ActiveRecord
40
40
 
41
41
  ## Add jinda to your Gemfile:
42
42
 
43
- gem 'jinda', '~> 0.5.5'
43
+ gem 'jinda', '~> 0.5.6'
44
44
 
45
45
  For Development (most updated)
46
46
 
@@ -130,7 +130,7 @@ module Jinda
130
130
  route "post '/jinda/init' => 'jinda#init'"
131
131
  route "jinda_methods.each do \|aktion\| get \"/jinda/\#\{aktion\}\" => \"jinda#\#\{aktion\}\" end"
132
132
  route "jinda_methods += ['error_logs', 'notice_logs', 'cancel', 'run_output', 'end_output']"
133
- route "jinda_methods += ['run_redirect', 'run_direct_to']"
133
+ route "jinda_methods += ['run_redirect', 'run_direct_to','run_if']"
134
134
  route "jinda_methods += ['init', 'run', 'run_mail', 'document', 'run_do', 'run_form', 'end_form']"
135
135
  route "jinda_methods = ['pending', 'status', 'search', 'doc', 'doc_print', 'logs', 'ajax_notice']"
136
136
  route "\# start jiinda method routes"
@@ -5,12 +5,12 @@
5
5
  <div id="article-table">
6
6
  <%= fields_for article do |f| %>
7
7
  <%= f.label :title, "Title" %>
8
- <%= f.text_field :title %>
8
+ <%= f.text_field :title, :required => true %>
9
9
  <%= f.label :text, "Description" %>
10
- <%= f.text_field :text %>
10
+ <%= f.text_field :text, :required => true %>
11
11
  <%= f.label :text, "Keywords" %>
12
12
  <%= f.text_field :keywords %>
13
13
  <%= f.label :body, "Body Content" %>
14
- <%= f.text_area :body %>
14
+ <%= f.text_area :body, :required => true %>
15
15
  <% end %>
16
16
  </div>
@@ -21,7 +21,7 @@
21
21
 
22
22
  %h2 Installation
23
23
  %ul
24
- %li add gem 'jinda', '0.5.5'
24
+ %li add gem 'jinda', '0.5.6'
25
25
  %li bundle
26
26
  %li rails generate jinda:install
27
27
  %li (run all with "sh install.sh" )
@@ -1,13 +1,10 @@
1
1
  <head>
2
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
3
- <meta name="distribution" content="global" />
4
- <meta name="robots" content="follow, all" />
5
- <meta name="language" content="en, th" />
6
- <title>eLocal</title>
7
- <link rel="shortcut icon" href="/assets/favicon.ico" />
8
- <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
9
- <%= stylesheet_link_tag "jinda", "sarabun" %>
2
+ <%= favicon_link_tag %>
3
+ <%= csrf_meta_tags %>
4
+ <%= meta_tags %>
10
5
  <meta name="description" content="Jinda" />
11
- <%= javascript_include_tag "jquery.tools.min.js" %>
12
- <%= javascript_include_tag "application", "flashobject", "FusionCharts" %>
6
+ <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track":"reload" %>
7
+ <%= javascript_include_tag "application", "data-turbolinks-track": "reload" %>
8
+ <%= stylesheet_link_tag "jinda", "sarabun" %>
9
+ <script src = "https://ajax.aspnetcdn.com/ajax/jquery.validate/1.12.0/jquery.validate.js" ></script>
13
10
  </head>
@@ -1,15 +1,7 @@
1
1
  !!! 5
2
2
  %html
3
3
  %head
4
- = favicon_link_tag
5
- = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
6
- = javascript_include_tag "application", 'data-turbolinks-track': 'reload'
7
- = csrf_meta_tags
8
- = display_meta_tags
9
- - if GMAP
10
- = javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false"
11
- -# if ADSENSE
12
- = render :partial => 'custom/adsense'
4
+ = render :partial => "layouts/head"
13
5
  %body
14
6
  = render :partial => "jinda/menu"
15
7
  %div{"data-id" => "main", "data-role" => "panel", "data-backbtn"=>"false"}
@@ -6,7 +6,7 @@
6
6
 
7
7
  <%= fields_for doc, validate: true do |f| %>
8
8
  <%= f.label :title, "Title" %>
9
- <%= f.text_field :title %><Br>
9
+ <%= f.text_field :title, :required => true %><Br>
10
10
  <%= f.label :body, "Body Content" %>
11
11
  <%= f.text_area :body, :cols=>50, :rows=>6, required: true %>
12
12
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module Jinda
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.6"
3
3
  end
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.5.5
4
+ version: 0.5.6
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: 2020-06-05 00:00:00.000000000 Z
12
+ date: 2020-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -305,8 +305,7 @@ files:
305
305
  - lib/generators/jinda/templates/app/views/jinda/status.haml
306
306
  - lib/generators/jinda/templates/app/views/jinda_mailer/gmail.html.erb
307
307
  - lib/generators/jinda/templates/app/views/layouts/_head.html.erb
308
- - lib/generators/jinda/templates/app/views/layouts/_meta_tags.html.erb
309
- - lib/generators/jinda/templates/app/views/layouts/_metatag.html.erb
308
+ - lib/generators/jinda/templates/app/views/layouts/_meta_tag.html.erb
310
309
  - lib/generators/jinda/templates/app/views/layouts/application.haml
311
310
  - lib/generators/jinda/templates/app/views/layouts/bsb/_footer.haml
312
311
  - lib/generators/jinda/templates/app/views/layouts/bsb/_header.haml
@@ -327,7 +326,6 @@ files:
327
326
  - lib/generators/jinda/templates/app/views/layouts/mobilejq.html.erb
328
327
  - lib/generators/jinda/templates/app/views/layouts/print.html.erb
329
328
  - lib/generators/jinda/templates/app/views/layouts/utf8.html.erb
330
- - lib/generators/jinda/templates/app/views/new.html.erb
331
329
  - lib/generators/jinda/templates/app/views/note_mailer/gmail.html.haml
332
330
  - lib/generators/jinda/templates/app/views/note_mailer/gmail.text.haml
333
331
  - lib/generators/jinda/templates/app/views/notes/delete/select_note.html.erb
@@ -1,5 +0,0 @@
1
- # call default from application_controllre.rb
2
- # https://www.cookieshq.co.uk/posts/easy-seo-metatags-with-rails-4#a-word-about-turbolinks
3
- #
4
- <%= display_meta_tags %>
5
-
@@ -1,7 +0,0 @@
1
- <%= form_tag password_resets_path, :method => :post do %>
2
- <div class="field">
3
- <%= label_tag :email %>
4
- <%= text_field_tag :email, params[:email] %>
5
- </div>
6
- <div class="actions"><%= submit_tag "Reset Password" %></div>
7
- <% end %>