decko 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25be09f089dcb1105f21d9c37c4b4d62246e1d66
4
- data.tar.gz: b81fc0417586e3d2c817f38776a72d26b9ac0c1b
3
+ metadata.gz: 0d72bcc34754b94ac06c7774c1d99132e04810d3
4
+ data.tar.gz: e659b09ae7eb62043fb3531a943524fd00e0a9fc
5
5
  SHA512:
6
- metadata.gz: f7cb7af63f6a29ff8fedbac65cad06137a2659c6b21c32788de6a420ef5476ce8da1d0bb4081cc84ac312b98b9d981f9059f886a075613f7e583d93e7c580ba0
7
- data.tar.gz: c7733d3d88ee69f7bc7970f1a650eaf6762959eaae7ea1437ddbf17e5143b34dab0cc5b158ffa7e060b29ee8cc5ba2389847b464c58ecdc5872a106fb1ff0d75
6
+ metadata.gz: a2718b650b207f5b7dfc65be95235a0952e6b4dae198b8ad5ac6975d5107169084b125335a063abc62e0c5e6c9f8486f8986c1c31778253f88cb2eafb42082d6
7
+ data.tar.gz: 88e48c69ab9f4c3c4167915264c48dd48fe68f8faaa71cf2be6cfa94906a00bde0b37c834a4b6586d1b410ad379aca23237ca07104938c0464ebce8f9d2d38f3
@@ -34,4 +34,6 @@ Decko.application.class.configure do
34
34
  config.action_mailer.delivery_method = :test
35
35
 
36
36
  config.use_transactional_fixtures = false
37
+
38
+ config.raise_all_rendering_errors = true
37
39
  end
@@ -56,6 +56,8 @@ Decko.application.class.configure do
56
56
  # Print deprecation notices to the stderr
57
57
  config.active_support.deprecation = :stderr
58
58
 
59
+ config.raise_all_rendering_errors = true
60
+
59
61
  config.active_job.queue_adapter = :delayed_job
60
62
  # Note: With delay_jobs set to false integrate_with_delay events don't run
61
63
  # in a separate process and hence can behave differently from a real
@@ -17,7 +17,7 @@ gem '<%= database_gemfile_entry.name %>'<%= %(, '#{database_gemfile_entry.versio
17
17
  gem 'thin'
18
18
  # gem 'unicorn'
19
19
 
20
- # To set up a production webserver, see http://wagn.org/wagn_in_production
20
+ # To set up a production webserver, see https://decko.org/wagn_in_production
21
21
 
22
22
 
23
23
  # BACKGROUNDING
@@ -121,11 +121,13 @@ class CardController < ActionController::Base
121
121
  end
122
122
  end
123
123
 
124
- rescue_from StandardError do |exception|
125
- @card ||= Card.new
126
- Card::Error.current = exception
127
- error = Card::Error.cardify_exception exception, card
128
- error.report
129
- show error.class.view, error.class.status_code
124
+ unless Rails.env.development?
125
+ rescue_from StandardError do |exception|
126
+ @card ||= Card.new
127
+ Card::Error.current = exception
128
+ error = Card::Error.cardify_exception exception, card
129
+ error.report
130
+ show error.class.view, error.class.status_code
131
+ end
130
132
  end
131
133
  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.6.2
4
+ version: 0.6.3
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-09-25 00:00:00.000000000 Z
14
+ date: 2018-11-07 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: card
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 1.96.2
22
+ version: 1.96.3
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.96.2
29
+ version: 1.96.3
30
30
  description: a wiki approach to stuctured data, dynamic interaction, and web design
31
31
  email:
32
32
  - info@decko.org