lite-regulations 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +16 -3
- data/.travis.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +103 -87
- data/lib/lite/regulations/version.rb +1 -1
- data/lite-regulations.gemspec +2 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50614563a4ce1e9b8fa5dd7d6b6a48d6adfb09945274d90d004ff1bba75de5e3
|
4
|
+
data.tar.gz: f57f1fcef110593d34b604b2dea323bb22fba8668f8d7452fbb914b3394a45a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d0e5e82075d337820371f622daf347111ab11ef6a0206fa1cbbe1aab53f379a21eb1be2882d7d3b00db036b4d74014f256eb74b9b22b948fd92be61e14fab6f
|
7
|
+
data.tar.gz: a5b6ce8d9da619896eebfc8d7380095f054009a1cd2d8f1bc44205d4d5278b99b9a0c02791ee35796ce7468cf92bb058a2e2740374f3a02678fa1c50fceb4375
|
data/.rubocop.yml
CHANGED
@@ -2,11 +2,14 @@ require:
|
|
2
2
|
- rubocop-performance
|
3
3
|
- rubocop-rspec
|
4
4
|
AllCops:
|
5
|
-
TargetRubyVersion:
|
5
|
+
TargetRubyVersion: 3.0
|
6
|
+
NewCops: enable
|
6
7
|
DisplayCopNames: true
|
7
8
|
DisplayStyleGuide: true
|
8
|
-
|
9
|
-
|
9
|
+
Gemspec/RequiredRubyVersion:
|
10
|
+
Enabled: false
|
11
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
12
|
+
Enabled: true
|
10
13
|
Layout/EmptyLinesAroundBlockBody:
|
11
14
|
Exclude:
|
12
15
|
- 'spec/**/**/*'
|
@@ -14,10 +17,20 @@ Layout/EmptyLinesAroundClassBody:
|
|
14
17
|
EnforcedStyle: empty_lines_except_namespace
|
15
18
|
Layout/EmptyLinesAroundModuleBody:
|
16
19
|
EnforcedStyle: empty_lines_except_namespace
|
20
|
+
Layout/LineLength:
|
21
|
+
Max: 100
|
22
|
+
Layout/SpaceAroundMethodCallOperator:
|
23
|
+
Enabled: true
|
24
|
+
Lint/RaiseException:
|
25
|
+
Enabled: true
|
26
|
+
Lint/StructNewOverride:
|
27
|
+
Enabled: true
|
17
28
|
Metrics/BlockLength:
|
18
29
|
Exclude:
|
19
30
|
- 'spec/**/**/*'
|
20
31
|
- '*.gemspec'
|
32
|
+
Style/ArgumentsForwarding:
|
33
|
+
Enabled: false
|
21
34
|
Style/Documentation:
|
22
35
|
Enabled: false
|
23
36
|
Style/ExpandPathArguments:
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,121 +1,136 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lite-regulations (1.
|
4
|
+
lite-regulations (1.1.0)
|
5
5
|
activerecord
|
6
6
|
activesupport
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionpack (
|
12
|
-
actionview (=
|
13
|
-
activesupport (=
|
14
|
-
rack (~> 2.0)
|
11
|
+
actionpack (6.1.4)
|
12
|
+
actionview (= 6.1.4)
|
13
|
+
activesupport (= 6.1.4)
|
14
|
+
rack (~> 2.0, >= 2.0.9)
|
15
15
|
rack-test (>= 0.6.3)
|
16
16
|
rails-dom-testing (~> 2.0)
|
17
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
18
|
-
actionview (
|
19
|
-
activesupport (=
|
17
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
18
|
+
actionview (6.1.4)
|
19
|
+
activesupport (= 6.1.4)
|
20
20
|
builder (~> 3.1)
|
21
21
|
erubi (~> 1.4)
|
22
22
|
rails-dom-testing (~> 2.0)
|
23
|
-
rails-html-sanitizer (~> 1.
|
24
|
-
activemodel (
|
25
|
-
activesupport (=
|
26
|
-
activerecord (
|
27
|
-
activemodel (=
|
28
|
-
activesupport (=
|
29
|
-
|
30
|
-
activesupport (5.2.3)
|
23
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
24
|
+
activemodel (6.1.4)
|
25
|
+
activesupport (= 6.1.4)
|
26
|
+
activerecord (6.1.4)
|
27
|
+
activemodel (= 6.1.4)
|
28
|
+
activesupport (= 6.1.4)
|
29
|
+
activesupport (6.1.4)
|
31
30
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
32
|
-
i18n (>=
|
33
|
-
minitest (
|
34
|
-
tzinfo (~>
|
35
|
-
|
36
|
-
ast (2.4.
|
37
|
-
builder (3.2.
|
31
|
+
i18n (>= 1.6, < 2)
|
32
|
+
minitest (>= 5.1)
|
33
|
+
tzinfo (~> 2.0)
|
34
|
+
zeitwerk (~> 2.3)
|
35
|
+
ast (2.4.2)
|
36
|
+
builder (3.2.4)
|
38
37
|
colorize (0.8.1)
|
39
|
-
concurrent-ruby (1.1.
|
40
|
-
crass (1.0.
|
41
|
-
database_cleaner (
|
42
|
-
|
43
|
-
|
44
|
-
|
38
|
+
concurrent-ruby (1.1.9)
|
39
|
+
crass (1.0.6)
|
40
|
+
database_cleaner (2.0.1)
|
41
|
+
database_cleaner-active_record (~> 2.0.0)
|
42
|
+
database_cleaner-active_record (2.0.1)
|
43
|
+
activerecord (>= 5.a)
|
44
|
+
database_cleaner-core (~> 2.0.0)
|
45
|
+
database_cleaner-core (2.0.1)
|
46
|
+
diff-lcs (1.4.4)
|
47
|
+
erubi (1.10.0)
|
48
|
+
fasterer (0.9.0)
|
45
49
|
colorize (~> 0.7)
|
46
|
-
ruby_parser (>= 3.
|
47
|
-
i18n (1.
|
50
|
+
ruby_parser (>= 3.14.1)
|
51
|
+
i18n (1.8.10)
|
48
52
|
concurrent-ruby (~> 1.0)
|
49
|
-
|
50
|
-
loofah (2.2.3)
|
53
|
+
loofah (2.10.0)
|
51
54
|
crass (~> 1.0.2)
|
52
55
|
nokogiri (>= 1.5.9)
|
53
|
-
method_source (0.
|
54
|
-
mini_portile2 (2.
|
55
|
-
minitest (5.
|
56
|
-
nokogiri (1.
|
57
|
-
mini_portile2 (~> 2.
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
56
|
+
method_source (1.0.0)
|
57
|
+
mini_portile2 (2.5.3)
|
58
|
+
minitest (5.14.4)
|
59
|
+
nokogiri (1.11.7)
|
60
|
+
mini_portile2 (~> 2.5.0)
|
61
|
+
racc (~> 1.4)
|
62
|
+
parallel (1.20.1)
|
63
|
+
parser (3.0.2.0)
|
64
|
+
ast (~> 2.4.1)
|
65
|
+
racc (1.5.2)
|
66
|
+
rack (2.2.3)
|
62
67
|
rack-test (1.1.0)
|
63
68
|
rack (>= 1.0, < 3)
|
64
69
|
rails-dom-testing (2.0.3)
|
65
70
|
activesupport (>= 4.2.0)
|
66
71
|
nokogiri (>= 1.6)
|
67
|
-
rails-html-sanitizer (1.0
|
68
|
-
loofah (~> 2.
|
69
|
-
railties (
|
70
|
-
actionpack (=
|
71
|
-
activesupport (=
|
72
|
+
rails-html-sanitizer (1.3.0)
|
73
|
+
loofah (~> 2.3)
|
74
|
+
railties (6.1.4)
|
75
|
+
actionpack (= 6.1.4)
|
76
|
+
activesupport (= 6.1.4)
|
72
77
|
method_source
|
73
|
-
rake (>= 0.
|
74
|
-
thor (
|
78
|
+
rake (>= 0.13)
|
79
|
+
thor (~> 1.0)
|
75
80
|
rainbow (3.0.0)
|
76
|
-
rake (
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
rspec-
|
81
|
-
|
82
|
-
rspec-
|
83
|
-
rspec-
|
81
|
+
rake (13.0.6)
|
82
|
+
regexp_parser (2.1.1)
|
83
|
+
rexml (3.2.5)
|
84
|
+
rspec (3.10.0)
|
85
|
+
rspec-core (~> 3.10.0)
|
86
|
+
rspec-expectations (~> 3.10.0)
|
87
|
+
rspec-mocks (~> 3.10.0)
|
88
|
+
rspec-core (3.10.1)
|
89
|
+
rspec-support (~> 3.10.0)
|
90
|
+
rspec-expectations (3.10.1)
|
84
91
|
diff-lcs (>= 1.2.0, < 2.0)
|
85
|
-
rspec-support (~> 3.
|
86
|
-
rspec-mocks (3.
|
92
|
+
rspec-support (~> 3.10.0)
|
93
|
+
rspec-mocks (3.10.2)
|
87
94
|
diff-lcs (>= 1.2.0, < 2.0)
|
88
|
-
rspec-support (~> 3.
|
89
|
-
rspec-rails (
|
90
|
-
actionpack (>=
|
91
|
-
activesupport (>=
|
92
|
-
railties (>=
|
93
|
-
rspec-core (~> 3.
|
94
|
-
rspec-expectations (~> 3.
|
95
|
-
rspec-mocks (~> 3.
|
96
|
-
rspec-support (~> 3.
|
97
|
-
rspec-support (3.
|
98
|
-
rubocop (
|
99
|
-
jaro_winkler (~> 1.5.1)
|
95
|
+
rspec-support (~> 3.10.0)
|
96
|
+
rspec-rails (5.0.1)
|
97
|
+
actionpack (>= 5.2)
|
98
|
+
activesupport (>= 5.2)
|
99
|
+
railties (>= 5.2)
|
100
|
+
rspec-core (~> 3.10)
|
101
|
+
rspec-expectations (~> 3.10)
|
102
|
+
rspec-mocks (~> 3.10)
|
103
|
+
rspec-support (~> 3.10)
|
104
|
+
rspec-support (3.10.2)
|
105
|
+
rubocop (1.18.3)
|
100
106
|
parallel (~> 1.10)
|
101
|
-
parser (>=
|
107
|
+
parser (>= 3.0.0.0)
|
102
108
|
rainbow (>= 2.2.2, < 4.0)
|
109
|
+
regexp_parser (>= 1.8, < 3.0)
|
110
|
+
rexml
|
111
|
+
rubocop-ast (>= 1.7.0, < 2.0)
|
103
112
|
ruby-progressbar (~> 1.7)
|
104
|
-
unicode-display_width (>= 1.4.0, <
|
105
|
-
rubocop-
|
106
|
-
|
107
|
-
rubocop-
|
108
|
-
rubocop (>=
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
113
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
114
|
+
rubocop-ast (1.8.0)
|
115
|
+
parser (>= 3.0.1.1)
|
116
|
+
rubocop-performance (1.11.4)
|
117
|
+
rubocop (>= 1.7.0, < 2.0)
|
118
|
+
rubocop-ast (>= 0.4.0)
|
119
|
+
rubocop-rake (0.6.0)
|
120
|
+
rubocop (~> 1.0)
|
121
|
+
rubocop-rspec (2.4.0)
|
122
|
+
rubocop (~> 1.0)
|
123
|
+
rubocop-ast (>= 1.1.0)
|
124
|
+
ruby-progressbar (1.11.0)
|
125
|
+
ruby_parser (3.16.0)
|
126
|
+
sexp_processor (~> 4.15, >= 4.15.1)
|
127
|
+
sexp_processor (4.15.3)
|
128
|
+
sqlite3 (1.4.2)
|
129
|
+
thor (1.1.0)
|
130
|
+
tzinfo (2.0.4)
|
131
|
+
concurrent-ruby (~> 1.0)
|
132
|
+
unicode-display_width (2.0.0)
|
133
|
+
zeitwerk (2.4.2)
|
119
134
|
|
120
135
|
PLATFORMS
|
121
136
|
ruby
|
@@ -130,8 +145,9 @@ DEPENDENCIES
|
|
130
145
|
rspec-rails
|
131
146
|
rubocop
|
132
147
|
rubocop-performance
|
148
|
+
rubocop-rake
|
133
149
|
rubocop-rspec
|
134
150
|
sqlite3
|
135
151
|
|
136
152
|
BUNDLED WITH
|
137
|
-
2.
|
153
|
+
2.2.24
|
data/lite-regulations.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
)
|
26
26
|
else
|
27
27
|
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
28
|
-
|
28
|
+
'public gem pushes.'
|
29
29
|
end
|
30
30
|
|
31
31
|
# Specify which files should be added to the gem when it is released.
|
@@ -48,6 +48,7 @@ Gem::Specification.new do |spec|
|
|
48
48
|
spec.add_development_dependency 'rspec-rails'
|
49
49
|
spec.add_development_dependency 'rubocop'
|
50
50
|
spec.add_development_dependency 'rubocop-performance'
|
51
|
+
spec.add_development_dependency 'rubocop-rake'
|
51
52
|
spec.add_development_dependency 'rubocop-rspec'
|
52
53
|
spec.add_development_dependency 'sqlite3'
|
53
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lite-regulations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rubocop-rake
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: rubocop-rspec
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,7 +192,7 @@ dependencies:
|
|
178
192
|
- - ">="
|
179
193
|
- !ruby/object:Gem::Version
|
180
194
|
version: '0'
|
181
|
-
description:
|
195
|
+
description:
|
182
196
|
email:
|
183
197
|
- j.gomez@drexed.com
|
184
198
|
executables: []
|
@@ -223,7 +237,7 @@ homepage: http://drexed.github.io/lite-regulations
|
|
223
237
|
licenses:
|
224
238
|
- MIT
|
225
239
|
metadata: {}
|
226
|
-
post_install_message:
|
240
|
+
post_install_message:
|
227
241
|
rdoc_options: []
|
228
242
|
require_paths:
|
229
243
|
- lib
|
@@ -238,8 +252,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
238
252
|
- !ruby/object:Gem::Version
|
239
253
|
version: '0'
|
240
254
|
requirements: []
|
241
|
-
rubygems_version: 3.
|
242
|
-
signing_key:
|
255
|
+
rubygems_version: 3.2.24
|
256
|
+
signing_key:
|
243
257
|
specification_version: 4
|
244
258
|
summary: Collection of mixins to control the state of a database record
|
245
259
|
test_files: []
|