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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e473eb9550da267709664cbb3ce08fb40c90c92
4
- data.tar.gz: edcbe05bf48a8f157f0f7df766b5351d80bcfdbd
3
+ metadata.gz: fe7e45ee8b6975ca10ad14a24bb77184ac7924ce
4
+ data.tar.gz: 0ac7e94a5403d0c5d8fd8c756516382221c91360
5
5
  SHA512:
6
- metadata.gz: 26ece38ec313b7ccc52fc38f920cb2a67293fec2b56c5274c90107ad3202b5ab1076597d74b5e935fa97ca70ffd7224d4b5376f4bb4b6b657cf65ac6fa5b6a99
7
- data.tar.gz: fde98b8b4bb6e5b8fc45ec4da9df60899bdcf6d775ffe8129376de31cf8997674892862661718f5b10536347b265762dfb70219aee996d1e12faec368bccc270
6
+ metadata.gz: a862786a7d50d72944490aec4155ca1b55f434c3cf1e60bd971c008e24b291a570d3f9161df20cc7ce5a6df9babc03a4e13396f12748129d92fd118a9a2c7da1
7
+ data.tar.gz: b44093733c9a77ce3e9a0664b13ac5a2f003b5b5082d982a36211b6a79f64eda525e78a2d384dffb954a640f09f3501efc75eebd7eac0fb49e578ca46b6d022c
@@ -49,8 +49,9 @@ module Wagn
49
49
  config.assets.enabled = false
50
50
  config.assets.version = '1.0'
51
51
 
52
- config.encoding = "utf-8"
53
- config.filter_parameters += [:password]
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
@@ -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.to_s}")
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.13
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-23 00:00:00.000000000 Z
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.13
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.13
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