polariscope 0.1.1 → 0.1.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: bbffdce0784ea9e04a8a70ce76826f2a4585509bdf458a993c7f8d433ef4c8cd
4
- data.tar.gz: 5a8fd12fb706744204fd96052716df30b595bf636c2a33d795c48fbd76554286
3
+ metadata.gz: 9c6930c7f97f32b109b00b9102007f65bd3b24f6bc30d7ff1d3b59519a644fad
4
+ data.tar.gz: ed51721ba0daadcb33d7ac7cc03ac113382cd96609a63715a79733adeb68ded5
5
5
  SHA512:
6
- metadata.gz: 6ac88021029fbe6c211fd361b4c08ba1bd7c15c8f3d18d6626d33db6f340c3f227a4420dd65a8eb88e0aae492e9b225065d77304b6ebf311d8e1f4fda2bea8eb
7
- data.tar.gz: 3003407cde63e74bead70bb722482ee06da18f539e38cea0e900d2bde6e1f7d1aaf14166d7acaf3921b20248f79144e81afc1da94abfeaf71aeb0bf5a9a0e14c
6
+ metadata.gz: ebbdef092ab5188bde6959fcfb425b4b96f1c0b3f670e8b88c69e5a669d0c9a438db25c9af27b73fe753898a368ac8420244206fcfea7facd0a3848ffe7aa6f8
7
+ data.tar.gz: 4d55488e221899b6c07cc19beb961f54956ba4f7c8e374550e5772fba38f31d3603e669be932a7c4fa111d075747a5bf1753ab85c664aab667bb8da006105054
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.2] - 2024-08-08
4
+
5
+ - Fix issue when no Gemfile found in project & reach 100% coverage with tests
6
+
3
7
  ## [0.1.1] - 2024-08-08
4
8
 
5
9
  - Make **spec_type** optional in `.gem_versions`
data/Gemfile CHANGED
@@ -16,3 +16,4 @@ gem 'rake', '~> 12.0'
16
16
  gem 'rspec', '~> 3.0'
17
17
  gem 'rubocop-infinum'
18
18
  gem 'rubocop-rake'
19
+ gem 'simplecov'
@@ -15,14 +15,13 @@ module Polariscope
15
15
  def health_score
16
16
  return nil if blank?(gemfile_content) || blank?(gemfile_lock_content)
17
17
 
18
- GemfileHealthScore.new(
19
- gemfile_path: gemfile_file.path,
20
- gemfile_lock_content: gemfile_lock_content,
21
- bundler_audit_config_path: bundler_audit_config_file.path
22
- ).health_score
23
- ensure
24
- gemfile_file.unlink
25
- bundler_audit_config_file.unlink
18
+ begin
19
+ GemfileHealthScore.new(gemfile_path: gemfile_file.path, gemfile_lock_content: gemfile_lock_content,
20
+ bundler_audit_config_path: bundler_audit_config_file.path).health_score
21
+ ensure
22
+ gemfile_file.unlink
23
+ bundler_audit_config_file.unlink
24
+ end
26
25
  end
27
26
 
28
27
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Polariscope
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polariscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rails team
@@ -48,10 +48,8 @@ extra_rdoc_files: []
48
48
  files:
49
49
  - ".rspec"
50
50
  - ".rubocop.yml"
51
- - ".ruby-version"
52
51
  - CHANGELOG.md
53
52
  - Gemfile
54
- - Gemfile.lock
55
53
  - LICENSE.txt
56
54
  - README.md
57
55
  - Rakefile
@@ -89,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
87
  - !ruby/object:Gem::Version
90
88
  version: '0'
91
89
  requirements: []
92
- rubygems_version: 3.5.3
90
+ rubygems_version: 3.4.17
93
91
  signing_key:
94
92
  specification_version: 4
95
93
  summary: Calculate the health score of a Ruby application based on the state of its
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 3.3.0
data/Gemfile.lock DELETED
@@ -1,285 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- polariscope (0.1.1)
5
- bundler
6
- bundler-audit
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actioncable (7.1.3.4)
12
- actionpack (= 7.1.3.4)
13
- activesupport (= 7.1.3.4)
14
- nio4r (~> 2.0)
15
- websocket-driver (>= 0.6.1)
16
- zeitwerk (~> 2.6)
17
- actionmailbox (7.1.3.4)
18
- actionpack (= 7.1.3.4)
19
- activejob (= 7.1.3.4)
20
- activerecord (= 7.1.3.4)
21
- activestorage (= 7.1.3.4)
22
- activesupport (= 7.1.3.4)
23
- mail (>= 2.7.1)
24
- net-imap
25
- net-pop
26
- net-smtp
27
- actionmailer (7.1.3.4)
28
- actionpack (= 7.1.3.4)
29
- actionview (= 7.1.3.4)
30
- activejob (= 7.1.3.4)
31
- activesupport (= 7.1.3.4)
32
- mail (~> 2.5, >= 2.5.4)
33
- net-imap
34
- net-pop
35
- net-smtp
36
- rails-dom-testing (~> 2.2)
37
- actionpack (7.1.3.4)
38
- actionview (= 7.1.3.4)
39
- activesupport (= 7.1.3.4)
40
- nokogiri (>= 1.8.5)
41
- racc
42
- rack (>= 2.2.4)
43
- rack-session (>= 1.0.1)
44
- rack-test (>= 0.6.3)
45
- rails-dom-testing (~> 2.2)
46
- rails-html-sanitizer (~> 1.6)
47
- actiontext (7.1.3.4)
48
- actionpack (= 7.1.3.4)
49
- activerecord (= 7.1.3.4)
50
- activestorage (= 7.1.3.4)
51
- activesupport (= 7.1.3.4)
52
- globalid (>= 0.6.0)
53
- nokogiri (>= 1.8.5)
54
- actionview (7.1.3.4)
55
- activesupport (= 7.1.3.4)
56
- builder (~> 3.1)
57
- erubi (~> 1.11)
58
- rails-dom-testing (~> 2.2)
59
- rails-html-sanitizer (~> 1.6)
60
- activejob (7.1.3.4)
61
- activesupport (= 7.1.3.4)
62
- globalid (>= 0.3.6)
63
- activemodel (7.1.3.4)
64
- activesupport (= 7.1.3.4)
65
- activerecord (7.1.3.4)
66
- activemodel (= 7.1.3.4)
67
- activesupport (= 7.1.3.4)
68
- timeout (>= 0.4.0)
69
- activestorage (7.1.3.4)
70
- actionpack (= 7.1.3.4)
71
- activejob (= 7.1.3.4)
72
- activerecord (= 7.1.3.4)
73
- activesupport (= 7.1.3.4)
74
- marcel (~> 1.0)
75
- activesupport (7.1.3.4)
76
- base64
77
- bigdecimal
78
- concurrent-ruby (~> 1.0, >= 1.0.2)
79
- connection_pool (>= 2.2.5)
80
- drb
81
- i18n (>= 1.6, < 2)
82
- minitest (>= 5.1)
83
- mutex_m
84
- tzinfo (~> 2.0)
85
- ast (2.4.2)
86
- base64 (0.2.0)
87
- bigdecimal (3.1.8)
88
- builder (3.3.0)
89
- bundler-audit (0.9.1)
90
- bundler (>= 1.2.0, < 3)
91
- thor (~> 1.0)
92
- byebug (11.1.3)
93
- coderay (1.1.3)
94
- concurrent-ruby (1.3.3)
95
- connection_pool (2.4.1)
96
- crass (1.0.6)
97
- date (3.3.4)
98
- diff-lcs (1.5.1)
99
- drb (2.2.1)
100
- erubi (1.13.0)
101
- globalid (1.2.1)
102
- activesupport (>= 6.1)
103
- i18n (1.14.5)
104
- concurrent-ruby (~> 1.0)
105
- io-console (0.7.2)
106
- irb (1.14.0)
107
- rdoc (>= 4.0.0)
108
- reline (>= 0.4.2)
109
- json (2.7.2)
110
- language_server-protocol (3.17.0.3)
111
- loofah (2.22.0)
112
- crass (~> 1.0.2)
113
- nokogiri (>= 1.12.0)
114
- mail (2.8.1)
115
- mini_mime (>= 0.1.1)
116
- net-imap
117
- net-pop
118
- net-smtp
119
- marcel (1.0.4)
120
- method_source (1.1.0)
121
- mini_mime (1.1.5)
122
- minitest (5.24.1)
123
- mutex_m (0.2.0)
124
- net-imap (0.4.14)
125
- date
126
- net-protocol
127
- net-pop (0.1.2)
128
- net-protocol
129
- net-protocol (0.2.2)
130
- timeout
131
- net-smtp (0.5.0)
132
- net-protocol
133
- nio4r (2.7.3)
134
- nokogiri (1.16.7-aarch64-linux)
135
- racc (~> 1.4)
136
- nokogiri (1.16.7-arm-linux)
137
- racc (~> 1.4)
138
- nokogiri (1.16.7-arm64-darwin)
139
- racc (~> 1.4)
140
- nokogiri (1.16.7-x86-linux)
141
- racc (~> 1.4)
142
- nokogiri (1.16.7-x86_64-darwin)
143
- racc (~> 1.4)
144
- nokogiri (1.16.7-x86_64-linux)
145
- racc (~> 1.4)
146
- parallel (1.25.1)
147
- parser (3.3.4.0)
148
- ast (~> 2.4.1)
149
- racc
150
- pry (0.14.2)
151
- coderay (~> 1.1)
152
- method_source (~> 1.0)
153
- pry-byebug (3.10.1)
154
- byebug (~> 11.0)
155
- pry (>= 0.13, < 0.15)
156
- pry-rails (0.3.11)
157
- pry (>= 0.13.0)
158
- psych (5.1.2)
159
- stringio
160
- racc (1.8.1)
161
- rack (3.1.7)
162
- rack-session (2.0.0)
163
- rack (>= 3.0.0)
164
- rack-test (2.1.0)
165
- rack (>= 1.3)
166
- rackup (2.1.0)
167
- rack (>= 3)
168
- webrick (~> 1.8)
169
- rails (7.1.3.4)
170
- actioncable (= 7.1.3.4)
171
- actionmailbox (= 7.1.3.4)
172
- actionmailer (= 7.1.3.4)
173
- actionpack (= 7.1.3.4)
174
- actiontext (= 7.1.3.4)
175
- actionview (= 7.1.3.4)
176
- activejob (= 7.1.3.4)
177
- activemodel (= 7.1.3.4)
178
- activerecord (= 7.1.3.4)
179
- activestorage (= 7.1.3.4)
180
- activesupport (= 7.1.3.4)
181
- bundler (>= 1.15.0)
182
- railties (= 7.1.3.4)
183
- rails-dom-testing (2.2.0)
184
- activesupport (>= 5.0.0)
185
- minitest
186
- nokogiri (>= 1.6)
187
- rails-html-sanitizer (1.6.0)
188
- loofah (~> 2.21)
189
- nokogiri (~> 1.14)
190
- railties (7.1.3.4)
191
- actionpack (= 7.1.3.4)
192
- activesupport (= 7.1.3.4)
193
- irb
194
- rackup (>= 1.0.0)
195
- rake (>= 12.2)
196
- thor (~> 1.0, >= 1.2.2)
197
- zeitwerk (~> 2.6)
198
- rainbow (3.1.1)
199
- rake (12.3.3)
200
- rdoc (6.7.0)
201
- psych (>= 4.0.0)
202
- regexp_parser (2.9.2)
203
- reline (0.5.9)
204
- io-console (~> 0.5)
205
- rexml (3.3.4)
206
- strscan
207
- rspec (3.13.0)
208
- rspec-core (~> 3.13.0)
209
- rspec-expectations (~> 3.13.0)
210
- rspec-mocks (~> 3.13.0)
211
- rspec-core (3.13.0)
212
- rspec-support (~> 3.13.0)
213
- rspec-expectations (3.13.1)
214
- diff-lcs (>= 1.2.0, < 2.0)
215
- rspec-support (~> 3.13.0)
216
- rspec-mocks (3.13.1)
217
- diff-lcs (>= 1.2.0, < 2.0)
218
- rspec-support (~> 3.13.0)
219
- rspec-support (3.13.1)
220
- rubocop (1.65.1)
221
- json (~> 2.3)
222
- language_server-protocol (>= 3.17.0)
223
- parallel (~> 1.10)
224
- parser (>= 3.3.0.2)
225
- rainbow (>= 2.2.2, < 4.0)
226
- regexp_parser (>= 2.4, < 3.0)
227
- rexml (>= 3.2.5, < 4.0)
228
- rubocop-ast (>= 1.31.1, < 2.0)
229
- ruby-progressbar (~> 1.7)
230
- unicode-display_width (>= 2.4.0, < 3.0)
231
- rubocop-ast (1.32.0)
232
- parser (>= 3.3.1.0)
233
- rubocop-infinum (0.8.0)
234
- rubocop (>= 1.28.0)
235
- rubocop-performance
236
- rubocop-rails
237
- rubocop-rspec
238
- rubocop-performance (1.21.1)
239
- rubocop (>= 1.48.1, < 2.0)
240
- rubocop-ast (>= 1.31.1, < 2.0)
241
- rubocop-rails (2.25.1)
242
- activesupport (>= 4.2.0)
243
- rack (>= 1.1)
244
- rubocop (>= 1.33.0, < 2.0)
245
- rubocop-ast (>= 1.31.1, < 2.0)
246
- rubocop-rake (0.6.0)
247
- rubocop (~> 1.0)
248
- rubocop-rspec (3.0.4)
249
- rubocop (~> 1.61)
250
- ruby-progressbar (1.13.0)
251
- stringio (3.1.1)
252
- strscan (3.1.0)
253
- thor (1.3.1)
254
- timeout (0.4.1)
255
- tzinfo (2.0.6)
256
- concurrent-ruby (~> 1.0)
257
- unicode-display_width (2.5.0)
258
- webrick (1.8.1)
259
- websocket-driver (0.7.6)
260
- websocket-extensions (>= 0.1.0)
261
- websocket-extensions (0.1.5)
262
- zeitwerk (2.6.17)
263
-
264
- PLATFORMS
265
- aarch64-linux
266
- arm-linux
267
- arm64-darwin
268
- x86-linux
269
- x86_64-darwin
270
- x86_64-linux
271
-
272
- DEPENDENCIES
273
- bundler
274
- polariscope!
275
- pry
276
- pry-byebug
277
- pry-rails
278
- rails (~> 7.0)
279
- rake (~> 12.0)
280
- rspec (~> 3.0)
281
- rubocop-infinum
282
- rubocop-rake
283
-
284
- BUNDLED WITH
285
- 2.5.9