activeyaml 1.2.3 → 1.3.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/lib/active_yaml/parser.rb +2 -2
- data/lib/active_yaml/version.rb +1 -1
- metadata +5 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27e387cafdd474d3fc3e7c8ca875412bcae7c46954630e66a04a93769f0b33a1
|
4
|
+
data.tar.gz: aac46f87210d62555b5b5d3b17f41f43674f13cfa2660b9645884a9a3003a665
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e12bf026e57734e77756c11123a0d582989f3bfcc25064af2b00cdefe34e1fd4fcab792f37b4c7df158bb8410cd7908ef24c75cd0751c7f50c39e9356d653b70
|
7
|
+
data.tar.gz: 1ea780f520206155c91983e050605e0ccf4d3bdd31bda25cb39e9f240919d6b22f715babd739b3b3390ed8d25f76d3b846c6a6d667d45786b900da97a8e37cf9
|
data/lib/active_yaml/parser.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'yaml'
|
4
4
|
|
5
5
|
module ActiveYaml
|
6
6
|
# The main parser of Yaml files, uses psych under the hood
|
7
7
|
class Parser
|
8
8
|
def self.parse(file_path)
|
9
|
-
|
9
|
+
YAML.safe_load_file(file_path)
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
data/lib/active_yaml/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeyaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kirill Leonov
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: psych
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '5.1'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '5.1'
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
|
+
dependencies: []
|
27
12
|
description: framework for convenient and complete work with Yaml files
|
28
13
|
email: leonov7632@gmail.com
|
29
14
|
executables: []
|
@@ -45,7 +30,6 @@ metadata:
|
|
45
30
|
homepage_uri: https://github.com/leonovk/activeyaml
|
46
31
|
source_code_uri: https://github.com/leonovk/activeyaml
|
47
32
|
documentation_uri: https://github.com/leonovk/activeyaml
|
48
|
-
post_install_message:
|
49
33
|
rdoc_options: []
|
50
34
|
require_paths:
|
51
35
|
- lib
|
@@ -53,15 +37,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
37
|
requirements:
|
54
38
|
- - ">="
|
55
39
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
40
|
+
version: '3.0'
|
57
41
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
42
|
requirements:
|
59
43
|
- - ">="
|
60
44
|
- !ruby/object:Gem::Version
|
61
45
|
version: '0'
|
62
46
|
requirements: []
|
63
|
-
rubygems_version: 3.1
|
64
|
-
signing_key:
|
47
|
+
rubygems_version: 3.7.1
|
65
48
|
specification_version: 4
|
66
49
|
summary: yaml object-relational mapping
|
67
50
|
test_files: []
|