tawork 0.0.29 → 0.0.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmJiODIzZDQ3MTVmZGVhMGNjMjhkOGI2Y2JkMDJmN2M2MjlmN2M1ZQ==
4
+ YmQ3N2QyZWZjZmU4N2YxNzBkMDZhMTE1MDU5ZTM1NmRlYTVhN2IyYg==
5
5
  data.tar.gz: !binary |-
6
- YmFmZTEwNWYyOWZhYzY2ODM4ZTQ3YmEzYzlhZDUwZjkxZmQyYmFiYg==
6
+ M2M1OGNmZjA1Y2JmMjYwNDNiM2QzY2ExOTM5YmNjOWYzMzEzZDA4MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzZhODZkZTI2MjdiNzBmZTJlY2I2YTA2Mjg2MWQ1MGMyNjNjMjVkYTlhMTNi
10
- ZjdmM2Y3YjI2ODU1MjIzYjZlYmM4ZGM0MDg5YjQ0ZjFkMzJmMmJhNTcwOTcy
11
- NzA4MDJiMWI5MWE1OWJmNDMwYTc4ZTRkMThhODI3ZGU1ZmMwMTE=
9
+ NGQ5OTc1NWI3ZmNhOTg1OGJkYzUzZjU5NDY5NTY1OGY1NDVmNDA2ODZlM2Y4
10
+ ZjJlOGQxNjkzMzNmYWVlZTdhYTg1NWI0MTJkOWI3ZjJmZjYzZGE1YjhmOWVh
11
+ YmExOWIxZmM2YTUyNGM2MDdjYmFjNGRhMGI3YTRiZDAyMTcxODE=
12
12
  data.tar.gz: !binary |-
13
- ZmM3MTI4MmM5MjAzNjc0ODUwZWVjYjUwOTg2OGU3MWVkODA3YTdjNTk1OTFl
14
- ODBlNDNhNzY0OTlhMTQ3NGY0YjY0Nzk5NGJmYTdiZGU5NWYzNTYyYTQ4M2Nm
15
- ZWY0NDRlOWFmYTdkNDRiZjUzMTA5YWY1MDY5OWJjM2E5ZjVlNTU=
13
+ Mjg4ZDA0YzBlYmY2MDU1YzMxZWFjYTE3MzRmNGQyNzk0ZDllMDhkYmZkYTE4
14
+ YjFjMzJhMWRmZDhiOTRkODc3ZmU3ZGFlYWQxMGNkZmNjYzQ4NzcwMGM2YWI4
15
+ Y2IzNWQ5NWU1NDllMzViYmYwNTE2NTdiNjI3MDhiYzEwNmRjMzI=
@@ -108,12 +108,14 @@ class Wiki::PagesController < ApplicationController
108
108
  def add_tag
109
109
  @page.tag_list.add(params[:tag])
110
110
  @page.save
111
+ @page.__elasticsearch__.index_document
111
112
  render json: {}
112
113
  end
113
114
 
114
115
  def remove_tag
115
116
  @page.tag_list.remove(params[:tag])
116
117
  @page.save
118
+ @page.__elasticsearch__.index_document
117
119
  render json: {}
118
120
  end
119
121
 
@@ -2,10 +2,6 @@
2
2
  %li
3
3
  %a.edit{href: "#", data: {toggle: "tooltip", placement: "top"}, title: "Edit"}
4
4
  %i.fa.fa-edit
5
- %li
6
- %a.cancel{href: "#", data: {toggle: "tooltip", placement: "top"}, title: "Cancel Edit", style: "display: none;"}
7
- %i.fa.fa-minus-circle
8
-
9
5
 
10
6
  %li
11
7
  %a.save{href: "#", data: {type: "PUT", url: wiki_page_path(@page), toggle: "tooltip", placement: "top"}, title: "Save", style: "display: none;"}
@@ -22,3 +18,8 @@
22
18
  %li
23
19
  = link_to new_wiki_page_path(parent_id: @page.id), data: {toggle: "tooltip", placement: "top"}, title: "New Subpage" do
24
20
  %i.fa.fa-file-text-o
21
+
22
+ %li
23
+ %a.cancel{href: "#", data: {toggle: "tooltip", placement: "top"}, title: "Cancel Edit", style: "display: none; color: red;"}
24
+ %i.fa.fa-minus-circle
25
+
@@ -1,3 +1,3 @@
1
1
  module Tawork
2
- VERSION = '0.0.29'
2
+ VERSION = '0.0.30'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tawork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adnan Ali