atatus 2.2.0 → 2.2.1

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
  SHA256:
3
- metadata.gz: e16d23e821e766b1cca553a2957eda55f3c7fc32e5bd39f11c8c8921b4d0fb80
4
- data.tar.gz: 0f32d4913f859a284aec06e8a2a539a771ff0c58e17571b9ba563a381a3653be
3
+ metadata.gz: ea5141dce6994d4be6f81f07c03c02f0f887e35043866324933d0685ac2035c6
4
+ data.tar.gz: bdcad2fc202b6d7d1c942782744114bd5b05c627ad0b5c036521ef34095d2a3d
5
5
  SHA512:
6
- metadata.gz: df6054fadf85753da0a9459cad54ab3efcfd2e031bd9e8d9eb89bb608fb54cd75f03c13abdc1f404f2c2bf2f8d28bc028fa54b4efcd0fd5a6b69d4a0cf56545b
7
- data.tar.gz: 7574c2d6e0b872980b339c8d8cb7e185d2e86651bdc7a1c8290696e6df8e22442adb342ec859a5fca101955e1c357f3a339a23bf0db771ced38c7b3dfb5d92e7
6
+ metadata.gz: b7f2771481a672d9911c370489c13c4380cf00e0e99ba50c4916d71e0e2333191fca443fff66f9eda8dc7a085c4556d8db0d45b300d317a2ef6d9f79935fd57b
7
+ data.tar.gz: 13d69bb85b3edf99667b6eb70b1dc01d056f82d5abfd2e11936bdb5d363541322e2893d04741d3d90d42646d035e11c60983c9d115e8895c50e4aa77d6a5313d
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 2.2.1 (Wed, 29 Apr 2026)
8
+
9
+ - Bug Fixes
10
+
7
11
  ## 2.2.0 (Wed, 29 Apr 2026)
8
12
 
9
13
  - Added support for default ruby exceptions.
data/lib/atatus/config.rb CHANGED
@@ -152,7 +152,7 @@ module Atatus
152
152
  @__view_paths ||= []
153
153
  @__root_path ||= Dir.pwd
154
154
 
155
- self.filter_exception_types = self.get_ignore_exceptions(:sinatra)
155
+ self.filter_exception_types.concat(self.get_default_ignore_exceptions(:sinatra))
156
156
  end
157
157
 
158
158
  attr_accessor :__view_paths, :__root_path, :logger
@@ -288,7 +288,7 @@ module Atatus
288
288
  begin
289
289
  read = File.read(config_file)
290
290
  evaled = parse_erb(read)
291
-
291
+
292
292
  # YAML.safe_load(evaled)
293
293
 
294
294
  loaded_config = YAML.load(evaled)
@@ -296,7 +296,7 @@ module Atatus
296
296
  if loaded_config.key?("default")
297
297
  unless loaded_config.key?(env)
298
298
  warn "[Atatus] ERROR : atatus.yml does not include '#{env}' section!"
299
- loaded_config = loaded_config["default"]
299
+ loaded_config = loaded_config["default"]
300
300
  end
301
301
  end
302
302
 
@@ -358,7 +358,7 @@ module Atatus
358
358
  self.__root_path = Dir.pwd
359
359
 
360
360
  if self.filter_exception_types.nil? || self.filter_exception_types.empty?
361
- self.filter_exception_types = get_ignore_exceptions(:sinatra)
361
+ self.filter_exception_types = get_default_ignore_exceptions(:sinatra)
362
362
  end
363
363
  end
364
364
 
@@ -372,9 +372,9 @@ module Atatus
372
372
  self.__root_path = ::Rails.root.to_s
373
373
  self.__view_paths = app.config.paths['app/views'].existent +
374
374
  [::Rails.root.to_s]
375
-
375
+
376
376
  if self.filter_exception_types.nil? || self.filter_exception_types.empty?
377
- self.filter_exception_types = get_ignore_exceptions(:rails)
377
+ self.filter_exception_types = get_default_ignore_exceptions(:rails)
378
378
  end
379
379
  end
380
380
 
@@ -390,7 +390,7 @@ module Atatus
390
390
  str&.gsub('::', '_')
391
391
  end
392
392
 
393
- def get_ignore_exceptions(framework)
393
+ def get_default_ignore_exceptions(framework)
394
394
  rails_exceptions = [
395
395
  "AbstractController::ActionNotFound",
396
396
  "ActionController::ParameterMissing",
@@ -19,5 +19,5 @@
19
19
 
20
20
  module Atatus
21
21
  AGENT_NAME = 'Ruby'
22
- VERSION = '2.2.0'
22
+ VERSION = '2.2.1'
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atatus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atatus