mad_flatter 2.1.0 → 3.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56a07650700f70bee720b0c0a4451f69c08d27336012a758159e4bba7200c6a1
4
- data.tar.gz: 42343fcdd1fc68d209d0ecde0575cf507091253bf2484659efac7f52b33e3267
3
+ metadata.gz: 85d4fa4513f852525cb24db344aaed91887d222fe104b98e40854ea9252025f3
4
+ data.tar.gz: 4afd6057fb69ca02b8151ed261cdbb0eb6ed649d507ad547a5be6573e1eacc1d
5
5
  SHA512:
6
- metadata.gz: 0db85bf75589abb932423b31bff64061adb8302bd619cc397cd1308d2173581edfe06d21edeb6e3b73fe4233135100c6bba67afa55021765398fb86768278b06
7
- data.tar.gz: a9c7023fe7538b4046c4667844b1cdad88b6a51aee073d675178faf490a8358c220a64a64b4e647d7e0536ee8bfb227899499cc37d75fc549a7b973bec01d25c
6
+ metadata.gz: cd5726f343f1e55ad5efbd297d2ed008cc41f936d68c8d749ed00080a8ca06e6450501485c8c487a9ed5b177303722910f99fbb29d84bed4f91e4000588b93c4
7
+ data.tar.gz: e48158fb552fd2a547fc3ceb32a1bcd674450d9f24af06e0a679d687d7503b4d775347eca6acb354cdb8778bd3b04e6e394a332d1585d559bad38433d8621a0f
data/.rubocop.yml CHANGED
@@ -13,7 +13,7 @@ AllCops:
13
13
  - '*.gemspec'
14
14
  - 'spec/**/*'
15
15
  - 'vendor/**/*'
16
- - 'scratch.rb'
16
+ - 'scratch*.rb'
17
17
 
18
18
  # Align the elements of a hash literal if they span more than one line.
19
19
  Layout/HashAlignment:
@@ -109,7 +109,6 @@ Metrics/CyclomaticComplexity:
109
109
 
110
110
  # Limit lines to 80 characters
111
111
  Layout/LineLength:
112
- Max: 120
113
112
  Exclude:
114
113
  - 'RakeFile'
115
114
  - 'spec/**/*.rb'
@@ -117,7 +116,7 @@ Layout/LineLength:
117
116
  # Avoid methods longer than 15 lines of code.
118
117
  Metrics/MethodLength:
119
118
  Max: 20
120
- IgnoredMethods:
119
+ AllowedMethods:
121
120
  - swagger_path
122
121
  - operation
123
122
 
@@ -180,10 +179,6 @@ Style/RedundantReturn:
180
179
  Style/StringHashKeys:
181
180
  Enabled: true
182
181
 
183
- Style/StringLiteralsInInterpolation:
184
- Enabled: true
185
- EnforcedStyle: double_quotes
186
-
187
182
  # Checks if configured preferred methods are used over non-preferred.
188
183
  Style/StringMethods:
189
184
  Enabled: true
data/CHANGELOG.md CHANGED
@@ -1,21 +1,48 @@
1
+ ### 3.0.1 [2023-08-29]
2
+
3
+ Changes
4
+
5
+ - Update ruby gems.
6
+
7
+ ### 3.0.0 [2023-08-17]
8
+
9
+ Breaking changes
10
+
11
+ - Minimum Ruby version now is 3.0.1
12
+
13
+ Changes
14
+
15
+ - Update ruby gems.
16
+
1
17
  ### 2.1.0
2
- * Changes
3
- * Limit ruby version to Gem::Requirement.new(">= 2.3.1", "< 4.0").
4
- * Update ruby gems.
18
+
19
+ Changes
20
+
21
+ - Limit ruby version to Gem::Requirement.new(">= 2.3.1", "< 4.0").
22
+ - Update ruby gems.
5
23
 
6
24
  ### 2.0.0
7
- * Changes
8
- * Add spec coverage.
9
- * Update README.md.
10
- * Breaking change
11
- * Remove unused Module HashRetrievable.
12
- * Bug Fixes
13
- * Fix bug that raised an error when :namespace option is not a Symbol due cut & paste error from validation routine that checked the :metadata option for validity.
14
- * Fix bug when checking `MadFlatter::Service#options.namespace? an error was raised if option :namespace was not passed as an option since it is optional.
25
+
26
+ Changes
27
+
28
+ - Add spec coverage.
29
+ - Update README.md.
30
+
31
+ Breaking changes
32
+
33
+ - Remove unused Module HashRetrievable.
34
+
35
+ Bug Fixes
36
+
37
+ - Fix bug that raised an error when :namespace option is not a Symbol due cut & paste error from validation routine that checked the :metadata option for validity.
38
+ - Fix bug when checking `MadFlatter::Service#options.namespace? an error was raised if option :namespace was not passed as an option since it is optional.
15
39
 
16
40
  ### 1.0.1-beta
17
- * Bug Fixes
18
- * Fix bug requiring support codez in lib/mad_flatter.rb.
41
+
42
+ Bug Fixes
43
+
44
+ - Fix bug requiring support codez in lib/mad_flatter.rb.
19
45
 
20
46
  ### 1.0.0-alpha
21
- * Initial release.
47
+
48
+ Initial release.
data/Gemfile.lock CHANGED
@@ -1,100 +1,115 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mad_flatter (2.1.0)
4
+ mad_flatter (3.0.1)
5
5
  activesupport (~> 7.0, >= 7.0.3.1)
6
6
  immutable_struct_ex (~> 1.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.0.4)
11
+ activesupport (7.0.7.2)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
15
15
  tzinfo (~> 2.0)
16
16
  ast (2.4.2)
17
+ base64 (0.1.1)
17
18
  byebug (11.1.3)
18
19
  coderay (1.1.3)
19
- concurrent-ruby (1.1.10)
20
+ concurrent-ruby (1.2.2)
20
21
  diff-lcs (1.5.0)
21
22
  docile (1.4.0)
22
- i18n (1.12.0)
23
+ i18n (1.14.1)
23
24
  concurrent-ruby (~> 1.0)
24
- immutable_struct_ex (1.0.0)
25
- json (2.6.2)
25
+ immutable_struct_ex (1.0.1)
26
+ json (2.6.3)
26
27
  kwalify (0.7.2)
28
+ language_server-protocol (3.17.0.3)
27
29
  method_source (1.0.0)
28
- minitest (5.16.3)
29
- parallel (1.22.1)
30
- parser (3.1.2.1)
30
+ minitest (5.19.0)
31
+ parallel (1.23.0)
32
+ parser (3.2.2.3)
31
33
  ast (~> 2.4.1)
32
- pry (0.14.1)
34
+ racc
35
+ pry (0.14.2)
33
36
  coderay (~> 1.1)
34
37
  method_source (~> 1.0)
35
38
  pry-byebug (3.10.1)
36
39
  byebug (~> 11.0)
37
40
  pry (>= 0.13, < 0.15)
41
+ racc (1.7.1)
38
42
  rainbow (3.1.1)
39
- reek (6.1.1)
43
+ reek (6.1.4)
40
44
  kwalify (~> 0.7.0)
41
- parser (~> 3.1.0)
45
+ parser (~> 3.2.0)
42
46
  rainbow (>= 2.0, < 4.0)
43
- regexp_parser (2.6.0)
44
- rexml (3.2.5)
47
+ regexp_parser (2.8.1)
48
+ rexml (3.2.6)
45
49
  rspec (3.12.0)
46
50
  rspec-core (~> 3.12.0)
47
51
  rspec-expectations (~> 3.12.0)
48
52
  rspec-mocks (~> 3.12.0)
49
- rspec-core (3.12.0)
53
+ rspec-core (3.12.2)
50
54
  rspec-support (~> 3.12.0)
51
- rspec-expectations (3.12.0)
55
+ rspec-expectations (3.12.3)
52
56
  diff-lcs (>= 1.2.0, < 2.0)
53
57
  rspec-support (~> 3.12.0)
54
- rspec-mocks (3.12.0)
58
+ rspec-mocks (3.12.6)
55
59
  diff-lcs (>= 1.2.0, < 2.0)
56
60
  rspec-support (~> 3.12.0)
57
- rspec-support (3.12.0)
58
- rubocop (1.38.0)
61
+ rspec-support (3.12.1)
62
+ rubocop (1.56.2)
63
+ base64 (~> 0.1.1)
59
64
  json (~> 2.3)
65
+ language_server-protocol (>= 3.17.0)
60
66
  parallel (~> 1.10)
61
- parser (>= 3.1.2.1)
67
+ parser (>= 3.2.2.3)
62
68
  rainbow (>= 2.2.2, < 4.0)
63
69
  regexp_parser (>= 1.8, < 3.0)
64
70
  rexml (>= 3.2.5, < 4.0)
65
- rubocop-ast (>= 1.23.0, < 2.0)
71
+ rubocop-ast (>= 1.28.1, < 2.0)
66
72
  ruby-progressbar (~> 1.7)
67
- unicode-display_width (>= 1.4.0, < 3.0)
68
- rubocop-ast (1.23.0)
69
- parser (>= 3.1.1.0)
70
- rubocop-performance (1.15.0)
73
+ unicode-display_width (>= 2.4.0, < 3.0)
74
+ rubocop-ast (1.29.0)
75
+ parser (>= 3.2.1.0)
76
+ rubocop-capybara (2.18.0)
77
+ rubocop (~> 1.41)
78
+ rubocop-factory_bot (2.23.1)
79
+ rubocop (~> 1.33)
80
+ rubocop-performance (1.19.0)
71
81
  rubocop (>= 1.7.0, < 2.0)
72
82
  rubocop-ast (>= 0.4.0)
73
- rubocop-rspec (2.15.0)
83
+ rubocop-rspec (2.23.2)
74
84
  rubocop (~> 1.33)
75
- ruby-progressbar (1.11.0)
76
- simplecov (0.21.2)
85
+ rubocop-capybara (~> 2.17)
86
+ rubocop-factory_bot (~> 2.22)
87
+ ruby-progressbar (1.13.0)
88
+ simplecov (0.22.0)
77
89
  docile (~> 1.1)
78
90
  simplecov-html (~> 0.11)
79
91
  simplecov_json_formatter (~> 0.1)
80
92
  simplecov-html (0.12.3)
81
93
  simplecov_json_formatter (0.1.4)
82
- tzinfo (2.0.5)
94
+ tzinfo (2.0.6)
83
95
  concurrent-ruby (~> 1.0)
84
- unicode-display_width (2.3.0)
96
+ unicode-display_width (2.4.2)
85
97
 
86
98
  PLATFORMS
99
+ x86_64-darwin-17
87
100
  x86_64-darwin-19
101
+ x86_64-darwin-21
102
+ x86_64-linux
88
103
 
89
104
  DEPENDENCIES
90
105
  mad_flatter!
91
- pry-byebug (~> 3.9)
106
+ pry-byebug (~> 3.10, >= 3.10.1)
92
107
  reek (~> 6.1, >= 6.1.1)
93
108
  rspec (>= 3.10)
94
109
  rubocop (~> 1.31)
95
110
  rubocop-performance (~> 1.14, >= 1.14.3)
96
111
  rubocop-rspec (~> 2.12, >= 2.12.1)
97
- simplecov (~> 0.21.2)
112
+ simplecov (~> 0.22.0)
98
113
 
99
114
  BUNDLED WITH
100
- 2.3.20
115
+ 2.3.22
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MadFlatter
4
- VERSION = '2.1.0'
4
+ VERSION = '3.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mad_flatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - gangelo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-04 00:00:00.000000000 Z
11
+ date: 2023-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -50,14 +50,20 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '3.9'
53
+ version: '3.10'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 3.10.1
54
57
  type: :development
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
57
60
  requirements:
58
61
  - - "~>"
59
62
  - !ruby/object:Gem::Version
60
- version: '3.9'
63
+ version: '3.10'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 3.10.1
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: reek
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -152,14 +158,14 @@ dependencies:
152
158
  requirements:
153
159
  - - "~>"
154
160
  - !ruby/object:Gem::Version
155
- version: 0.21.2
161
+ version: 0.22.0
156
162
  type: :development
157
163
  prerelease: false
158
164
  version_requirements: !ruby/object:Gem::Requirement
159
165
  requirements:
160
166
  - - "~>"
161
167
  - !ruby/object:Gem::Version
162
- version: 0.21.2
168
+ version: 0.22.0
163
169
  description: mad_flatter gem
164
170
  email:
165
171
  - web.gma@gmail.com
@@ -207,7 +213,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
213
  requirements:
208
214
  - - ">="
209
215
  - !ruby/object:Gem::Version
210
- version: 2.3.1
216
+ version: 3.0.1
211
217
  - - "<"
212
218
  - !ruby/object:Gem::Version
213
219
  version: '4.0'
@@ -217,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
223
  - !ruby/object:Gem::Version
218
224
  version: '0'
219
225
  requirements: []
220
- rubygems_version: 3.3.22
226
+ rubygems_version: 3.2.15
221
227
  signing_key:
222
228
  specification_version: 4
223
229
  summary: mad_flatter gem