yaml_store_unsafe_load 0.1.0 → 0.1.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 +4 -4
- data/LICENSE.txt +21 -0
- data/README.md +8 -4
- data/lib/yaml_store_unsafe_load/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28d9fb5f0a49362341a50adab495636558a36b2a974995ed75a15b06925ce790
|
4
|
+
data.tar.gz: d4f19c329e537f3b2b717724b002e9b357c5639ace787b16de9237b213e4b0bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a21fd47ecdc4239c43f7d79947821e0709805709531ad55684faf9689e86dbf26b6b6eab5ae55190ca0d0aad79d29828aa6b7f8b9131344184870655f84adc59
|
7
|
+
data.tar.gz: 392d062d92f6aa2152605f621560424081a38ade3be867816fb2a61bcd57cfaabbc97cf6ce407e60e0b9c00a899d0a342abb40e5d5e387dbae1efa49d6dbae15
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2025 s3fxn
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
#
|
1
|
+
# yaml_store_unsafe_load
|
2
2
|
|
3
3
|
yaml_store_unsafe_load - patch to use unsafe_load instead of safe_load in yaml/store
|
4
4
|
|
5
|
-
I created this to fix my app that uses yaml/store, which was broken in ruby 3.4.
|
5
|
+
I created this to fix my app that uses yaml/store, which was broken in ruby 3.4. It replaces a safe method with an unsafe method, so you need to fully understand what you are doing before using it.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
9
|
Install the gem and add to the application's Gemfile by executing:
|
10
10
|
|
11
11
|
```bash
|
12
|
-
bundle add
|
12
|
+
bundle add yaml_store_unsafe_load
|
13
13
|
```
|
14
14
|
|
15
15
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
16
|
|
17
17
|
```bash
|
18
|
-
gem install
|
18
|
+
gem install yaml_store_unsafe_load
|
19
19
|
```
|
20
20
|
|
21
21
|
## Usage
|
@@ -39,3 +39,7 @@ end
|
|
39
39
|
|
40
40
|
Bug reports and pull requests are welcome on GitHub at https://github.com/s3fxn/yaml_store_unsafe_load.
|
41
41
|
|
42
|
+
## License
|
43
|
+
|
44
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
45
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaml_store_unsafe_load
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- s3fxn
|
@@ -15,13 +15,15 @@ executables: []
|
|
15
15
|
extensions: []
|
16
16
|
extra_rdoc_files: []
|
17
17
|
files:
|
18
|
+
- LICENSE.txt
|
18
19
|
- README.md
|
19
20
|
- Rakefile
|
20
21
|
- lib/yaml_store_unsafe_load.rb
|
21
22
|
- lib/yaml_store_unsafe_load/version.rb
|
22
23
|
- sig/yaml_store_unsafe_load.rbs
|
23
24
|
homepage: https://github.com/s3fxn/yaml_store_unsafe_load
|
24
|
-
licenses:
|
25
|
+
licenses:
|
26
|
+
- MIT
|
25
27
|
metadata:
|
26
28
|
allowed_push_host: https://rubygems.org
|
27
29
|
homepage_uri: https://github.com/s3fxn/yaml_store_unsafe_load
|