vehiculum_audit 0.0.3 → 0.0.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: 534adc97824320dbca0fb3d65e8d28993fc84e97aaa92053ed2cf07f2fb94682
4
- data.tar.gz: 382323af2f3337365666124b7a8d78a091d2077bcea19093cd497827e553f85b
3
+ metadata.gz: 71afb598bae9c4ca56d233ae6e43b2b9ae1233e01f4aa26879289f33b5034f3f
4
+ data.tar.gz: a8d7eb8c4c5d00ecd93e4d9078c39f5f1e8190aaf888a009e702cdec5d07f51a
5
5
  SHA512:
6
- metadata.gz: 9cb698dc0b04a9a0b172f72eadf962ec3a775b8b9d1d3f632f2acda672ea294e3030de3e785923faaede46bf9cd3a416affc2cbef1d237d295b8b0685b1b6407
7
- data.tar.gz: 9e5a715d4f6a80afbd4d6a76e9301e16f8cccc2365952528816f1766a683d92103a912fde4daf71b87845ab50c2baa9897674f376fe2f3f6283207a6a276bc6e
6
+ metadata.gz: 7e598a6b488a5e48137408bc4e1a4bff1876f6972c73d33f56a196242491de4c63b399aec10e51a63281ababa26a93feef85a1668f458fb446f38225ba927986
7
+ data.tar.gz: 171e70e0172f1db15dac55741aa534d13c98984f5003dd2834e8e6cb24c834c54b10cc8153d3d581523f5b46c4895d9c785d48cac18b014e1ad65118ccfd9630
data/.gitignore CHANGED
@@ -45,12 +45,12 @@ build-iPhoneSimulator/
45
45
 
46
46
  # for a library or gem, you might want to ignore these files since the code is
47
47
  # intended to run in multiple environments; otherwise, check them in:
48
- # Gemfile.lock
49
- # .ruby-version
50
- # .ruby-gemset
48
+ Gemfile.lock
49
+ .ruby-version
50
+ .ruby-gemset
51
51
 
52
52
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
53
53
  .rvmrc
54
54
 
55
55
  # Used by RuboCop. Remote config files pulled in from inherit_from directive.
56
- # .rubocop-https?--*
56
+ .rubocop-https?--*
@@ -1,3 +1,3 @@
1
1
  example_id | status | run_time |
2
2
  ----------------------------------- | ------ | --------------- |
3
- ./spec/vehiculum_audit_spec.rb[1:1] | passed | 0.00076 seconds |
3
+ ./spec/vehiculum_audit_spec.rb[1:1] | passed | 0.00045 seconds |
@@ -0,0 +1,16 @@
1
+ pre-commit:
2
+ parallel: true
3
+ commands:
4
+ rubocop:
5
+ files: git diff --name-only --staged
6
+ glob: "*.rb"
7
+ run: rubocop --force-exclusion {files}
8
+ reek:
9
+ files: git diff --name-only --staged
10
+ glob: "*.rb"
11
+ run: reek --force-exclusion {files}
12
+ fasterer:
13
+ run: fasterer
14
+ test:
15
+ run: bundle exec rspec
16
+
@@ -6,7 +6,8 @@ namespace :vehiculum_audit do
6
6
  { gem: 'RSpec', file: '.rspec' },
7
7
  { gem: 'Rubocop', file: '.rubocop.yml' },
8
8
  { gem: 'Reek', file: '.reek.yml' },
9
- { gem: 'Fasterer', file: '.fasterer.yml' }
9
+ { gem: 'Fasterer', file: '.fasterer.yml' },
10
+ { gem: 'Lefthook', file: 'lefthook.yml' }
10
11
  ]
11
12
 
12
13
  configs.each do |config|
@@ -78,21 +79,6 @@ namespace :vehiculum_audit do
78
79
  end
79
80
 
80
81
  task :info do
81
- puts
82
-
83
- box 'Important!', color: :red do
84
- <<~INFO
85
- You need to install the following utilites:
86
-
87
- On MacOS:
88
-
89
- $ brew install graphviz
90
-
91
- On Linux:
92
-
93
- $ apt-get install graphviz
94
- INFO
95
- end
96
82
 
97
83
  box 'How to use'
98
84
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VehiculumAudit
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
@@ -33,12 +33,13 @@ Gem::Specification.new do |spec|
33
33
  spec.add_dependency 'colorize' # https://github.com/fazibear/colorize
34
34
  spec.add_dependency 'fasterer' # https://github.com/DamirSvrtan/fasterer
35
35
  spec.add_dependency 'hirb' # https://github.com/cldwalker/hirb
36
+ spec.add_dependency 'lefthook' # https://github.com/Arkweid/lefthook
36
37
  spec.add_dependency 'pry-byebug' # https://github.com/deivid-rodriguez/pry-byebug
37
38
  spec.add_dependency 'pry-rails' # https://github.com/rweng/pry-rails
38
39
  spec.add_dependency 'pry-rescue' # https://github.com/ConradIrwin/pry-rescue
39
40
  spec.add_dependency 'pry-stack_explorer' # https://github.com/pry/pry-stack_explorer
40
41
  spec.add_dependency 'reek' # https://github.com/troessner/reek
41
- spec.add_dependency 'vehiculum-codestyle', '~> 0.0.8'
42
+ spec.add_dependency 'vehiculum-codestyle' # https://github.com/Arkweid/lefthook
42
43
  spec.add_dependency 'simplecov' # https://github.com/colszowka/simplecov
43
44
  spec.add_dependency 'traceroute' # https://github.com/amatsuda/traceroute
44
45
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vehiculum_audit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vehiculum Tech Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-12 00:00:00.000000000 Z
11
+ date: 2020-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -164,6 +164,20 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: lefthook
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: pry-byebug
169
183
  requirement: !ruby/object:Gem::Requirement
@@ -238,16 +252,16 @@ dependencies:
238
252
  name: vehiculum-codestyle
239
253
  requirement: !ruby/object:Gem::Requirement
240
254
  requirements:
241
- - - "~>"
255
+ - - ">="
242
256
  - !ruby/object:Gem::Version
243
- version: 0.0.8
257
+ version: '0'
244
258
  type: :runtime
245
259
  prerelease: false
246
260
  version_requirements: !ruby/object:Gem::Requirement
247
261
  requirements:
248
- - - "~>"
262
+ - - ">="
249
263
  - !ruby/object:Gem::Version
250
- version: 0.0.8
264
+ version: '0'
251
265
  - !ruby/object:Gem::Dependency
252
266
  name: simplecov
253
267
  requirement: !ruby/object:Gem::Requirement
@@ -288,7 +302,6 @@ files:
288
302
  - ".rspec_status"
289
303
  - ".rubocop.yml"
290
304
  - Gemfile
291
- - Gemfile.lock
292
305
  - LICENSE
293
306
  - README.md
294
307
  - Rakefile
@@ -298,6 +311,7 @@ files:
298
311
  - lib/configs/.reek.yml
299
312
  - lib/configs/.rspec
300
313
  - lib/configs/.rubocop.yml
314
+ - lib/configs/lefthook.yml
301
315
  - lib/tasks/vehiculum_audit.rake
302
316
  - lib/vehiculum_audit.rb
303
317
  - lib/vehiculum_audit/railtie.rb
@@ -1,255 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- vehiculum_audit (0.0.1)
5
- awesome_print
6
- benchmark-ips
7
- brakeman
8
- bullet
9
- bundler-audit
10
- colorize
11
- fasterer
12
- hirb
13
- pry-byebug
14
- pry-rails
15
- pry-rescue
16
- pry-stack_explorer
17
- reek
18
- simplecov
19
- traceroute
20
- vehiculum-codestyle (~> 0.0.8)
21
-
22
- GEM
23
- remote: https://rubygems.org/
24
- specs:
25
- actioncable (6.0.3.1)
26
- actionpack (= 6.0.3.1)
27
- nio4r (~> 2.0)
28
- websocket-driver (>= 0.6.1)
29
- actionmailbox (6.0.3.1)
30
- actionpack (= 6.0.3.1)
31
- activejob (= 6.0.3.1)
32
- activerecord (= 6.0.3.1)
33
- activestorage (= 6.0.3.1)
34
- activesupport (= 6.0.3.1)
35
- mail (>= 2.7.1)
36
- actionmailer (6.0.3.1)
37
- actionpack (= 6.0.3.1)
38
- actionview (= 6.0.3.1)
39
- activejob (= 6.0.3.1)
40
- mail (~> 2.5, >= 2.5.4)
41
- rails-dom-testing (~> 2.0)
42
- actionpack (6.0.3.1)
43
- actionview (= 6.0.3.1)
44
- activesupport (= 6.0.3.1)
45
- rack (~> 2.0, >= 2.0.8)
46
- rack-test (>= 0.6.3)
47
- rails-dom-testing (~> 2.0)
48
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
49
- actiontext (6.0.3.1)
50
- actionpack (= 6.0.3.1)
51
- activerecord (= 6.0.3.1)
52
- activestorage (= 6.0.3.1)
53
- activesupport (= 6.0.3.1)
54
- nokogiri (>= 1.8.5)
55
- actionview (6.0.3.1)
56
- activesupport (= 6.0.3.1)
57
- builder (~> 3.1)
58
- erubi (~> 1.4)
59
- rails-dom-testing (~> 2.0)
60
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
61
- activejob (6.0.3.1)
62
- activesupport (= 6.0.3.1)
63
- globalid (>= 0.3.6)
64
- activemodel (6.0.3.1)
65
- activesupport (= 6.0.3.1)
66
- activerecord (6.0.3.1)
67
- activemodel (= 6.0.3.1)
68
- activesupport (= 6.0.3.1)
69
- activestorage (6.0.3.1)
70
- actionpack (= 6.0.3.1)
71
- activejob (= 6.0.3.1)
72
- activerecord (= 6.0.3.1)
73
- marcel (~> 0.3.1)
74
- activesupport (6.0.3.1)
75
- concurrent-ruby (~> 1.0, >= 1.0.2)
76
- i18n (>= 0.7, < 2)
77
- minitest (~> 5.1)
78
- tzinfo (~> 1.1)
79
- zeitwerk (~> 2.2, >= 2.2.2)
80
- ast (2.4.1)
81
- awesome_print (1.8.0)
82
- benchmark-ips (2.8.2)
83
- binding_of_caller (0.8.0)
84
- debug_inspector (>= 0.0.1)
85
- brakeman (4.8.2)
86
- builder (3.2.4)
87
- bullet (6.1.0)
88
- activesupport (>= 3.0.0)
89
- uniform_notifier (~> 1.11)
90
- bundler-audit (0.6.1)
91
- bundler (>= 1.2.0, < 3)
92
- thor (~> 0.18)
93
- byebug (11.1.3)
94
- coderay (1.1.3)
95
- colorize (0.8.1)
96
- concurrent-ruby (1.1.6)
97
- crass (1.0.6)
98
- debug_inspector (0.0.3)
99
- diff-lcs (1.3)
100
- docile (1.3.2)
101
- erubi (1.9.0)
102
- fasterer (0.8.3)
103
- colorize (~> 0.7)
104
- ruby_parser (>= 3.14.1)
105
- globalid (0.4.2)
106
- activesupport (>= 4.2.0)
107
- hirb (0.7.3)
108
- i18n (1.8.3)
109
- concurrent-ruby (~> 1.0)
110
- interception (0.5)
111
- jaro_winkler (1.5.4)
112
- kwalify (0.7.2)
113
- loofah (2.5.0)
114
- crass (~> 1.0.2)
115
- nokogiri (>= 1.5.9)
116
- mail (2.7.1)
117
- mini_mime (>= 0.1.1)
118
- marcel (0.3.3)
119
- mimemagic (~> 0.3.2)
120
- method_source (1.0.0)
121
- mimemagic (0.3.5)
122
- mini_mime (1.0.2)
123
- mini_portile2 (2.4.0)
124
- minitest (5.14.1)
125
- nio4r (2.5.2)
126
- nokogiri (1.10.9)
127
- mini_portile2 (~> 2.4.0)
128
- parallel (1.19.1)
129
- parser (2.7.1.3)
130
- ast (~> 2.4.0)
131
- pry (0.13.1)
132
- coderay (~> 1.1)
133
- method_source (~> 1.0)
134
- pry-byebug (3.9.0)
135
- byebug (~> 11.0)
136
- pry (~> 0.13.0)
137
- pry-rails (0.3.9)
138
- pry (>= 0.10.4)
139
- pry-rescue (1.5.1)
140
- interception (>= 0.5)
141
- pry (>= 0.12.0)
142
- pry-stack_explorer (0.5.1)
143
- binding_of_caller (~> 0.7)
144
- pry (~> 0.13)
145
- psych (3.1.0)
146
- rack (2.2.2)
147
- rack-test (1.1.0)
148
- rack (>= 1.0, < 3)
149
- rails (6.0.3.1)
150
- actioncable (= 6.0.3.1)
151
- actionmailbox (= 6.0.3.1)
152
- actionmailer (= 6.0.3.1)
153
- actionpack (= 6.0.3.1)
154
- actiontext (= 6.0.3.1)
155
- actionview (= 6.0.3.1)
156
- activejob (= 6.0.3.1)
157
- activemodel (= 6.0.3.1)
158
- activerecord (= 6.0.3.1)
159
- activestorage (= 6.0.3.1)
160
- activesupport (= 6.0.3.1)
161
- bundler (>= 1.3.0)
162
- railties (= 6.0.3.1)
163
- sprockets-rails (>= 2.0.0)
164
- rails-dom-testing (2.0.3)
165
- activesupport (>= 4.2.0)
166
- nokogiri (>= 1.6)
167
- rails-html-sanitizer (1.3.0)
168
- loofah (~> 2.3)
169
- railties (6.0.3.1)
170
- actionpack (= 6.0.3.1)
171
- activesupport (= 6.0.3.1)
172
- method_source
173
- rake (>= 0.8.7)
174
- thor (>= 0.20.3, < 2.0)
175
- rainbow (3.0.0)
176
- rake (13.0.1)
177
- reek (6.0.1)
178
- kwalify (~> 0.7.0)
179
- parser (>= 2.5.0.0, < 2.8, != 2.5.1.1)
180
- psych (~> 3.1.0)
181
- rainbow (>= 2.0, < 4.0)
182
- rexml (3.2.4)
183
- rspec (3.9.0)
184
- rspec-core (~> 3.9.0)
185
- rspec-expectations (~> 3.9.0)
186
- rspec-mocks (~> 3.9.0)
187
- rspec-core (3.9.2)
188
- rspec-support (~> 3.9.3)
189
- rspec-expectations (3.9.2)
190
- diff-lcs (>= 1.2.0, < 2.0)
191
- rspec-support (~> 3.9.0)
192
- rspec-mocks (3.9.1)
193
- diff-lcs (>= 1.2.0, < 2.0)
194
- rspec-support (~> 3.9.0)
195
- rspec-support (3.9.3)
196
- rubocop (0.82.0)
197
- jaro_winkler (~> 1.5.1)
198
- parallel (~> 1.10)
199
- parser (>= 2.7.0.1)
200
- rainbow (>= 2.2.2, < 4.0)
201
- rexml
202
- ruby-progressbar (~> 1.7)
203
- unicode-display_width (>= 1.4.0, < 2.0)
204
- rubocop-performance (1.5.2)
205
- rubocop (>= 0.71.0)
206
- rubocop-rails (2.5.2)
207
- activesupport
208
- rack (>= 1.1)
209
- rubocop (>= 0.72.0)
210
- rubocop-rspec (1.39.0)
211
- rubocop (>= 0.68.1)
212
- ruby-progressbar (1.10.1)
213
- ruby_parser (3.14.2)
214
- sexp_processor (~> 4.9)
215
- sexp_processor (4.15.0)
216
- simplecov (0.18.5)
217
- docile (~> 1.1)
218
- simplecov-html (~> 0.11)
219
- simplecov-html (0.12.2)
220
- sprockets (4.0.2)
221
- concurrent-ruby (~> 1.0)
222
- rack (> 1, < 3)
223
- sprockets-rails (3.2.1)
224
- actionpack (>= 4.0)
225
- activesupport (>= 4.0)
226
- sprockets (>= 3.0.0)
227
- thor (0.20.3)
228
- thread_safe (0.3.6)
229
- traceroute (0.8.1)
230
- rails (>= 3.0.0)
231
- tzinfo (1.2.7)
232
- thread_safe (~> 0.1)
233
- unicode-display_width (1.7.0)
234
- uniform_notifier (1.13.0)
235
- vehiculum-codestyle (0.0.8)
236
- rubocop (= 0.82.0)
237
- rubocop-performance (= 1.5.2)
238
- rubocop-rails (= 2.5.2)
239
- rubocop-rspec (= 1.39.0)
240
- websocket-driver (0.7.2)
241
- websocket-extensions (>= 0.1.0)
242
- websocket-extensions (0.1.5)
243
- zeitwerk (2.3.0)
244
-
245
- PLATFORMS
246
- ruby
247
-
248
- DEPENDENCIES
249
- bundler (~> 2.1.2)
250
- rake
251
- rspec
252
- vehiculum_audit!
253
-
254
- BUNDLED WITH
255
- 2.1.2