easy_yaml 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 668f3030cf251f5e3ea9600ecda67cc6eede17034801135e8c9e6d619f32f9b8
4
- data.tar.gz: 87dc1163da5e976a32afb6a595b0236c0a01f5264f6a6e7fe6e595968e51bba0
3
+ metadata.gz: 544eed492e38b6d8a7ebab71b762227f5771c6c828d1636d2e34a8022147d781
4
+ data.tar.gz: f210efd0f117d48d8cd916e4648888e008e4e347b330b05cd97af913e3db2e48
5
5
  SHA512:
6
- metadata.gz: 30c19a37b7a8bdf5ce92ab83b0da1339f0ef713a59bcc86c845152739f8e5d6ff70bbaead85db2aa671c4b181bfcd8471d15b7882a10c49515ce1fc85274392b
7
- data.tar.gz: 9949ccda607ba8d841bd7bf367d7420e97b025e2fc94a9dad42f436534ea4daf748d6d3f088fceeac7dafe74af2a4c00f5222c9db93bc73511689c598b92909f
6
+ metadata.gz: b5ebefc1e87342fde2c7399f68a224df56241e2dfe2abe327419434d0e5dc9be571138fd663019411a2c2a9efa807d45d2b9a16c45a3ec581e0557f0c503cb87
7
+ data.tar.gz: bcac6f4382054211865b38e9bc08cf47752e052a6d9f77d1254ac309c72ea5894aa1478be3ed1384d48fea955ca666fb554d2aa1b2f7e1193bd362e0a0ad00e7
data/.rubocop.yml CHANGED
@@ -1,7 +1,12 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
1
3
  require:
2
4
  - rubocop-performance
3
5
  - rubocop-rspec
4
6
 
7
+ AllCops:
8
+ NewCops: enable
9
+
5
10
  Layout/FirstArrayElementIndentation:
6
11
  EnforcedStyle: consistent
7
12
 
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,19 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2021-06-29 23:17:05 UTC using RuboCop version 1.18.0.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 1
10
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
11
+ # IgnoredMethods: refine
12
+ Metrics/BlockLength:
13
+ Max: 28
14
+
15
+ # Offense count: 1
16
+ # Configuration parameters: CheckIdentifiers, CheckConstants, CheckVariables, CheckStrings, CheckSymbols, CheckComments, CheckFilepaths, FlaggedTerms.
17
+ Naming/InclusiveLanguage:
18
+ Exclude:
19
+ - 'easy_yaml.gemspec'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Master
2
2
 
3
+ ## 0.2.2 / 2021-06-29
4
+
5
+ - Fixes
6
+ - [Security] Version bump rexml (CVE-2021-28965)
7
+ - Rubocop updates
8
+
3
9
  ## 0.2.1 / 2020-04-10
4
10
 
5
11
  - Fixes
data/Gemfile.lock CHANGED
@@ -1,44 +1,53 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- easy_yaml (0.2.1)
4
+ easy_yaml (0.2.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.0)
10
- byebug (11.1.1)
11
- diff-lcs (1.3)
12
- jaro_winkler (1.5.4)
13
- parallel (1.19.1)
14
- parser (2.7.0.3)
15
- ast (~> 2.4.0)
9
+ ast (2.4.2)
10
+ byebug (11.1.3)
11
+ diff-lcs (1.4.4)
12
+ parallel (1.20.1)
13
+ parser (3.0.1.1)
14
+ ast (~> 2.4.1)
16
15
  rainbow (3.0.0)
17
- rake (13.0.1)
18
- rexml (3.2.4)
19
- rspec (3.9.0)
20
- rspec-core (~> 3.9.0)
21
- rspec-expectations (~> 3.9.0)
22
- rspec-mocks (~> 3.9.0)
23
- rspec-core (3.9.0)
24
- rspec-support (~> 3.9.0)
25
- rspec-expectations (3.9.0)
16
+ rake (13.0.3)
17
+ regexp_parser (2.1.1)
18
+ rexml (3.2.5)
19
+ rspec (3.10.0)
20
+ rspec-core (~> 3.10.0)
21
+ rspec-expectations (~> 3.10.0)
22
+ rspec-mocks (~> 3.10.0)
23
+ rspec-core (3.10.1)
24
+ rspec-support (~> 3.10.0)
25
+ rspec-expectations (3.10.1)
26
26
  diff-lcs (>= 1.2.0, < 2.0)
27
- rspec-support (~> 3.9.0)
28
- rspec-mocks (3.9.0)
27
+ rspec-support (~> 3.10.0)
28
+ rspec-mocks (3.10.2)
29
29
  diff-lcs (>= 1.2.0, < 2.0)
30
- rspec-support (~> 3.9.0)
31
- rspec-support (3.9.0)
32
- rubocop (0.80.0)
33
- jaro_winkler (~> 1.5.1)
30
+ rspec-support (~> 3.10.0)
31
+ rspec-support (3.10.2)
32
+ rubocop (1.18.0)
34
33
  parallel (~> 1.10)
35
- parser (>= 2.7.0.1)
34
+ parser (>= 3.0.0.0)
36
35
  rainbow (>= 2.2.2, < 4.0)
36
+ regexp_parser (>= 1.8, < 3.0)
37
37
  rexml
38
+ rubocop-ast (>= 1.7.0, < 2.0)
38
39
  ruby-progressbar (~> 1.7)
39
- unicode-display_width (>= 1.4.0, < 1.7)
40
- ruby-progressbar (1.10.1)
41
- unicode-display_width (1.6.1)
40
+ unicode-display_width (>= 1.4.0, < 3.0)
41
+ rubocop-ast (1.7.0)
42
+ parser (>= 3.0.1.1)
43
+ rubocop-performance (1.11.3)
44
+ rubocop (>= 1.7.0, < 2.0)
45
+ rubocop-ast (>= 0.4.0)
46
+ rubocop-rspec (2.4.0)
47
+ rubocop (~> 1.0)
48
+ rubocop-ast (>= 1.1.0)
49
+ ruby-progressbar (1.11.0)
50
+ unicode-display_width (2.0.0)
42
51
 
43
52
  PLATFORMS
44
53
  ruby
@@ -50,6 +59,8 @@ DEPENDENCIES
50
59
  rake (~> 13.0)
51
60
  rspec (~> 3.0)
52
61
  rubocop
62
+ rubocop-performance
63
+ rubocop-rspec
53
64
 
54
65
  BUNDLED WITH
55
- 2.1.4
66
+ 2.2.17
data/README.md CHANGED
@@ -28,7 +28,7 @@ gem install easy_yaml
28
28
  The simplest way to use EasyYAML is:
29
29
 
30
30
  ```ruby
31
- EasyYAML.load('path/to/file.yml')
31
+ EasyYAML.load 'path/to/file.yml'
32
32
  ```
33
33
 
34
34
  EasyYAML makes a few opinionated assumptions.
@@ -106,4 +106,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
106
106
 
107
107
  ## Code of Conduct
108
108
 
109
- Everyone interacting in the EasyYAML project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/hoverinc/easy_yaml/blob/master/CODE_OF_CONDUCT.md).
109
+ Everyone interacting in the EasyYAML project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/hoverinc/easy_yaml/blob/main/CODE_OF_CONDUCT.md).
data/easy_yaml.gemspec CHANGED
@@ -3,6 +3,8 @@ $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 = '>= 2.6.0'
7
+
6
8
  spec.name = 'easy_yaml'
7
9
  spec.version = EasyYAML::VERSION
8
10
  spec.authors = ['Shane Becker']
@@ -35,4 +37,6 @@ Gem::Specification.new do |spec|
35
37
  spec.add_development_dependency 'rake', '~> 13.0'
36
38
  spec.add_development_dependency 'rspec', '~> 3.0'
37
39
  spec.add_development_dependency 'rubocop'
40
+ spec.add_development_dependency 'rubocop-performance'
41
+ spec.add_development_dependency 'rubocop-rspec'
38
42
  end
@@ -1,3 +1,3 @@
1
1
  module EasyYAML
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.2.2'.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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Becker
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-11 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -80,6 +80,34 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-performance
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
83
111
  description: 'EasyYAML reads a file from a path and uses YAML.safe_load to safely
84
112
  load its contents and optionally works with Rails.root '
85
113
  email:
@@ -93,6 +121,7 @@ files:
93
121
  - ".gitignore"
94
122
  - ".rspec"
95
123
  - ".rubocop.yml"
124
+ - ".rubocop_todo.yml"
96
125
  - CHANGELOG.md
97
126
  - CODE_OF_CONDUCT.md
98
127
  - Gemfile
@@ -113,7 +142,7 @@ metadata:
113
142
  homepage_uri: https://github.com/hoverinc/easy_yaml
114
143
  source_code_uri: https://github.com/hoverinc/easy_yaml
115
144
  changelog_uri: https://github.com/hoverinc/hyperion/blob/master/CHANGELOG.md
116
- post_install_message:
145
+ post_install_message:
117
146
  rdoc_options: []
118
147
  require_paths:
119
148
  - lib
@@ -121,15 +150,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
150
  requirements:
122
151
  - - ">="
123
152
  - !ruby/object:Gem::Version
124
- version: '0'
153
+ version: 2.6.0
125
154
  required_rubygems_version: !ruby/object:Gem::Requirement
126
155
  requirements:
127
156
  - - ">="
128
157
  - !ruby/object:Gem::Version
129
158
  version: '0'
130
159
  requirements: []
131
- rubygems_version: 3.0.6
132
- signing_key:
160
+ rubygems_version: 3.2.17
161
+ signing_key:
133
162
  specification_version: 4
134
163
  summary: A simple way to safely load a YAML file
135
164
  test_files: []