spektr 0.3.2 → 0.3.4

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: 3d7d98d8662fedb18efc042f20233dafdca93b7a36d6e77f325681cd9c3e5e1e
4
- data.tar.gz: c8345b0fcef1fa3518dac8f7ebffa46649359720974b6f1ac6447657d1726b58
3
+ metadata.gz: 2cdf9a898d4a20fa90d72e813ccc4436cd4d3c38c5fd1e56c87114f1bf54947e
4
+ data.tar.gz: b9fd5966623eca1f37bb8d7bec7a4611a2fcc83e8df8c8a8ef8824cda07a8093
5
5
  SHA512:
6
- metadata.gz: c934a656cff9db1547ef716651cdfb09d00fd8373f1e35e2b6c3611bbb56583d47922ab433d72be69d4c52fc1801f4609933f43013d254fd0d0a5df535121a77
7
- data.tar.gz: bcbdbca3f012640d96c8dd4249e27bc3da3256d6a21f6f37229f1b3e632a913a7d120740257eb8cdde338abf538ad425f5742deb15b70314828a3b28f45325df
6
+ metadata.gz: d482d3aa9da794f3fb46705c80773965c996aa740e694ae1e99304bd71cf0627d63962241da296b2473b28a1a43405725ee112433e084703fa1fd2e07914cac9
7
+ data.tar.gz: b2732871040b9abc246991e58684b0c09e6228637ee1671d81e90e2db14ce74112ea08945a2215557645060cee0f6aa52cfb33360abef0a99a9411ed2bf3111a
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  .byebug_history
10
+ Gemfile.lock
data/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.3.4
6
+
7
+ * Relax dependencies, to help with using spektr as a gem
8
+ * Fix executable
9
+
10
+ ## 0.3.3
11
+
12
+ * Remove hard dependency of haml 5
13
+
5
14
  ## 0.3.2
6
15
 
7
16
  * Rescue from lib file parsing errors
@@ -1,3 +1,3 @@
1
1
  module Spektr
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.4'
3
3
  end
data/lib/spektr.rb CHANGED
@@ -3,7 +3,6 @@
3
3
  require 'bundler'
4
4
  require 'parser'
5
5
  require 'parser/current'
6
- require 'unparser'
7
6
  require 'erb'
8
7
  require 'haml'
9
8
  require 'logger'
data/spektr.gemspec CHANGED
@@ -23,22 +23,21 @@ Gem::Specification.new do |spec|
23
23
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
24
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
25
  end
26
- spec.bindir = 'exe'
27
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.bindir = 'bin'
27
+ spec.executables = 'spektr'
28
28
  spec.require_paths = ['lib']
29
29
 
30
30
  spec.add_dependency 'erubi'
31
- spec.add_dependency 'haml', '~>5.1'
32
- spec.add_dependency 'parser', '~> 3.0.0'
31
+ spec.add_dependency 'haml'
32
+ spec.add_dependency 'parser', '>= 2.6.0'
33
33
  spec.add_dependency 'pastel'
34
- spec.add_dependency 'ruby_parser', '~>3.13'
34
+ spec.add_dependency 'ruby_parser', '>= 3.0'
35
35
  spec.add_dependency 'slim'
36
36
  spec.add_dependency 'tty-color'
37
37
  spec.add_dependency 'tty-option'
38
38
  spec.add_dependency 'tty-spinner'
39
39
  spec.add_dependency 'tty-table'
40
- spec.add_dependency 'unparser', '~> 0.6.0'
41
- spec.add_dependency 'zeitwerk'
40
+ spec.add_dependency 'zeitwerk', '>= 2.6'
42
41
 
43
42
  spec.add_development_dependency 'byebug'
44
43
  spec.add_development_dependency 'guard'
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spektr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Molnar
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2022-11-10 00:00:00.000000000 Z
12
12
  dependencies:
@@ -28,30 +28,30 @@ dependencies:
28
28
  name: haml
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '5.1'
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '5.1'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: parser
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 3.0.0
47
+ version: 2.6.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 3.0.0
54
+ version: 2.6.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pastel
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: ruby_parser
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '3.13'
75
+ version: '3.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '3.13'
82
+ version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: slim
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -150,34 +150,20 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: unparser
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: 0.6.0
160
- type: :runtime
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: 0.6.0
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: zeitwerk
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
157
  - - ">="
172
158
  - !ruby/object:Gem::Version
173
- version: '0'
159
+ version: '2.6'
174
160
  type: :runtime
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
164
  - - ">="
179
165
  - !ruby/object:Gem::Version
180
- version: '0'
166
+ version: '2.6'
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: byebug
183
169
  requirement: !ruby/object:Gem::Requirement
@@ -265,7 +251,8 @@ dependencies:
265
251
  description: Rails static code analyzer for security issues
266
252
  email:
267
253
  - molnargerg@gmail.com
268
- executables: []
254
+ executables:
255
+ - spektr
269
256
  extensions: []
270
257
  extra_rdoc_files: []
271
258
  files:
@@ -275,7 +262,6 @@ files:
275
262
  - CHANGELOG.md
276
263
  - CODE_OF_CONDUCT.md
277
264
  - Gemfile
278
- - Gemfile.lock
279
265
  - Guardfile
280
266
  - LICENSE.txt
281
267
  - README.md
data/Gemfile.lock DELETED
@@ -1,126 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- spektr (0.3.2)
5
- erubi
6
- haml (~> 5.1)
7
- parser (~> 3.0.0)
8
- pastel
9
- ruby_parser (~> 3.13)
10
- slim
11
- tty-color
12
- tty-option
13
- tty-spinner
14
- tty-table
15
- unparser (~> 0.6.0)
16
- zeitwerk
17
-
18
- GEM
19
- remote: https://rubygems.org/
20
- specs:
21
- ast (2.4.2)
22
- byebug (11.1.3)
23
- coderay (1.1.3)
24
- diff-lcs (1.5.0)
25
- erubi (1.11.0)
26
- ffi (1.15.5)
27
- formatador (1.1.0)
28
- guard (2.18.0)
29
- formatador (>= 0.2.4)
30
- listen (>= 2.7, < 4.0)
31
- lumberjack (>= 1.0.12, < 2.0)
32
- nenv (~> 0.1)
33
- notiffany (~> 0.0)
34
- pry (>= 0.13.0)
35
- shellany (~> 0.0)
36
- thor (>= 0.18.1)
37
- guard-compat (1.2.1)
38
- guard-minitest (2.4.6)
39
- guard-compat (~> 1.2)
40
- minitest (>= 3.0)
41
- haml (5.2.2)
42
- temple (>= 0.8.0)
43
- tilt
44
- listen (3.7.1)
45
- rb-fsevent (~> 0.10, >= 0.10.3)
46
- rb-inotify (~> 0.9, >= 0.9.10)
47
- lumberjack (1.2.8)
48
- method_source (1.0.0)
49
- minitest (5.16.3)
50
- nenv (0.3.0)
51
- notiffany (0.1.3)
52
- nenv (~> 0.1)
53
- shellany (~> 0.0)
54
- parallel (1.22.1)
55
- parser (3.0.3.2)
56
- ast (~> 2.4.1)
57
- pastel (0.8.0)
58
- tty-color (~> 0.5)
59
- pry (0.14.1)
60
- coderay (~> 1.1)
61
- method_source (~> 1.0)
62
- rainbow (3.1.1)
63
- rake (12.3.3)
64
- rb-fsevent (0.11.2)
65
- rb-inotify (0.10.1)
66
- ffi (~> 1.0)
67
- regexp_parser (2.6.0)
68
- rexml (3.2.5)
69
- rubocop (1.24.1)
70
- parallel (~> 1.10)
71
- parser (>= 3.0.0.0)
72
- rainbow (>= 2.2.2, < 4.0)
73
- regexp_parser (>= 1.8, < 3.0)
74
- rexml
75
- rubocop-ast (>= 1.15.1, < 2.0)
76
- ruby-progressbar (~> 1.7)
77
- unicode-display_width (>= 1.4.0, < 3.0)
78
- rubocop-ast (1.15.2)
79
- parser (>= 3.0.1.1)
80
- ruby-progressbar (1.11.0)
81
- ruby_parser (3.19.1)
82
- sexp_processor (~> 4.16)
83
- sexp_processor (4.16.1)
84
- shellany (0.0.1)
85
- slim (4.1.0)
86
- temple (>= 0.7.6, < 0.9)
87
- tilt (>= 2.0.6, < 2.1)
88
- strings (0.2.1)
89
- strings-ansi (~> 0.2)
90
- unicode-display_width (>= 1.5, < 3.0)
91
- unicode_utils (~> 1.4)
92
- strings-ansi (0.2.0)
93
- temple (0.8.2)
94
- thor (1.2.1)
95
- tilt (2.0.11)
96
- tty-color (0.6.0)
97
- tty-cursor (0.7.1)
98
- tty-option (0.2.0)
99
- tty-screen (0.8.1)
100
- tty-spinner (0.9.3)
101
- tty-cursor (~> 0.7)
102
- tty-table (0.12.0)
103
- pastel (~> 0.8)
104
- strings (~> 0.2.0)
105
- tty-screen (~> 0.8)
106
- unicode-display_width (2.3.0)
107
- unicode_utils (1.4.0)
108
- unparser (0.6.2)
109
- diff-lcs (~> 1.3)
110
- parser (>= 3.0.0)
111
- zeitwerk (2.6.6)
112
-
113
- PLATFORMS
114
- ruby
115
-
116
- DEPENDENCIES
117
- byebug
118
- guard
119
- guard-minitest
120
- minitest (~> 5.0)
121
- rake (~> 12.0)
122
- rubocop
123
- spektr!
124
-
125
- BUNDLED WITH
126
- 2.1.4