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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fb0af891daafb5d1225d4a5c5f0b5d08ac8b0bb9b0faa750dfc46c3238d5054
4
- data.tar.gz: 99b9963b02ccb39b541fd48c62068c5bdf925293835897fb066f9341d30e3b31
3
+ metadata.gz: 50614563a4ce1e9b8fa5dd7d6b6a48d6adfb09945274d90d004ff1bba75de5e3
4
+ data.tar.gz: f57f1fcef110593d34b604b2dea323bb22fba8668f8d7452fbb914b3394a45a2
5
5
  SHA512:
6
- metadata.gz: a02aad5930c31afa80dff4997bf722be622f8188722043171a2115fd2ae0549b804bbb3ce5ef3297453578620ce1c1c73499cea902e4bc1c71e0d86bd3778cb1
7
- data.tar.gz: 7609e2b1b4260fd966c115402cd465e9c922a950c7bf510a0789ac662a3501dfff614d931b6f4281385e7b001e06d8e8cd6e199c719d1642c45562bb4adfc943
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: 2.6
5
+ TargetRubyVersion: 3.0
6
+ NewCops: enable
6
7
  DisplayCopNames: true
7
8
  DisplayStyleGuide: true
8
- LineLength:
9
- Max: 100
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
@@ -4,6 +4,7 @@ cache: bundler
4
4
  rvm:
5
5
  - 2.5
6
6
  - 2.6
7
+ - 2.7
7
8
  - ruby-head
8
9
  matrix:
9
10
  fast_finish: true
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.1.0] - 2021-07-19
10
+ ### Added
11
+ - Added Ruby 3.0 support
12
+
9
13
  ## [1.0.0] - 2019-07-18
10
14
  ### Added
11
15
  - Initial project version
data/Gemfile.lock CHANGED
@@ -1,121 +1,136 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-regulations (1.0.0)
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 (5.2.3)
12
- actionview (= 5.2.3)
13
- activesupport (= 5.2.3)
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.2)
18
- actionview (5.2.3)
19
- activesupport (= 5.2.3)
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.0, >= 1.0.3)
24
- activemodel (5.2.3)
25
- activesupport (= 5.2.3)
26
- activerecord (5.2.3)
27
- activemodel (= 5.2.3)
28
- activesupport (= 5.2.3)
29
- arel (>= 9.0)
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 (>= 0.7, < 2)
33
- minitest (~> 5.1)
34
- tzinfo (~> 1.1)
35
- arel (9.0.0)
36
- ast (2.4.0)
37
- builder (3.2.3)
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.5)
40
- crass (1.0.4)
41
- database_cleaner (1.7.0)
42
- diff-lcs (1.3)
43
- erubi (1.8.0)
44
- fasterer (0.5.1)
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.13.0)
47
- i18n (1.6.0)
50
+ ruby_parser (>= 3.14.1)
51
+ i18n (1.8.10)
48
52
  concurrent-ruby (~> 1.0)
49
- jaro_winkler (1.5.3)
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.9.2)
54
- mini_portile2 (2.4.0)
55
- minitest (5.11.3)
56
- nokogiri (1.10.3)
57
- mini_portile2 (~> 2.4.0)
58
- parallel (1.17.0)
59
- parser (2.6.3.0)
60
- ast (~> 2.4.0)
61
- rack (2.0.7)
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.4)
68
- loofah (~> 2.2, >= 2.2.2)
69
- railties (5.2.3)
70
- actionpack (= 5.2.3)
71
- activesupport (= 5.2.3)
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.8.7)
74
- thor (>= 0.19.0, < 2.0)
78
+ rake (>= 0.13)
79
+ thor (~> 1.0)
75
80
  rainbow (3.0.0)
76
- rake (12.3.2)
77
- rspec (3.8.0)
78
- rspec-core (~> 3.8.0)
79
- rspec-expectations (~> 3.8.0)
80
- rspec-mocks (~> 3.8.0)
81
- rspec-core (3.8.2)
82
- rspec-support (~> 3.8.0)
83
- rspec-expectations (3.8.4)
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.8.0)
86
- rspec-mocks (3.8.1)
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.8.0)
89
- rspec-rails (3.8.2)
90
- actionpack (>= 3.0)
91
- activesupport (>= 3.0)
92
- railties (>= 3.0)
93
- rspec-core (~> 3.8.0)
94
- rspec-expectations (~> 3.8.0)
95
- rspec-mocks (~> 3.8.0)
96
- rspec-support (~> 3.8.0)
97
- rspec-support (3.8.2)
98
- rubocop (0.72.0)
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 (>= 2.6)
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, < 1.7)
105
- rubocop-performance (1.4.0)
106
- rubocop (>= 0.71.0)
107
- rubocop-rspec (1.33.0)
108
- rubocop (>= 0.60.0)
109
- ruby-progressbar (1.10.1)
110
- ruby_parser (3.13.1)
111
- sexp_processor (~> 4.9)
112
- sexp_processor (4.12.1)
113
- sqlite3 (1.4.1)
114
- thor (0.20.3)
115
- thread_safe (0.3.6)
116
- tzinfo (1.2.5)
117
- thread_safe (~> 0.1)
118
- unicode-display_width (1.6.0)
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.0.1
153
+ 2.2.24
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Regulations
5
5
 
6
- VERSION ||= '1.0.0'
6
+ VERSION = '1.1.0'
7
7
 
8
8
  end
9
9
  end
@@ -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
- 'public gem pushes.'
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.0.0
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: 2019-08-13 00:00:00.000000000 Z
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.0.4
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: []