rubocop-mailo 0.1.2 → 0.3.0
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.
- checksums.yaml +4 -4
- data/README.md +46 -0
- data/rubocop.yaml +8 -5
- metadata +17 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3728afb9bf22d6f7be49dd8b30d1ffff35ee125c080d9a2ec3a1a6c649b15d7d
|
4
|
+
data.tar.gz: b34453f42518275b85216a649d43ee9aa93dfee3803deae97e57a4bef8e4bf24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2696612354cf3e2893894d790cd6b523ce29f903502d817405b33cfb6011857f5b8e7864d46ab929cbe186bf0eb334ef50c9909d675e18b36ebbf16743c59cd
|
7
|
+
data.tar.gz: 659deeb873ce56a00af4c8a19bce4fff5aad58e0e162d624cd591373ea602daa76342759a53cff02926d42224b85bb813e148916f5521cd71ac82e5660c8f196
|
data/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Rubocop::Mailo
|
2
|
+
|
3
|
+
This is my set of rules for [Rubocop](https://github.com/rubocop-hq/rubocop). Rubocop supports [configuration
|
4
|
+
distribution via http](https://rubocop.readthedocs.io/en/latest/configuration/#inheriting-configuration-from-a-remote-url),
|
5
|
+
but it has proven problematic in some environments, hence this gem.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'rubocop-mailo'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install rubocop-mailo
|
22
|
+
|
23
|
+
Add file _.rubocop.yml_ to root of you Ruby project. The file should have following content
|
24
|
+
|
25
|
+
~~~yaml
|
26
|
+
inherit_gem:
|
27
|
+
rubocop-mailo: rubocop.yaml
|
28
|
+
~~~
|
29
|
+
|
30
|
+
## Usage
|
31
|
+
|
32
|
+
Run `rubocop`. If you wanna verify configuration from this project is actually used, You can run `rubocop --debug`
|
33
|
+
|
34
|
+
## Development
|
35
|
+
|
36
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
37
|
+
|
38
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
39
|
+
|
40
|
+
## Contributing
|
41
|
+
|
42
|
+
Bug reports and pull requests are welcome on Gitlab at https://gitlab.com/lipoqil/rubocop-mailo.
|
43
|
+
|
44
|
+
## License
|
45
|
+
|
46
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/rubocop.yaml
CHANGED
@@ -9,12 +9,15 @@ AllCops:
|
|
9
9
|
- 'db/migrate/*'
|
10
10
|
- 'node_modules/**/*'
|
11
11
|
- 'tmp/**/*'
|
12
|
+
NewCops: enable
|
13
|
+
TargetRubyVersion: 3.1
|
12
14
|
|
13
|
-
|
14
|
-
|
15
|
-
- 'spec/**/*_spec.rb'
|
15
|
+
Layout/HashAlignment:
|
16
|
+
EnforcedColonStyle: table
|
16
17
|
|
17
|
-
|
18
|
+
Layout/LineLength:
|
18
19
|
Max: 120
|
19
20
|
|
20
|
-
|
21
|
+
Metrics/BlockLength:
|
22
|
+
Exclude:
|
23
|
+
- 'spec/**/*_spec.rb'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-mailo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mailo Světel
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.36.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:
|
26
|
+
version: 1.36.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.3.22
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 2.3.22
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 13.0.6
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 13.0.6
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 3.11.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 3.11.0
|
69
69
|
description: Set of my default Rubocop rules
|
70
70
|
email:
|
71
71
|
- mailo@rooland.cz
|
@@ -73,6 +73,7 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- README.md
|
76
77
|
- rubocop.yaml
|
77
78
|
homepage: https://gitlab.com/lipoqil/rubocop-mailo
|
78
79
|
licenses:
|
@@ -82,7 +83,8 @@ metadata:
|
|
82
83
|
homepage_uri: https://gitlab.com/lipoqil/rubocop-mailo
|
83
84
|
source_code_uri: https://gitlab.com/lipoqil/rubocop-mailo
|
84
85
|
changelog_uri: https://gitlab.com/lipoqil/rubocop-mailo/blob/master/CHANGELOG
|
85
|
-
|
86
|
+
rubygems_mfa_required: 'true'
|
87
|
+
post_install_message:
|
86
88
|
rdoc_options: []
|
87
89
|
require_paths:
|
88
90
|
- lib
|
@@ -90,15 +92,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
90
92
|
requirements:
|
91
93
|
- - ">="
|
92
94
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
95
|
+
version: '3.1'
|
94
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
97
|
requirements:
|
96
98
|
- - ">="
|
97
99
|
- !ruby/object:Gem::Version
|
98
100
|
version: '0'
|
99
101
|
requirements: []
|
100
|
-
rubygems_version: 3.
|
101
|
-
signing_key:
|
102
|
+
rubygems_version: 3.3.7
|
103
|
+
signing_key:
|
102
104
|
specification_version: 4
|
103
105
|
summary: Set of my default Rubocop rules
|
104
106
|
test_files: []
|