tawork 0.0.49 → 0.0.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/Gemfile +1 -0
- data/Gemfile.lock +5 -0
- data/app/controllers/wiki/pages_controller.rb +4 -0
- data/config/application.rb +7 -0
- data/lib/tawork/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MmU2ODFkZWE1NjZlYWJkYThkZWViZjRlNWE0M2JlZWMxMWU4Mjc2MA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
OGI4ZWE1YzFiYjQ2MDI0Y2JkYTkxYjgzZWZhY2YyMjY0M2ZkNzgxZg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MmRmM2QxN2E0ZTY2MTc0MGUyNDY1MDFkYjk5N2Q3MTQ2MGEyNGM3YzNjYWRh
|
10
|
+
ZjIwOTZmNjdiYTM3ZDI2ZWY3NjY1OGE3ZjczMGNkZWVlNDQ5ZTEyOTFkZWYw
|
11
|
+
ODY1ZDUzYzI5NDM5MjU2MGMwYmIxMDkxZTUyMWQ0N2VjYWUwODQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MmRiMTBjYjg2MWU5Y2IwNTU5N2M2NTk1MWIyMDY0N2QwMTkxMjFjMjI1ZDJk
|
14
|
+
ZDA3MDdkYmU5OTZlNmMzNmQ1MGZmZTJkZGFhZGI5YWQ2ODlmMDcyYTg2NmRh
|
15
|
+
ZDVmZTY2MGI2YTdkODE4ZGQ0NmJlOTY5ODhiMzY4YjEzZDQ1YWQ=
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -238,6 +238,7 @@ GEM
|
|
238
238
|
omniauth (~> 1.0)
|
239
239
|
rack-openid (~> 1.3.1)
|
240
240
|
orm_adapter (0.5.0)
|
241
|
+
pdfkit (0.5.2)
|
241
242
|
plupload-rails (1.2.1)
|
242
243
|
rails (>= 3.1)
|
243
244
|
posix-spawn (0.3.8)
|
@@ -403,6 +404,7 @@ DEPENDENCIES
|
|
403
404
|
mysql2
|
404
405
|
omniauth-google-oauth2
|
405
406
|
omniauth-openid
|
407
|
+
pdfkit
|
406
408
|
plupload-rails
|
407
409
|
pry-rails
|
408
410
|
public_activity
|
@@ -423,3 +425,6 @@ DEPENDENCIES
|
|
423
425
|
tinymce-rails!
|
424
426
|
uglifier (>= 1.3.0)
|
425
427
|
web-console (~> 2.0)
|
428
|
+
|
429
|
+
BUNDLED WITH
|
430
|
+
1.11.2
|
@@ -25,6 +25,10 @@ class Wiki::PagesController < ApplicationController
|
|
25
25
|
@space = @page.root
|
26
26
|
@subtree = @page.subtree.group_by(&:parent_id)
|
27
27
|
@last_updated = @page.last_updated
|
28
|
+
|
29
|
+
if params[:layout] == "minimal"
|
30
|
+
render layout: "minimal"
|
31
|
+
end
|
28
32
|
end
|
29
33
|
|
30
34
|
def history
|
data/config/application.rb
CHANGED
@@ -28,5 +28,12 @@ module Tawork
|
|
28
28
|
# config.i18n.default_locale = :de
|
29
29
|
config.assets.paths << Rails.root.join("app", "assets", "fonts")
|
30
30
|
config.assets.precompile += %w( .svg .eot .woff .ttf )
|
31
|
+
|
32
|
+
|
33
|
+
require 'pdfkit'
|
34
|
+
use PDFKit::Middleware
|
35
|
+
PDFKit.configure do |conf|
|
36
|
+
conf.wkhtmltopdf = '/usr/local/bin/wkhtmltopdf'
|
37
|
+
end
|
31
38
|
end
|
32
39
|
end
|
data/lib/tawork/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tawork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.50
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adnan Ali
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -31,8 +31,8 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
-
|
35
|
-
-
|
34
|
+
- .DS_Store
|
35
|
+
- .gitignore
|
36
36
|
- Gemfile
|
37
37
|
- Gemfile.lock
|
38
38
|
- MIT-LICENSE
|
@@ -318,12 +318,12 @@ require_paths:
|
|
318
318
|
- lib
|
319
319
|
required_ruby_version: !ruby/object:Gem::Requirement
|
320
320
|
requirements:
|
321
|
-
- -
|
321
|
+
- - ! '>='
|
322
322
|
- !ruby/object:Gem::Version
|
323
323
|
version: '0'
|
324
324
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
325
325
|
requirements:
|
326
|
-
- -
|
326
|
+
- - ! '>='
|
327
327
|
- !ruby/object:Gem::Version
|
328
328
|
version: '0'
|
329
329
|
requirements: []
|
@@ -333,3 +333,4 @@ signing_key:
|
|
333
333
|
specification_version: 4
|
334
334
|
summary: Wiki and Tickets
|
335
335
|
test_files: []
|
336
|
+
has_rdoc:
|