wagn 1.16.13 → 1.16.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wagn/application.rb +4 -2
- data/rails/controllers/card_controller.rb +1 -1
- data/test/test_helper.rb +1 -1
- 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: fe7e45ee8b6975ca10ad14a24bb77184ac7924ce
|
4
|
+
data.tar.gz: 0ac7e94a5403d0c5d8fd8c756516382221c91360
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a862786a7d50d72944490aec4155ca1b55f434c3cf1e60bd971c008e24b291a570d3f9161df20cc7ce5a6df9babc03a4e13396f12748129d92fd118a9a2c7da1
|
7
|
+
data.tar.gz: b44093733c9a77ce3e9a0664b13ac5a2f003b5b5082d982a36211b6a79f64eda525e78a2d384dffb954a640f09f3501efc75eebd7eac0fb49e578ca46b6d022c
|
data/lib/wagn/application.rb
CHANGED
@@ -49,8 +49,9 @@ module Wagn
|
|
49
49
|
config.assets.enabled = false
|
50
50
|
config.assets.version = '1.0'
|
51
51
|
|
52
|
-
config.
|
53
|
-
|
52
|
+
config.filter_parameters += [:password]
|
53
|
+
|
54
|
+
config.encoding = 'utf-8'
|
54
55
|
config.no_authentication = false
|
55
56
|
config.files_web_path = 'files'
|
56
57
|
|
@@ -60,6 +61,7 @@ module Wagn
|
|
60
61
|
config.revisions_per_page = 10
|
61
62
|
config.request_logger = false
|
62
63
|
config.performance_logger = false
|
64
|
+
config.sql_comments = true
|
63
65
|
config
|
64
66
|
end
|
65
67
|
end
|
@@ -228,8 +228,8 @@ class CardController < ActionController::Base
|
|
228
228
|
|
229
229
|
@card ||= Card.new
|
230
230
|
Card::Error.current = exception
|
231
|
-
|
232
231
|
view =
|
232
|
+
|
233
233
|
case exception
|
234
234
|
## arguably the view and status should be defined in the error class;
|
235
235
|
## some are redundantly defined in view
|
data/test/test_helper.rb
CHANGED
@@ -44,7 +44,7 @@ unless defined? TEST_ROOT
|
|
44
44
|
# find by naming convention in test data:
|
45
45
|
renames = { 'layout_type'=> 'Layout', 'search_type' => 'Search' }
|
46
46
|
if card = Card["Sample #{renames[cardtype] || cardtype}"]
|
47
|
-
url.gsub!(/:id/,"~#{card.id
|
47
|
+
url.gsub!(/:id/,"~#{card.id}")
|
48
48
|
else puts("ERROR finding 'Sample #{cardtype}'") end
|
49
49
|
end
|
50
50
|
url
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wagn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.
|
4
|
+
version: 1.16.14
|
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: 2015-11
|
14
|
+
date: 2015-12-11 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.16.
|
36
|
+
version: 1.16.14
|
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.16.
|
43
|
+
version: 1.16.14
|
44
44
|
description: a wiki approach to stuctured data, dynamic interaction, and web design
|
45
45
|
email:
|
46
46
|
- info@wagn.org
|