rubocop-mailo 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +46 -0
  3. data/rubocop.yaml +1 -1
  4. metadata +14 -49
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 850a66128c33489cdc2ed64a80c7c79fa69770e0151472f87d100da57a3573d1
4
- data.tar.gz: 0a7a697d117db7b534934bc8057f7d9ce566a2ad96570bbfca10a43959921316
3
+ metadata.gz: af4a90a14b1614b606182de859d386d1eded8ef042df4221125741dc23c6181d
4
+ data.tar.gz: 89ba50ff27f1a07d303bd76920b543394b6e9b5a294fad37d556d78dc550719c
5
5
  SHA512:
6
- metadata.gz: 05b2cf84dada813ca5c7d120525c8337acead8a596b46b906cbf0b350b4338dce9bb1a5500ed8a9d0959b9c70b45769ae70cce96bfb476785239b1de5b5a8282
7
- data.tar.gz: f0e5247c4ccbc641897fd826712256192b5f3942ecb092fef9c0c35fa92770828e4521def65b07eeee2af327090d8c8c3b6f96235da34cb2e3e6c28caf4e5369
6
+ metadata.gz: 568d01971b9a31df1b4c0f11bd91e0d16a4da2e23ecdea977001a3e5f7f9def2c48a2a52f5d8b580e7416939f73d1288a8c9ad64221f4fa50189473c85fef25d
7
+ data.tar.gz: b2a70e3555865fd90e1e378adee81dd160801c57d915d0f8837b5c6407c25741f232848c1259ce753fc0178c23caa3d94f2a3bf75f643ec453905df374074bb6
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
@@ -10,7 +10,7 @@ AllCops:
10
10
  - 'node_modules/**/*'
11
11
  - 'tmp/**/*'
12
12
  NewCops: enable
13
- TargetRubyVersion: 2.6
13
+ TargetRubyVersion: 3.2
14
14
 
15
15
  Layout/HashAlignment:
16
16
  EnforcedColonStyle: table
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.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mailo Světel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-03 00:00:00.000000000 Z
11
+ date: 2023-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,56 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.13.0
19
+ version: 1.56.1
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: 1.13.0
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 2.2.16
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 2.2.16
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '10.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '10.0'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '3.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '3.0'
26
+ version: 1.56.1
69
27
  description: Set of my default Rubocop rules
70
28
  email:
71
29
  - mailo@rooland.cz
@@ -73,6 +31,7 @@ executables: []
73
31
  extensions: []
74
32
  extra_rdoc_files: []
75
33
  files:
34
+ - README.md
76
35
  - rubocop.yaml
77
36
  homepage: https://gitlab.com/lipoqil/rubocop-mailo
78
37
  licenses:
@@ -82,7 +41,13 @@ metadata:
82
41
  homepage_uri: https://gitlab.com/lipoqil/rubocop-mailo
83
42
  source_code_uri: https://gitlab.com/lipoqil/rubocop-mailo
84
43
  changelog_uri: https://gitlab.com/lipoqil/rubocop-mailo/blob/master/CHANGELOG
85
- post_install_message:
44
+ rubygems_mfa_required: 'true'
45
+ post_install_message: |
46
+ ## rubocop-mailo
47
+ Add file .rubocop.yml to root of you Ruby project. The file should have following content
48
+
49
+ inherit_gem:
50
+ rubocop-mailo: rubocop.yaml
86
51
  rdoc_options: []
87
52
  require_paths:
88
53
  - lib
@@ -90,14 +55,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
55
  requirements:
91
56
  - - ">="
92
57
  - !ruby/object:Gem::Version
93
- version: '2.6'
58
+ version: '3.2'
94
59
  required_rubygems_version: !ruby/object:Gem::Requirement
95
60
  requirements:
96
61
  - - ">="
97
62
  - !ruby/object:Gem::Version
98
63
  version: '0'
99
64
  requirements: []
100
- rubygems_version: 3.1.6
65
+ rubygems_version: 3.4.1
101
66
  signing_key:
102
67
  specification_version: 4
103
68
  summary: Set of my default Rubocop rules