vehiculum_audit 0.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 5791c382e66711a8420a4fb35a2341bb4197546545b0ea3aaf640e481860e5b1
4
+ data.tar.gz: 2d2aab223edbd92480b850c3b012dd78f8d5777af5b644dacd5925f1f596b79e
5
+ SHA512:
6
+ metadata.gz: 907e7f17b70a1985fa7d0f140f398e653ed84dd9b31129217bf77dcdf485689200b36d63a504ece144f217e54d8586d13a7a2386a1dfa4df92829f84280984ec
7
+ data.tar.gz: 2f2ad8689e7e0efeaa74c6ad3bf598aa5c28d41c2e12044d27b10c439d8cad93e8ad241a52e4d7a41cd6373d3d1fac4a53cc2b541b5dab36c100e9088dad15ae
@@ -0,0 +1,30 @@
1
+ name: vehiculum_audit
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ build:
11
+ name: Build + Publish
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Ruby 2.6
17
+ uses: actions/setup-ruby@v1
18
+ with:
19
+ version: 2.6.x
20
+
21
+ - name: Publish to RubyGems
22
+ run: |
23
+ mkdir -p $HOME/.gem
24
+ touch $HOME/.gem/credentials
25
+ chmod 0600 $HOME/.gem/credentials
26
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
27
+ gem build *.gemspec
28
+ gem push *.gem
29
+ env:
30
+ GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
@@ -0,0 +1,56 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ # Ignore Byebug command history file.
17
+ .byebug_history
18
+
19
+ ## Specific to RubyMotion:
20
+ .dat*
21
+ .repl_history
22
+ build/
23
+ *.bridgesupport
24
+ build-iPhoneOS/
25
+ build-iPhoneSimulator/
26
+
27
+ ## Specific to RubyMotion (use of CocoaPods):
28
+ #
29
+ # We recommend against adding the Pods directory to your .gitignore. However
30
+ # you should judge for yourself, the pros and cons are mentioned at:
31
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
32
+ #
33
+ # vendor/Pods/
34
+
35
+ ## Documentation cache and generated files:
36
+ /.yardoc/
37
+ /_yardoc/
38
+ /doc/
39
+ /rdoc/
40
+
41
+ ## Environment normalization:
42
+ /.bundle/
43
+ /vendor/bundle
44
+ /lib/bundler/man/
45
+
46
+ # for a library or gem, you might want to ignore these files since the code is
47
+ # intended to run in multiple environments; otherwise, check them in:
48
+ # Gemfile.lock
49
+ # .ruby-version
50
+ # .ruby-gemset
51
+
52
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
53
+ .rvmrc
54
+
55
+ # Used by RuboCop. Remote config files pulled in from inherit_from directive.
56
+ # .rubocop-https?--*
@@ -0,0 +1,3 @@
1
+ example_id | status | run_time |
2
+ ----------------------------------- | ------ | --------------- |
3
+ ./spec/vehiculum_audit_spec.rb[1:1] | passed | 0.00076 seconds |
@@ -0,0 +1,157 @@
1
+ require:
2
+ - rubocop-minitest
3
+ - rubocop-rake
4
+
5
+ inherit_gem:
6
+ vehiculum-codestyle:
7
+ - default.yml
8
+
9
+ inherit_from: .rubocop_todo.yml
10
+
11
+ Style/Documentation:
12
+ Enabled: false
13
+
14
+ Style/MixinUsage:
15
+ Exclude:
16
+ - 'bin/setup'
17
+ - 'bin/update'
18
+
19
+ Metrics/MethodLength:
20
+ Max: 68
21
+
22
+ Metrics/ClassLength:
23
+ Max: 258
24
+ Exclude:
25
+ - 'app/components/consumer/factories/persist_leasing_request.rb'
26
+
27
+ Metrics/ModuleLength:
28
+ Max: 212
29
+
30
+ Metrics/ParameterLists:
31
+ Enabled: false
32
+
33
+ Style/ExponentialNotation:
34
+ Enabled: false
35
+ EnforcedStyle: engineering
36
+
37
+ Style/HashEachMethods:
38
+ Enabled: true
39
+
40
+ Style/HashTransformKeys:
41
+ Enabled: true
42
+
43
+ Style/HashTransformValues:
44
+ Enabled: true
45
+
46
+ Style/MethodMissingSuper:
47
+ Enabled: false
48
+
49
+ Style/MissingRespondToMissing:
50
+ Enabled: false
51
+
52
+ Style/NumericLiteralPrefix:
53
+ Enabled: false
54
+
55
+ Naming/VariableNumber:
56
+ Enabled: false
57
+
58
+ Naming/PredicateName:
59
+ Enabled: false
60
+
61
+ Style/DoubleNegation:
62
+ Enabled: false
63
+
64
+ Style/EmptyMethod:
65
+ Enabled: false
66
+
67
+ Style/StringLiteralsInInterpolation:
68
+ Enabled: false
69
+
70
+ # Nodody really wants this. We are using Ruby! ` return ` as direct call should be used as less as possible
71
+ Style/GuardClause:
72
+ Enabled: false
73
+
74
+ Style/FormatStringToken:
75
+ Exclude:
76
+ - spec/**/*
77
+
78
+ Style/CaseEquality:
79
+ Exclude:
80
+ - spec/**/*
81
+
82
+ Style/SafeNavigation:
83
+ Enabled: false
84
+
85
+ Metrics/AbcSize:
86
+ Max: 99
87
+ Exclude:
88
+ - spec/**/*
89
+
90
+ Metrics/CyclomaticComplexity:
91
+ Max: 13
92
+
93
+ Metrics/PerceivedComplexity:
94
+ Max: 14
95
+
96
+ Layout/LineLength:
97
+ Max: 120
98
+ IgnoredPatterns: ['(\A|\s)#']
99
+
100
+ Layout/MultilineHashBraceLayout:
101
+ EnforcedStyle: symmetrical
102
+
103
+ Layout/HashAlignment:
104
+ Enabled: false
105
+
106
+ Layout/ParameterAlignment:
107
+ Enabled: false
108
+
109
+ Layout/SpaceAroundMethodCallOperator:
110
+ Enabled: true
111
+
112
+ Metrics/BlockLength:
113
+ Enabled: false
114
+
115
+ # Allows to create getter and setter methods with get_ and set_
116
+ Naming/AccessorMethodName:
117
+ Enabled: false
118
+
119
+ Naming/MemoizedInstanceVariableName:
120
+ Enabled: false
121
+
122
+ Lint/AmbiguousBlockAssociation:
123
+ Exclude:
124
+ - "spec/**/*"
125
+
126
+ Lint/AmbiguousOperator:
127
+ Enabled: true
128
+
129
+ Lint/RaiseException:
130
+ Enabled: true
131
+
132
+ Lint/StructNewOverride:
133
+ Enabled: true
134
+
135
+ AllCops:
136
+ DisplayCopNames: true
137
+ TargetRubyVersion: 2.6.5
138
+ CacheRootDirectory: tmp/test-results
139
+ Exclude:
140
+ - db/**/*
141
+ - bin/**
142
+ - utils/**/*
143
+ - Guardfile
144
+ - config/**/*
145
+ - node_modules/**/*
146
+ - vendor/**/*
147
+ - Gemfile
148
+ - Gemfile.lock
149
+
150
+ RSpec/RepeatedDescription:
151
+ Enabled: false
152
+
153
+ RSpec/RepeatedExampleGroupBody:
154
+ Enabled: false
155
+
156
+ RSpec/RepeatedExampleGroupDescription:
157
+ Enabled: false
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ # Specify your gem's dependencies in vehiculum_audit.gemspec
8
+ gemspec
@@ -0,0 +1,255 @@
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