support_table_data 1.2.2 → 1.2.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 +4 -4
- data/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/lib/support_table_data.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c7ebdaec82fe24f35650ee6906331233abaf106ec8627e92c003ad4c08692a1
|
|
4
|
+
data.tar.gz: 95ec232e9ecb03ae9300b0f799c0424beaa7d7c564591ddc54e9dec0b45479b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6688998b029d42da0e82d5046386c033e8472ba49f869d3a573ca339c169bae3b5801c23d9018a9e4472427035e2a61883207919935f822c2115f98d4efd45b1
|
|
7
|
+
data.tar.gz: '02398f8ed62df1a2c035aeab8b00ed453a1185c9e03717eb98af60aee429bc7d523343b1f5ea346bfa072a85ac6b5e29839137713e6f096def8d01f093547d76'
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## 1.2.3
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Made loading data from the data files thread safe.
|
|
12
|
+
|
|
7
13
|
## 1.2.2
|
|
8
14
|
|
|
9
15
|
### Fixed
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.3
|
data/lib/support_table_data.rb
CHANGED
|
@@ -370,7 +370,8 @@ module SupportTableData
|
|
|
370
370
|
# Eager load any classes defined in the default data directory by guessing class names
|
|
371
371
|
# from the file names.
|
|
372
372
|
if SupportTableData.data_directory && File.exist?(SupportTableData.data_directory) && File.directory?(SupportTableData.data_directory)
|
|
373
|
-
Dir.
|
|
373
|
+
Dir.glob(File.join(SupportTableData.data_directory, "**", "*")).sort.each do |file_name|
|
|
374
|
+
file_name = file_name.delete_prefix("#{SupportTableData.data_directory}#{File::SEPARATOR}")
|
|
374
375
|
class_name = file_name.sub(/\.[^.]*/, "").singularize.camelize
|
|
375
376
|
class_name.safe_constantize
|
|
376
377
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: support_table_data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Durand
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-08-
|
|
11
|
+
date: 2024-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|