decko 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +9 -5
- data/lib/decko/engine.rb +1 -1
- data/lib/decko/generators/decko/templates/config/routes.erb +7 -8
- data/rails/application-routes.rb +1 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b75428e7935b6be140d522f5511a2d57de728fc
|
4
|
+
data.tar.gz: f9401367407b19582396262ed743b2344f442e24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 571e88e1e281fe16577db1eed79af509599cf0f25f5bb4928956ccca95668e3ee8cc0249d6b230b04ae2a8a91d2f507a3043ad34ad5492ca8695921234007b74
|
7
|
+
data.tar.gz: 6a38b228c19e7bed5f75a3f17f7245a7a3d9c458eb3ec3a77aed84df9ee858a8dea7523db39763bf005251599b217f50503e55369a9c02836fb20df5c1939de4
|
data/README.rdoc
CHANGED
@@ -17,13 +17,16 @@ Try it out!
|
|
17
17
|
|
18
18
|
==System Requirements
|
19
19
|
|
20
|
-
|
20
|
+
|
21
|
+
==Installation
|
22
|
+
|
23
|
+
===1. install dependencies
|
24
|
+
|
25
|
+
Ruby[http://www.ruby-lang.org/en/]:: version 2.3.1 or higher
|
21
26
|
Bundler[http://gembundler.com/]:: version 1.0 or higher
|
22
27
|
ImageMagick[http://www.imagemagick.org/]::
|
23
28
|
A database engine:: Either MySQL[http://www.mysql.com/] or PostgreSQL[http://www.postgresql.org/]
|
24
|
-
Node.js[https://nodejs.org/]
|
25
|
-
|
26
|
-
==Installation
|
29
|
+
A JavaScript runtime:: Node.js[https://nodejs.org/] or other[https://github.com/sstephenson/execjs]
|
27
30
|
|
28
31
|
===1. install the gem
|
29
32
|
|
@@ -57,7 +60,8 @@ To fire up the default, built-in WEBrick server, just run:
|
|
57
60
|
|
58
61
|
...and point your browser to http://localhost:3000 (unless otherwise configured).
|
59
62
|
|
60
|
-
|
63
|
+
For more information, see http://wagn.org/get_started.
|
64
|
+
|
61
65
|
|
62
66
|
|
63
67
|
==Upgrading
|
data/lib/decko/engine.rb
CHANGED
@@ -40,7 +40,7 @@ module Decko
|
|
40
40
|
Engine.paths["request_log"] = Decko.paths["request_log"]
|
41
41
|
Engine.paths["log"] = Decko.paths["log"]
|
42
42
|
Engine.paths["lib/tasks"] = Decko.paths["lib/tasks"]
|
43
|
-
Engine.paths["config/routes"] = Decko.paths["config/routes"]
|
43
|
+
Engine.paths["config/routes.rb"] = Decko.paths["config/routes.rb"]
|
44
44
|
end
|
45
45
|
|
46
46
|
initializer :connect_on_load do
|
@@ -1,12 +1,11 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
2
|
|
3
3
|
Decko.application.routes.draw do
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
10
|
-
|
11
|
-
mount Decko::Engine => "#{rel_root}/"
|
4
|
+
<% if @include_jasmine_engine %>
|
5
|
+
if !Rails.env.production? && Object.const_defined?( :JasmineRails )
|
6
|
+
engine = Object.const_get(:JasmineRails).const_get :Engine
|
7
|
+
mount engine => "#{rel_root}/specs"
|
8
|
+
end
|
9
|
+
<% end %>
|
10
|
+
mount Decko::Engine => "/"
|
12
11
|
end
|
data/rails/application-routes.rb
CHANGED
@@ -1,8 +1,3 @@
|
|
1
1
|
Decko.application.routes.draw do
|
2
|
-
|
3
|
-
if !Rails.env.production? && Object.const_defined?(:JasmineRails)
|
4
|
-
engine = Object.const_get(:JasmineRails).const_get :Engine
|
5
|
-
mount engine => "#{rel_root}/specs"
|
6
|
-
end
|
7
|
-
mount Decko::Engine => "#{rel_root}/"
|
2
|
+
mount Decko::Engine => "/"
|
8
3
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decko
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-
|
14
|
+
date: 2018-03-01 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -33,14 +33,14 @@ dependencies:
|
|
33
33
|
requirements:
|
34
34
|
- - '='
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 1.93.
|
36
|
+
version: 1.93.12
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - '='
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.93.
|
43
|
+
version: 1.93.12
|
44
44
|
description: a wiki approach to stuctured data, dynamic interaction, and web design
|
45
45
|
email:
|
46
46
|
- info@decko.org
|