easy_yaml 0.3.0 → 0.4.1
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 +8 -1
- data/Gemfile +0 -1
- data/Gemfile.lock +31 -27
- data/easy_yaml.gemspec +2 -2
- data/lib/easy_yaml/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b1b65501e4863052dcc6673976be199459bd35b5edd9c234e0fb489dfbf60e4
|
4
|
+
data.tar.gz: 9f5a9cc19b627c0c85a6d7164d71a3d6c18a13f52d90382096e0bc3b40119750
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3993bf23b04cd67331b1fec0383ae3a24af459faf8ad428aaa5357854ff400e2346810e6d42172035bfe3e9cb9ccec0f75e1138282bddeb53f748ea74d7e9afa
|
7
|
+
data.tar.gz: 3d22dadf7332a1404a509b4c1562b7b6c0dc933bfd766d96d1b76e0cdf6129e367c218e91c1b34ddc3773d0da150e4e92504869a2a8299cda11b09755f6cc829
|
@@ -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.1)
|
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
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.metadata['homepage_uri'] = spec.homepage
|
22
22
|
spec.metadata['source_code_uri'] = 'https://github.com/hoverinc/easy_yaml'
|
23
|
-
spec.metadata['changelog_uri'] = 'https://github.com/hoverinc/
|
23
|
+
spec.metadata['changelog_uri'] = 'https://github.com/hoverinc/easy_yaml/blob/main/CHANGELOG.md'
|
24
24
|
|
25
25
|
# Specify which files should be added to the gem when it is released.
|
26
26
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
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.1
|
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 '
|
@@ -43,7 +43,7 @@ licenses:
|
|
43
43
|
metadata:
|
44
44
|
homepage_uri: https://github.com/hoverinc/easy_yaml
|
45
45
|
source_code_uri: https://github.com/hoverinc/easy_yaml
|
46
|
-
changelog_uri: https://github.com/hoverinc/
|
46
|
+
changelog_uri: https://github.com/hoverinc/easy_yaml/blob/main/CHANGELOG.md
|
47
47
|
rubygems_mfa_required: 'true'
|
48
48
|
post_install_message:
|
49
49
|
rdoc_options: []
|
@@ -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
|