built_in_data 1.1.3 → 1.1.4

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: ba33d9636f7931ab8ee7ac0040be19282ec100cd12e1e7e6519d82bcd4d3fced
4
- data.tar.gz: ccb562518b6581981b162938352d2728ddb075926bf5d297a950f72b2ce22d78
3
+ metadata.gz: 9394bd2479dccf207f906c6ca48653287a621c5d6522306b770e556fce552d56
4
+ data.tar.gz: 9e1d7d9e4ef5706036452492f31bdd1061b79d8fc048c8cd891a1c68bb9f1793
5
5
  SHA512:
6
- metadata.gz: a79fed81f391142d2b7456c6899a3650e7aef87a84912bb538f78887e488f55b39d21bbe5a96194d150e25d238894c3c99255666b120538b1029e335b32e8433
7
- data.tar.gz: 4989702b3a19d9b9c3c9f27fed927c1ad937b6f683fdc2d415a6fe468131598658cec085788794d1d856ce71043b2d98959bddd548da8b90eaecb086e1913f1e
6
+ metadata.gz: 638ce6c855a13e1254ff71a0e3fe5888d7c4c8996d70277e58ea2636f470dabde48922bca6aa60c6459487d0604329a4f8d9d49c266732c2dcd192281f49e874
7
+ data.tar.gz: 6d737a730d0b4a63b7393babcb4de49fdff07e0b1a556bd07d436769c97d3d8c6bf05ee9befea440798a580ad19a2f291f32f9c05529cae747b6e65ed972006a
@@ -1,3 +1,3 @@
1
1
  module BuiltInData
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
data/lib/built_in_data.rb CHANGED
@@ -41,8 +41,12 @@ module BuiltInData
41
41
  end
42
42
 
43
43
  def load_yaml_data
44
- # allow a standard key to be used for doing defaults in YAML
45
- YAML.load(read_and_erb_process_yaml_file).except('DEFAULTS')
44
+ # allow a standard key to be used for defaults in YAML files
45
+ YAML.safe_load(
46
+ read_and_erb_process_yaml_file,
47
+ permitted_classes: [Date],
48
+ aliases: true
49
+ ).except('DEFAULTS')
46
50
  end
47
51
 
48
52
  def read_and_erb_process_yaml_file