jinda 0.2.2 → 0.2.3

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: bd2439dc252a2ace18233166960c4c124c414f66db46146cbabe610e5d035d39
4
- data.tar.gz: db063adfa5049f9f0615bb8e3a08ad567931ebd7cfaab7b2712d9a474f51abed
3
+ metadata.gz: 1885ed25b58539f5e6773fe4a0dd08bab63875991d8daec8dc5bd7bf971a3ede
4
+ data.tar.gz: b9659cedc949e4b78e1b797f432fedbd5157a14289992747efa70a66bb2dfea9
5
5
  SHA512:
6
- metadata.gz: 5b12c6334740208ca2852801b2d3d18165b75d36444564d771f974f1136c0e7294589c74c45f916ca7f437f546940358a36b0cda555acdef552e24fea7c39341
7
- data.tar.gz: 74008cb9fe14d678a4ed267c55de5d8612a430e746b65854ac77eac73e88363b5827224524e654e6438414c6c1ea318d9b89925c0142344d65117dcb3d11bd29
6
+ metadata.gz: d688085b44c9caf3a91506ea7c6c72b9ae9b332940e0281f0653f7271a8e43aac381e4793cabb688a4247e29334cf8e28f495eb50fdcee00b77a7e2105eb19ed
7
+ data.tar.gz: 23542a57b4496855c435a31ef33901dbac71dceb681cc370299af64eb37e49dc3be72ce9619a191a9f0b74653f07abdb98ca4a0430cfe3319f8db0fadf9dbda1
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.2.1'
39
+ gem 'jinda', '~> 0.2.3'
40
40
 
41
41
  For Development (most updated)
42
42
 
@@ -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="1493419763293" TEXT="select_article: Select Article">
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="1538239863609" TEXT="belongs_to :user, class_name =&gt; &quot;Jinda::User&quot;">
156
+ <node CREATED="1493487131376" ID="ID_1334057464" MODIFIED="1538328284823" TEXT="belongs_to :user, :class_name =&gt; &quot;Jinda::User&quot;">
157
157
  <icon BUILTIN="edit"/>
158
158
  </node>
159
159
  <node CREATED="1493705838166" ID="ID_408271104" MODIFIED="1493705877062" TEXT="has_many :comments">
@@ -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;'), "#", :onclick=>"if (confirm('Please Confirm')) {location.hash='/articles/destroy/#{article.id}';}"
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
-
@@ -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.0
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', '~> 0.1.8'
23
+ %li add gem 'jinda', '0.2.3'
24
24
  %li bundle
25
25
  %li rails generate jinda:install
26
26
  %li bundle
@@ -1,3 +1,3 @@
1
1
  module Jinda
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
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.2.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 %>