easy_yaml 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/linter.yml +9 -13
- data/.github/workflows/test.yml +8 -12
- data/.ruby-version +1 -1
- data/CHANGELOG.md +7 -0
- data/Gemfile +0 -1
- data/Gemfile.lock +31 -27
- data/easy_yaml.gemspec +1 -1
- data/lib/easy_yaml/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a894c6086d723faf05e84ef64d5acfb562a12a2b975c7189d3e4c8cef7e5f9bd
|
4
|
+
data.tar.gz: c14c5776a6fec76bee6f4e24d88babe640c7685d47c4d4fa50b1941d4f95ca93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 396025970a3cf3d472a65ba7134df6ba10ab2eed28aca1d7adb7fdbbc823cf674f0b1556e3d2fa3a8a7506060632fa9f5a79a5feebaa7e8c20788f7f38591b09
|
7
|
+
data.tar.gz: 15f6ecaa72b639dd844dfde126c62df71e8bd3a2f2ebce61d6643330c09de99cf57469ae37c9774cfba089f2c345009acee4703ac051af625b09064b3d29d5a0
|
@@ -1,23 +1,19 @@
|
|
1
|
-
name: Linter
|
2
|
-
|
3
1
|
on: [push]
|
4
2
|
|
3
|
+
name: Ruby linter (Rubocop)
|
4
|
+
|
5
5
|
jobs:
|
6
|
-
|
6
|
+
linter_rubocop:
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
|
9
9
|
steps:
|
10
10
|
- name: Checkout repo
|
11
|
-
uses: actions/checkout@
|
11
|
+
uses: actions/checkout@main
|
12
12
|
|
13
13
|
- name: Set up Ruby
|
14
|
-
uses:
|
15
|
-
|
16
|
-
|
17
|
-
run: |
|
18
|
-
gem install bundler
|
19
|
-
bundle install --jobs 4 --retry 3
|
14
|
+
uses: ruby/setup-ruby@master
|
15
|
+
with:
|
16
|
+
bundler-cache: true
|
20
17
|
|
21
|
-
- name: Run
|
22
|
-
run:
|
23
|
-
bundle exec rubocop
|
18
|
+
- name: Run Rubocop
|
19
|
+
run: bundle exec rubocop --parallel
|
data/.github/workflows/test.yml
CHANGED
@@ -1,23 +1,19 @@
|
|
1
|
-
name: Tests
|
2
|
-
|
3
1
|
on: [push]
|
4
2
|
|
3
|
+
name: Tests
|
4
|
+
|
5
5
|
jobs:
|
6
|
-
|
6
|
+
test:
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
|
9
9
|
steps:
|
10
10
|
- name: Checkout repo
|
11
|
-
uses: actions/checkout@
|
11
|
+
uses: actions/checkout@main
|
12
12
|
|
13
13
|
- name: Set up Ruby
|
14
|
-
uses:
|
15
|
-
|
16
|
-
|
17
|
-
run: |
|
18
|
-
gem install bundler
|
19
|
-
bundle install --jobs 4 --retry 3
|
14
|
+
uses: ruby/setup-ruby@master
|
15
|
+
with:
|
16
|
+
bundler-cache: true
|
20
17
|
|
21
18
|
- name: Run tests
|
22
|
-
run:
|
23
|
-
bundle exec rspec
|
19
|
+
run: bundle exec rspec
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.2.2
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,53 +1,58 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
easy_yaml (0.
|
4
|
+
easy_yaml (0.4.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
ast (2.4.2)
|
10
|
-
|
11
|
-
diff-lcs (1.4.4)
|
10
|
+
diff-lcs (1.5.0)
|
12
11
|
json (2.6.3)
|
13
|
-
parallel (1.
|
14
|
-
parser (3.2.
|
12
|
+
parallel (1.23.0)
|
13
|
+
parser (3.2.2.1)
|
15
14
|
ast (~> 2.4.1)
|
16
15
|
rainbow (3.1.1)
|
17
16
|
rake (13.0.6)
|
18
|
-
regexp_parser (2.
|
17
|
+
regexp_parser (2.8.0)
|
19
18
|
rexml (3.2.5)
|
20
|
-
rspec (3.
|
21
|
-
rspec-core (~> 3.
|
22
|
-
rspec-expectations (~> 3.
|
23
|
-
rspec-mocks (~> 3.
|
24
|
-
rspec-core (3.
|
25
|
-
rspec-support (~> 3.
|
26
|
-
rspec-expectations (3.
|
19
|
+
rspec (3.12.0)
|
20
|
+
rspec-core (~> 3.12.0)
|
21
|
+
rspec-expectations (~> 3.12.0)
|
22
|
+
rspec-mocks (~> 3.12.0)
|
23
|
+
rspec-core (3.12.2)
|
24
|
+
rspec-support (~> 3.12.0)
|
25
|
+
rspec-expectations (3.12.3)
|
27
26
|
diff-lcs (>= 1.2.0, < 2.0)
|
28
|
-
rspec-support (~> 3.
|
29
|
-
rspec-mocks (3.
|
27
|
+
rspec-support (~> 3.12.0)
|
28
|
+
rspec-mocks (3.12.5)
|
30
29
|
diff-lcs (>= 1.2.0, < 2.0)
|
31
|
-
rspec-support (~> 3.
|
32
|
-
rspec-support (3.
|
33
|
-
rubocop (1.
|
30
|
+
rspec-support (~> 3.12.0)
|
31
|
+
rspec-support (3.12.0)
|
32
|
+
rubocop (1.51.0)
|
34
33
|
json (~> 2.3)
|
35
34
|
parallel (~> 1.10)
|
36
35
|
parser (>= 3.2.0.0)
|
37
36
|
rainbow (>= 2.2.2, < 4.0)
|
38
37
|
regexp_parser (>= 1.8, < 3.0)
|
39
38
|
rexml (>= 3.2.5, < 4.0)
|
40
|
-
rubocop-ast (>= 1.
|
39
|
+
rubocop-ast (>= 1.28.0, < 2.0)
|
41
40
|
ruby-progressbar (~> 1.7)
|
42
41
|
unicode-display_width (>= 2.4.0, < 3.0)
|
43
|
-
rubocop-ast (1.
|
44
|
-
parser (>= 3.
|
45
|
-
rubocop-
|
42
|
+
rubocop-ast (1.28.1)
|
43
|
+
parser (>= 3.2.1.0)
|
44
|
+
rubocop-capybara (2.18.0)
|
45
|
+
rubocop (~> 1.41)
|
46
|
+
rubocop-factory_bot (2.23.1)
|
47
|
+
rubocop (~> 1.33)
|
48
|
+
rubocop-performance (1.18.0)
|
46
49
|
rubocop (>= 1.7.0, < 2.0)
|
47
50
|
rubocop-ast (>= 0.4.0)
|
48
|
-
rubocop-rspec (2.
|
49
|
-
rubocop (~> 1.
|
50
|
-
|
51
|
+
rubocop-rspec (2.22.0)
|
52
|
+
rubocop (~> 1.33)
|
53
|
+
rubocop-capybara (~> 2.17)
|
54
|
+
rubocop-factory_bot (~> 2.22)
|
55
|
+
ruby-progressbar (1.13.0)
|
51
56
|
unicode-display_width (2.4.2)
|
52
57
|
|
53
58
|
PLATFORMS
|
@@ -55,7 +60,6 @@ PLATFORMS
|
|
55
60
|
|
56
61
|
DEPENDENCIES
|
57
62
|
bundler
|
58
|
-
byebug
|
59
63
|
easy_yaml!
|
60
64
|
rake
|
61
65
|
rspec
|
@@ -64,4 +68,4 @@ DEPENDENCIES
|
|
64
68
|
rubocop-rspec
|
65
69
|
|
66
70
|
BUNDLED WITH
|
67
|
-
2.4.
|
71
|
+
2.4.13
|
data/easy_yaml.gemspec
CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
require 'easy_yaml/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
spec.required_ruby_version = '>= 3.
|
6
|
+
spec.required_ruby_version = '>= 3.2.2'
|
7
7
|
|
8
8
|
spec.name = 'easy_yaml'
|
9
9
|
spec.version = EasyYAML::VERSION
|
data/lib/easy_yaml/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_yaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Becker
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: 'EasyYAML reads a file from a path and uses YAML.safe_load to safely
|
14
14
|
load its contents and optionally works with Rails.root '
|
@@ -53,14 +53,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
53
|
requirements:
|
54
54
|
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 3.
|
56
|
+
version: 3.2.2
|
57
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
requirements: []
|
63
|
-
rubygems_version: 3.4.
|
63
|
+
rubygems_version: 3.4.13
|
64
64
|
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: A simple way to safely load a YAML file
|