summaryrefslogtreecommitdiff
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorDaniel Doubrovkine (dB.) @dblockdotorg <dblock@dblock.org>2019-03-22 15:04:22 -0400
committerMichael Herold <github@michaeljherold.com>2019-03-22 14:04:22 -0500
commit30ab2a3cb01fe9d0fc2def77868d7996ce4e873e (patch)
treefe8207b64cc7016844b94e9f01ae27740f540fbe /.rubocop_todo.yml
parentdc64b1024cca1916e49b12902c82c3e1560fef39 (diff)
downloadhashie-30ab2a3cb01fe9d0fc2def77868d7996ce4e873e.tar.gz
Allow options on Mash.load (#474)
`Mash.load` uses the Ruby standard library to load Yaml-serialized files into a Mash. The original implementation used `YAML.load` for this purpose. However, that method is inherently unsafe so we switched to using `YAML.safe_load`. Safely loading Yaml files has many different domain-specific configuration flags that we did not, by default, expose. This change introduces the ability to configure the safe loading of Yaml files so that all types of Yaml can be loaded when necessary using the flags from the standard library. This implementation preserves the backwards-compatibility with the prior implementation so that it should not require updates from users of the current `Mash.load` behavior. For those who this change affects, we included upgrading documentation to ease the transition.
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 944b8dc..4f87d3b 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2018-09-30 14:46:03 -0500 using RuboCop version 0.52.1.
+# on 2019-03-22 11:21:24 -0400 using RuboCop version 0.52.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@@ -19,7 +19,7 @@ Metrics/ClassLength:
Metrics/CyclomaticComplexity:
Max: 11
-# Offense count: 17
+# Offense count: 19
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 28
@@ -28,6 +28,6 @@ Metrics/MethodLength:
Metrics/PerceivedComplexity:
Max: 10
-# Offense count: 37
+# Offense count: 39
Style/Documentation:
Enabled: false