rubocop-rubomatic-rails 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: d8646768696cedede766247e7cc0b8ccce704f5811c4bc44692958660a69fccc
4
- data.tar.gz: 41661109013c50335fe58f3da635fc24cc4062f42673cefb493c4e6e4ae2b16f
3
+ metadata.gz: 806ea3b470b84c4d0ef7bea9c717d487bc76d869e38427b0b689ea5b16030784
4
+ data.tar.gz: d6daf7fa46daece9162f56b4d0ebc002f40dafc7d8ee396fdfaf2ea48be28b48
5
5
  SHA512:
6
- metadata.gz: c56c75546eea8ae8ceb163fc9ba0c5645a555d7d6b691ff6b43371a6a2b67b80efed14d790d5e68a38b3efed903b280fbb16f3e4a56f020ae5dcabe0b2d65422
7
- data.tar.gz: bffebba35336d00b03d57908ae86c67c857edd9c5c64038b3f9b5d8339d8b88bd1067e03c040c29c20c7abb4afe662f383b96bddc5df3926daee518aefe9f805
6
+ metadata.gz: fae2ff4608827abe19fd6156d44e34ccf5d7d455237448c16995ea7a6aff3c69cef823b8f245da24fa3024d00f4fca4cf8d313dbe47f172d716f7df13acecdbd
7
+ data.tar.gz: be4a324f5118416d3691a9251068da1365020d85740fb3e6f83f2d348f898771f130bba3b7e9be01f89e5b4e01b28a82bd43516e61855b75cbf78848224e0875
data/CHANGELOG.adoc CHANGED
@@ -1,3 +1,14 @@
1
+ == 1.1.0
2
+
3
+ === Cops
4
+
5
+ * Enabled `Rails/ThreeStateBooleanColumn`
6
+
7
+ === Dependencies
8
+
9
+ * `rubocop-rubomatic`, `>= 1.0.0`, `< 2.0`
10
+ * `rubocop-rails@2.19.0`
11
+
1
12
  == 1.0.0
2
13
 
3
14
  * Initial renaming migration
data/config/rails.yml CHANGED
@@ -958,6 +958,14 @@ Rails/TimeZoneAssignment:
958
958
  - spec/**/*.rb
959
959
  - test/**/*.rb
960
960
 
961
+ Rails/ThreeStateBooleanColumn:
962
+ Description: Add a default value and a `NOT NULL` constraint to boolean columns.
963
+ StyleGuide: https://rails.rubystyle.guide/#three-state-boolean
964
+ Enabled: true
965
+ VersionAdded: '2.19'
966
+ Include:
967
+ - db/**/*.rb
968
+
961
969
  Rails/ToFormattedS:
962
970
  Description: 'Checks for consistent uses of `to_fs` or `to_formatted_s`.'
963
971
  StyleGuide: 'https://rails.rubystyle.guide/#prefer-to-fs'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module RubomaticRails
5
- VERSION = '1.0.0'
5
+ VERSION = '1.1.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rubomatic-rails
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
  - Brands Insurance
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-05 00:00:00.000000000 Z
11
+ date: 2023-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop-rails
@@ -16,28 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.18.0
19
+ version: 2.19.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.18.0
26
+ version: 2.19.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rubomatic
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.0.0
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '2.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: 1.0.0
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.0'
41
47
  description:
42
48
  email:
43
49
  - documents@brandsinsurance.com