coaster 1.3.21 → 1.3.23

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
  SHA256:
3
- metadata.gz: 5501404152f92b900c7d04d28bbe983213efcd724983fd213f75a64b6eef306e
4
- data.tar.gz: b28d89b56ef7f44e603f5316fc095ac1057cd01681ddbb4b2ab44bc66a7e25c1
3
+ metadata.gz: b0dc7311128a11f50e6fbc0c3971f5819f00ea0dc86e04e187004b30b98b2d97
4
+ data.tar.gz: 3364c39308fb0a192f58523115b359bf9ff1653edd3a0a4dd6a93aa9abb7c37d
5
5
  SHA512:
6
- metadata.gz: adb104de9a33c9efe6c33b4a9395588989f3dd9540a696a60803a939fd8f9db864e59ca178bfadb4c164e4c7e441d972c59a7559e42a545d2494c28b2c4e7e07
7
- data.tar.gz: cd0ed236d85f0f0e79b026797c7fc8c2f3cda225a9a92908c24739a3160cc4e9183cd951ac7191bf3634eccdf9386e5d21c9e136456d3f012e91411a6c4889ee
6
+ metadata.gz: 2bf9af511c19b64ab2990965300644cd75954b1f03414815c39d87e0f9de3416da3870e3a521f489ca72602b823f38884700caa7395285da3f01a6ffb5ad7270
7
+ data.tar.gz: 32ab934501eab4fc6a8703ab2397e7e715496b819cc1621cb978fc74bfe5b47606ab20402e6f9812dc0e181d73ced0a6ed170e35b07e7c2d4429407e56230b5f
@@ -278,7 +278,7 @@ class StandardError
278
278
  dh = _dh || to_inspection_hash(options: options, _h: {}.with_indifferent_access, _depth: 0)
279
279
  lg = "[#{dh[:type]}] status:#{dh[:status]}"
280
280
  lg += "\n MESSAGE: #{dh[:message]&.gsub(/\n/, "\n ")}"
281
- dh[:instance_variables].each do |var, val|
281
+ dh[:instance_variables]&.each do |var, val|
282
282
  lg += "\n #{var}: #{val}"
283
283
  end
284
284
  if (bt = dh[:backtrace] || [])
@@ -1,10 +1,12 @@
1
1
  require 'active_support/backtrace_cleaner'
2
2
 
3
3
  class ActiveSupport::BacktraceCleaner
4
+ cattr_accessor :minimum_first, default: 10
5
+
4
6
  attr_writer :minimum_first
5
7
 
6
8
  def minimum_first
7
- @minimum_first ||= 10
9
+ @minimum_first ||= self.class.minimum_first
8
10
  end
9
11
 
10
12
  private
@@ -1,3 +1,3 @@
1
1
  module Coaster
2
- VERSION = '1.3.21'
2
+ VERSION = '1.3.23'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.21
4
+ version: 1.3.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - buzz jung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-16 00:00:00.000000000 Z
11
+ date: 2022-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n