easy_yaml 0.3.0 → 0.4.0

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: ae7665068f9e092e4591d59d968776299c7013d3a70a226d7a5d02e7a023efb9
4
- data.tar.gz: d3d4829f376f03a180b5d7dc7d2f340cfbdc67869e3da5ebaa0290801e69184d
3
+ metadata.gz: a894c6086d723faf05e84ef64d5acfb562a12a2b975c7189d3e4c8cef7e5f9bd
4
+ data.tar.gz: c14c5776a6fec76bee6f4e24d88babe640c7685d47c4d4fa50b1941d4f95ca93
5
5
  SHA512:
6
- metadata.gz: 00c0d4609cd7973af37800eaa3e0f31e049a0eddb695c2febb741950afb927465f309230556a23dd3033dc33de42e881a883df23f599701c367ac95fd1e88221
7
- data.tar.gz: 3cb34ef87b04dacc69499f8b9bbfca0e9bedac7a7cd489bb9c1cd3a3d1d9e0b4dea367c2b2fc0004d7c55533ce4da36beb62750d8fab7059541f43eead5263ee
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
- run:
6
+ linter_rubocop:
7
7
  runs-on: ubuntu-latest
8
8
 
9
9
  steps:
10
10
  - name: Checkout repo
11
- uses: actions/checkout@master
11
+ uses: actions/checkout@main
12
12
 
13
13
  - name: Set up Ruby
14
- uses: actions/setup-ruby@v1
15
-
16
- - name: Install dependencies
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 linter
22
- run: |
23
- bundle exec rubocop
18
+ - name: Run Rubocop
19
+ run: bundle exec rubocop --parallel
@@ -1,23 +1,19 @@
1
- name: Tests
2
-
3
1
  on: [push]
4
2
 
3
+ name: Tests
4
+
5
5
  jobs:
6
- run:
6
+ test:
7
7
  runs-on: ubuntu-latest
8
8
 
9
9
  steps:
10
10
  - name: Checkout repo
11
- uses: actions/checkout@master
11
+ uses: actions/checkout@main
12
12
 
13
13
  - name: Set up Ruby
14
- uses: actions/setup-ruby@v1
15
-
16
- - name: Install dependencies
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
1
+ 3.2.2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Master
2
2
 
3
3
  # Releases
4
+
5
+ ## 0.4.0
6
+ - Fixes
7
+ - Require Ruby >= 3.2.2
8
+ - Rubocop updates
9
+ - Update `BUNDLED WITH` from 2.4.6 to 2.4.13
10
+
4
11
  ## 0.3.0
5
12
  - Fixes
6
13
  - Require Ruby >= 3.1.3
data/Gemfile CHANGED
@@ -4,7 +4,6 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'bundler'
7
- gem 'byebug'
8
7
  gem 'rake'
9
8
  gem 'rspec'
10
9
  gem 'rubocop'
data/Gemfile.lock CHANGED
@@ -1,53 +1,58 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- easy_yaml (0.3.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
- byebug (11.1.3)
11
- diff-lcs (1.4.4)
10
+ diff-lcs (1.5.0)
12
11
  json (2.6.3)
13
- parallel (1.22.1)
14
- parser (3.2.0.0)
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.6.2)
17
+ regexp_parser (2.8.0)
19
18
  rexml (3.2.5)
20
- rspec (3.10.0)
21
- rspec-core (~> 3.10.0)
22
- rspec-expectations (~> 3.10.0)
23
- rspec-mocks (~> 3.10.0)
24
- rspec-core (3.10.1)
25
- rspec-support (~> 3.10.0)
26
- rspec-expectations (3.10.1)
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.10.0)
29
- rspec-mocks (3.10.2)
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.10.0)
32
- rspec-support (3.10.2)
33
- rubocop (1.44.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.24.1, < 2.0)
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.24.1)
44
- parser (>= 3.1.1.0)
45
- rubocop-performance (1.11.5)
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.5.0)
49
- rubocop (~> 1.19)
50
- ruby-progressbar (1.11.0)
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.6
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.1.3'
6
+ spec.required_ruby_version = '>= 3.2.2'
7
7
 
8
8
  spec.name = 'easy_yaml'
9
9
  spec.version = EasyYAML::VERSION
@@ -1,3 +1,3 @@
1
1
  module EasyYAML
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.4.0'.freeze
3
3
  end
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.3.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-02-03 00:00:00.000000000 Z
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.1.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.6
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