yaml_store_unsafe_load 0.1.0 → 0.1.2

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: 17ef1f5602090b780f2a615b4751fd8e3679b5191e7a09155f94d39182231beb
4
- data.tar.gz: 840e7ceff599e3b021678e2fee0b6719b3b65053e1618870b1c0f945182d8e78
3
+ metadata.gz: 0f3643d3401e4565bb5513b011ffd54936b9955ad3703375198b35b16e228ade
4
+ data.tar.gz: 815cbd15cdec88bf470ef56fb1237b5d308f2cfe9ed2f085bd7e5e0eff471719
5
5
  SHA512:
6
- metadata.gz: 59ccfaf7da9b16aa805a40749f7b2893be3dfc5b7a2c500092d3178213adfa6007932645e458d469573d59ab8465e9c93867b30757c05fe0db523cbe71582115
7
- data.tar.gz: a4382e00ed5534d15fd2febb090aee06fcd283c5f914a86de1d30cf31d55797960a888b30d086d470f6147a1de9baaf5efdc809c1f273f990ec28eb8fd6ad9a3
6
+ metadata.gz: 9d5139c2b9ef4f762550a6498e3bdafcbf6423900797548cdd740ab40f7c731705b372760e599238698b63bde7d809068cd1dbd878fc786540dcf03aebb3a892
7
+ data.tar.gz: 803106615859b02f3cdc72154495b8a75681daa64825aa8eb50780a8c5932f54d520e84f845b754f76a8e3786451a41be28abf9cd95e90ceb2e8262550db0f8a
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,20 @@
1
- # YamlStoreUnsafeLoad
2
-
1
+ # yaml_store_unsafe_load
3
2
  yaml_store_unsafe_load - patch to use unsafe_load instead of safe_load in yaml/store
4
3
 
5
- I created this to fix my app that uses yaml/store, which was broken in ruby 3.4. Since this is a patch that replaces a safe method with an unsafe method, you should fully understand what you are doing before using it.
4
+ 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 one, so you need to fully understand what you are doing before using it.
6
5
 
7
6
  ## Installation
8
7
 
9
8
  Install the gem and add to the application's Gemfile by executing:
10
9
 
11
10
  ```bash
12
- bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
11
+ bundle add yaml_store_unsafe_load
13
12
  ```
14
13
 
15
14
  If bundler is not being used to manage dependencies, install the gem by executing:
16
15
 
17
16
  ```bash
18
- gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
17
+ gem install yaml_store_unsafe_load
19
18
  ```
20
19
 
21
20
  ## Usage
@@ -39,3 +38,7 @@ end
39
38
 
40
39
  Bug reports and pull requests are welcome on GitHub at https://github.com/s3fxn/yaml_store_unsafe_load.
41
40
 
41
+ ## License
42
+
43
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
44
+
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module YamlStoreUnsafeLoad
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: true
1
+ # frozen_string_literal: false
2
2
 
3
3
  require_relative "yaml_store_unsafe_load/version"
4
4
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaml_store_unsafe_load
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - s3fxn
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-01-12 00:00:00.000000000 Z
10
+ date: 2025-01-19 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  email:
13
13
  - sssfxn@gmail.com
@@ -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