jinda 0.2.2 → 0.2.3
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 +1 -1
- data/lib/generators/jinda/templates/app/jinda/index.mm +2 -2
- data/lib/generators/jinda/templates/app/jinda/template/linkview.haml +0 -0
- data/lib/generators/jinda/templates/app/jinda/template/view.html.erb +0 -0
- data/lib/generators/jinda/templates/app/views/articles/edit.haml +0 -0
- data/lib/generators/jinda/templates/app/views/articles/edit_article/edit_article.html.erb +0 -0
- data/lib/generators/jinda/templates/app/views/articles/edit_article/select_article.html.erb +0 -0
- data/lib/generators/jinda/templates/app/views/articles/index.haml +0 -0
- data/lib/generators/jinda/templates/app/views/articles/my.haml +1 -2
- data/lib/generators/jinda/templates/app/views/articles/new_article/form_article.html.erb +0 -0
- data/lib/generators/jinda/templates/app/views/articles/show.html.haml +0 -0
- data/lib/generators/jinda/templates/app/views/articles/xedit_article/edit_article.html.erb +0 -0
- data/lib/generators/jinda/templates/app/views/jinda/index.html.haml +2 -2
- data/lib/jinda/version.rb +1 -1
- metadata +1 -2
- data/lib/generators/jinda/templates/app/views/articles/xedit_article/xedit_article.html.erb +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1885ed25b58539f5e6773fe4a0dd08bab63875991d8daec8dc5bd7bf971a3ede
|
|
4
|
+
data.tar.gz: b9659cedc949e4b78e1b797f432fedbd5157a14289992747efa70a66bb2dfea9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d688085b44c9caf3a91506ea7c6c72b9ae9b332940e0281f0653f7271a8e43aac381e4793cabb688a4247e29334cf8e28f495eb50fdcee00b77a7e2105eb19ed
|
|
7
|
+
data.tar.gz: 23542a57b4496855c435a31ef33901dbac71dceb681cc370299af64eb37e49dc3be72ce9619a191a9f0b74653f07abdb98ca4a0430cfe3319f8db0fadf9dbda1
|
data/README.md
CHANGED
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
</node>
|
|
86
86
|
</node>
|
|
87
87
|
<node CREATED="1493419562726" ID="ID_922854639" MODIFIED="1493490306480" TEXT="edit_article: Edit Article">
|
|
88
|
-
<node CREATED="1493419577933" ID="ID_938626803" MODIFIED="
|
|
88
|
+
<node CREATED="1493419577933" ID="ID_938626803" MODIFIED="1538329139586" TEXT="select_article: Select Article">
|
|
89
89
|
<icon BUILTIN="attach"/>
|
|
90
90
|
<node CREATED="1493479602815" ID="ID_753056881" MODIFIED="1493479606921" TEXT="role:m"/>
|
|
91
91
|
</node>
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
<node CREATED="1493418879485" ID="ID_1995497233" MODIFIED="1493718770637" TEXT="article">
|
|
154
154
|
<node CREATED="1493418891110" ID="ID_364756011" MODIFIED="1493418905253" TEXT="title"/>
|
|
155
155
|
<node CREATED="1493418906868" ID="ID_1676483995" MODIFIED="1493418911919" TEXT="text"/>
|
|
156
|
-
<node CREATED="1493487131376" ID="ID_1334057464" MODIFIED="
|
|
156
|
+
<node CREATED="1493487131376" ID="ID_1334057464" MODIFIED="1538328284823" TEXT="belongs_to :user, :class_name => "Jinda::User"">
|
|
157
157
|
<icon BUILTIN="edit"/>
|
|
158
158
|
</node>
|
|
159
159
|
<node CREATED="1493705838166" ID="ID_408271104" MODIFIED="1493705877062" TEXT="has_many :comments">
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -16,6 +16,5 @@
|
|
|
16
16
|
%td= article.text.html_safe
|
|
17
17
|
%td= article.created_at.strftime('%m/%d/%Y')
|
|
18
18
|
%td= article.updated_at.strftime('%m/%d/%Y')
|
|
19
|
-
%td(align='center')= link_to image_tag('delete.png', style:'border:none; float:none;'), "
|
|
19
|
+
%td(align='center')= link_to image_tag('delete.png', style:'border:none; float:none;'), {controller: "articles", action: "destroy", article_id: article.id}, data: { confirm: "Please Confirm" }
|
|
20
20
|
%td(align='center')= link_to image_tag('pencil.png', style:'border:none; float:none;'), {controller: "jinda", action: "init", s: 'articles:xedit_article', article_id: article.id}, data: { confirm: "Please Confirm" }
|
|
21
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
%h2 Recently tested with:
|
|
14
14
|
%ul
|
|
15
15
|
%li Rubygems 2.5.0
|
|
16
|
-
%li Rails 5.2.
|
|
16
|
+
%li Rails 5.2.1
|
|
17
17
|
%li rails new YOURAPP --skip-test-unit --skip-bundle --skip-active-record
|
|
18
18
|
%li (rails new YOURAPP -BOT)
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
%h2 Installation
|
|
22
22
|
%ul
|
|
23
|
-
%li add gem 'jinda', '
|
|
23
|
+
%li add gem 'jinda', '0.2.3'
|
|
24
24
|
%li bundle
|
|
25
25
|
%li rails generate jinda:install
|
|
26
26
|
%li bundle
|
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.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Prateep Kul
|
|
@@ -353,7 +353,6 @@ files:
|
|
|
353
353
|
- lib/generators/jinda/templates/app/views/articles/new_article/form_article.html.erb
|
|
354
354
|
- lib/generators/jinda/templates/app/views/articles/show.html.haml
|
|
355
355
|
- lib/generators/jinda/templates/app/views/articles/xedit_article/edit_article.html.erb
|
|
356
|
-
- lib/generators/jinda/templates/app/views/articles/xedit_article/xedit_article.html.erb
|
|
357
356
|
- lib/generators/jinda/templates/app/views/ctrs/vfolder1/viewfile1.html.erb
|
|
358
357
|
- lib/generators/jinda/templates/app/views/ctrs/vfolder1/viewfile2.html.erb
|
|
359
358
|
- lib/generators/jinda/templates/app/views/ctrs/vfolder2/viewfile2.html.erb
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
article = @article
|
|
2
|
-
<%= fields_for article do |f| %>
|
|
3
|
-
<%= f.label :title, "Title" %>
|
|
4
|
-
<%= f.text_field :title %>
|
|
5
|
-
<%= f.label :text, "About" %>
|
|
6
|
-
<%= f.text_field :text %>
|
|
7
|
-
<%= f.label :text, "Keywords" %>
|
|
8
|
-
<%= f.text_field :keywords %>
|
|
9
|
-
<%= f.label :body, "Body Content" %>
|
|
10
|
-
<%= f.cktext_area :body %>
|
|
11
|
-
<% end %>
|