rubocop-itsmycargo 20.11.12 → 20.11.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/base.yml +25 -0
- metadata +22 -23
- data/.github/dependabot.yml +0 -6
- data/.github/workflows/publish.yml +0 -22
- data/.gitignore +0 -12
- data/.rspec +0 -3
- data/.rubocop.yml +0 -2
- data/.ruby-version +0 -1
- data/CHANGELOG.md +0 -34
- data/Gemfile +0 -8
- data/LICENSE.txt +0 -21
- data/README.md +0 -39
- data/Rakefile +0 -3
- data/bin/console +0 -15
- data/bin/setup +0 -8
- data/docs/Guide.adoc +0 -8
- data/rubocop-itsmycargo.gemspec +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64221e9ed5c8ff6fba2aa245fcb899693617e9ce9b3c5f3d550da0c1ab23cdad
|
4
|
+
data.tar.gz: 322f7112bbef378436ce088413c9058c29fd0b2cce669a9266542671816bbe56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59de6e16708ff1e9cf2f5511650a223608174f3ecd7788577bffeb98908be857f833d4a333998ecccbbf7a5326d0d3133622b5414f5779d1427749314a1dd93e
|
7
|
+
data.tar.gz: 4272baedeeae71c6c2146fb4492a7d42107b7d53763d1ad525d70098226bcbc768b6f540fa56f339be7a815bcb1b38ef2d3979db5fc8fa9a50aee84f3ea6f3a5
|
data/config/base.yml
CHANGED
@@ -25,3 +25,28 @@ Style/Documentation:
|
|
25
25
|
# Disable Rubocop disable comments (widely mis-used)
|
26
26
|
Style/DisableCopsWithinSourceCodeDirective:
|
27
27
|
Enabled: true
|
28
|
+
|
29
|
+
# Severities: refactor, convention, warning, error and fatal.
|
30
|
+
Bundler:
|
31
|
+
Severity: fatal
|
32
|
+
|
33
|
+
Gemspec:
|
34
|
+
Severity: fatal
|
35
|
+
|
36
|
+
Layout:
|
37
|
+
Severity: error
|
38
|
+
|
39
|
+
Lint:
|
40
|
+
Severity: error
|
41
|
+
|
42
|
+
Metrics:
|
43
|
+
Severity: error
|
44
|
+
|
45
|
+
Naming:
|
46
|
+
Severity: error
|
47
|
+
|
48
|
+
Security:
|
49
|
+
Severity: error
|
50
|
+
|
51
|
+
Style:
|
52
|
+
Severity: error
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-itsmycargo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 20.11.
|
4
|
+
version: 20.11.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikko Kokkonen
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: mry
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.78'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.78'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rubocop-rails
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -30,28 +44,28 @@ dependencies:
|
|
30
44
|
requirements:
|
31
45
|
- - '='
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
47
|
+
version: 2.0.0
|
34
48
|
type: :runtime
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - '='
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
54
|
+
version: 2.0.0
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: standard
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - '='
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
61
|
+
version: 0.9.0
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
66
|
- - '='
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
68
|
+
version: 0.9.0
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,31 +110,16 @@ dependencies:
|
|
96
110
|
version: '3.0'
|
97
111
|
description:
|
98
112
|
email:
|
99
|
-
-
|
113
|
+
- mikko.kokkonen@itsmycargo.com
|
100
114
|
executables: []
|
101
115
|
extensions: []
|
102
116
|
extra_rdoc_files: []
|
103
117
|
files:
|
104
|
-
- ".github/dependabot.yml"
|
105
|
-
- ".github/workflows/publish.yml"
|
106
|
-
- ".gitignore"
|
107
|
-
- ".rspec"
|
108
|
-
- ".rubocop.yml"
|
109
|
-
- ".ruby-version"
|
110
|
-
- CHANGELOG.md
|
111
|
-
- Gemfile
|
112
|
-
- LICENSE.txt
|
113
|
-
- README.md
|
114
|
-
- Rakefile
|
115
|
-
- bin/console
|
116
|
-
- bin/setup
|
117
118
|
- config/base.yml
|
118
119
|
- config/default.yml
|
119
120
|
- config/legacy.yml
|
120
121
|
- config/rails.yml
|
121
122
|
- config/rspec.yml
|
122
|
-
- docs/Guide.adoc
|
123
|
-
- rubocop-itsmycargo.gemspec
|
124
123
|
homepage: https://github.com/itsmycargo/rubocop-itsmycargo
|
125
124
|
licenses:
|
126
125
|
- MIT
|
data/.github/dependabot.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
name: Publish Gem
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches:
|
6
|
-
- "master"
|
7
|
-
jobs:
|
8
|
-
publish:
|
9
|
-
runs-on: ubuntu-latest
|
10
|
-
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@v2
|
13
|
-
- run: |
|
14
|
-
git config user.name github-actions
|
15
|
-
git config user.email github-actions@github.com
|
16
|
-
|
17
|
-
- name: Release Gem
|
18
|
-
uses: cadwallion/publish-rubygems-action@master
|
19
|
-
env:
|
20
|
-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
21
|
-
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
22
|
-
RELEASE_COMMAND: rake release
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.7.1
|
data/CHANGELOG.md
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
### Next
|
2
|
-
### v0.2.9-alpha-alpha-alpha-rc-rc - 2020-09-07
|
3
|
-
### v0.2.5-alpha-alpha-alpha-rc-rc - 2020-05-12
|
4
|
-
### v0.2.4-alpha-alpha-alpha-rc-rc - 2020-05-12
|
5
|
-
### v0.2.3-alpha-alpha-alpha-rc-rc - 2020-05-12
|
6
|
-
### v0.2.2-alpha-alpha-alpha-rc-rc - 2020-05-06
|
7
|
-
### v0.2.1-alpha-alpha-alpha-rc-rc - 2020-05-06
|
8
|
-
<<<<<<< HEAD
|
9
|
-
### v0.1.9-alpha-alpha-alpha-rc-rc - 2020-02-13
|
10
|
-
=======
|
11
|
-
### v0.2.0-alpha-alpha-alpha-rc-rc - 2020-05-06
|
12
|
-
>>>>>>> bc0d7cb... v0.2.0
|
13
|
-
### v0.1.8-alpha-alpha-alpha-rc-rc - 2020-02-13
|
14
|
-
### v0.1.10-alpha-alpha-alpha-rc-rc - 2020-02-13
|
15
|
-
### v0.1.9-alpha-alpha-rc-rc - 2020-02-13
|
16
|
-
### v0.1.8-alpha-rc-rc - 2020-02-13
|
17
|
-
<<<<<<< HEAD
|
18
|
-
### v0.1.7-rc-rc - 2020-02-13
|
19
|
-
=======
|
20
|
-
### v0.1.7-alpha-rc-rc - 2020-02-13
|
21
|
-
>>>>>>> v0.1.7-alpha
|
22
|
-
### v0.1.6-rc-rc - 2020-02-13
|
23
|
-
### v0.1.5-rc-rc - 2020-02-13
|
24
|
-
### v0.1.10-rc-rc - 2020-02-13
|
25
|
-
### v0.1.9-rc-rc - 2020-02-13
|
26
|
-
### v0.1.8-rc-rc - 2020-02-13
|
27
|
-
### v0.1.7-rc-rc - 2020-02-13
|
28
|
-
### v0.1.6-rc-rc - 2020-02-13
|
29
|
-
### v0.1.5-rc-rc - 2020-02-13
|
30
|
-
### v0.1.5-rc-rc - 2020-02-13
|
31
|
-
### v0.1.4-rc - 2020-02-13
|
32
|
-
|
33
|
-
### v0.1.4 - 2020-02-11
|
34
|
-
- allow more lines for rspec
|
data/Gemfile
DELETED
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2019 Mikko Kokkonen
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/README.md
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
# Rubocop::Itsmycargo
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rubocop/itsmycargo`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'rubocop-itsmycargo'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install rubocop-itsmycargo
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
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.
|
30
|
-
|
31
|
-
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).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rubocop-itsmycargo.
|
36
|
-
|
37
|
-
## License
|
38
|
-
|
39
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
require "bundler/setup"
|
5
|
-
require "rubocop/itsmycargo"
|
6
|
-
|
7
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
-
# with your gem easier. You can also use a different console, if you like.
|
9
|
-
|
10
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
-
# require "pry"
|
12
|
-
# Pry.start
|
13
|
-
|
14
|
-
require "irb"
|
15
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/docs/Guide.adoc
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
=== Maximum Line Length [[maximum-line-length]]
|
2
|
-
|
3
|
-
Limit lines to 120 characters.
|
4
|
-
|
5
|
-
=== Class/Module Documentation [[class-documentation]]
|
6
|
-
|
7
|
-
Top-level classes and modules are not required to have documentation.
|
8
|
-
If you are writing library, please consider to write proper API documentation.
|
data/rubocop-itsmycargo.gemspec
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
lib = File.expand_path("lib", __dir__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "rubocop-itsmycargo"
|
8
|
-
spec.version = "#{Time.now.strftime("%y.%m")}.#{ENV.fetch("GITHUB_RUN_NUMBER", "0")}"
|
9
|
-
spec.authors = ["Mikko Kokkonen"]
|
10
|
-
spec.email = ["oss@itsmycargo.com"]
|
11
|
-
|
12
|
-
spec.summary = "RuboCop Styles and Configuration for ItsMyCargo."
|
13
|
-
spec.homepage = "https://github.com/itsmycargo/rubocop-itsmycargo"
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
-
spec.metadata["source_code_uri"] = spec.homepage
|
18
|
-
|
19
|
-
# Specify which files should be added to the gem when it is released.
|
20
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
21
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
22
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
|
-
end
|
24
|
-
spec.bindir = "exe"
|
25
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
|
-
|
27
|
-
spec.add_dependency "rubocop-rails", "2.8.1"
|
28
|
-
spec.add_dependency "rubocop-rspec", "1.44.1"
|
29
|
-
spec.add_dependency "standard", "0.7"
|
30
|
-
|
31
|
-
spec.add_development_dependency "bundler", "~> 2.1"
|
32
|
-
spec.add_development_dependency "rake", "~> 13.0"
|
33
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
34
|
-
end
|