armitage-rubocop 0.76.0 → 0.76.0.1

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: f3670db999cebbf5e808cb4ecd59a3d79fc9eea8a12662ef672c3bf1e5d82e44
4
- data.tar.gz: 9f38b7301241ef19c153b7d9bafddf2c06f42e6957494f41d1bf5581ecb015ba
3
+ metadata.gz: 1c965ce3bb6e9fec6147576fc40b459797d91198cbbd7835b1dd3748f2d01ddf
4
+ data.tar.gz: 40d19c127e0b4a35ac4673cfc10cb7ab8c07f92fa4881ed4b5cdabdbd833a488
5
5
  SHA512:
6
- metadata.gz: b321851c8a3777cd543839d19de420b944c102a0b92461f4a3cb51a229750f6249db6862d2fcf8a9fd5f7fa910ac14ddcbabe87ec7b8f8d0b1cc3707633188bd
7
- data.tar.gz: 51e12a44898d602cf4fae4246e3d990fae11be28f325558f75412dfb1816dbf6a428b57452ac99e4dc03e6976b059540112c52c4871d150d0b42dbd0fef46997
6
+ metadata.gz: e8bafb5df099c7dd79f3bc5d97a1f1450b325484322a0a1773b61416474b1d30fb723f6abab24a9f6b1b351d2aa8f561ead8873f99b585a07abc89e8120c3edc
7
+ data.tar.gz: d4dfa829dabafb6b7f16dd6789a46ca0621b5ac98bc5d395107b1b7e973f868fecfa0b468a46fcbc01817459f27144acab0bf6fc93d18504a9bdb448f0c59431
@@ -1,4 +1,4 @@
1
1
  inherit_from: ./lib/rubocop.general.yml
2
2
 
3
3
  AllCops:
4
- TargetRubyVersion: 2.6.4
4
+ TargetRubyVersion: 2.6.5
data/README.md CHANGED
@@ -6,6 +6,28 @@
6
6
 
7
7
  ---
8
8
 
9
+ Configured rules:
10
+
11
+ - **Common** (`.rubocop.general.yml`) (`.rubocop.rails.yml`)
12
+ - Bundler
13
+ - Rake
14
+ - Gemspec
15
+ - Layout
16
+ - Lint
17
+ - Metrics
18
+ - Naming
19
+ - Performance
20
+ - Rails (isn't included in `.rubocop.general.yml`)
21
+ - Security
22
+ - Style
23
+ - **RSpec** (`.rubocop.rspec.yml`) (`.rubocop.rails.yml`)
24
+ - Capybara
25
+ - FactoryBot
26
+ - Rails
27
+ - RSpec
28
+
29
+ ---
30
+
9
31
  ### Installation
10
32
  ```ruby
11
33
  gem 'armitage-rubocop'
data/Rakefile CHANGED
@@ -8,17 +8,20 @@ require 'rubocop'
8
8
  require 'rubocop-rails'
9
9
  require 'rubocop-performance'
10
10
  require 'rubocop-rspec'
11
+ require 'rubocop-rake'
11
12
 
12
13
  RuboCop::RakeTask.new(:rubocop) do |t|
13
14
  t.options = %w[--config ./lib/rubocop.rails.yml]
14
15
  t.requires << 'rubocop-rspec'
15
16
  t.requires << 'rubocop-performance'
16
17
  t.requires << 'rubocop-rails'
18
+ t.requires << 'rubocop-rake'
17
19
  end
18
20
 
19
21
  NON_CHECKABLE_COPS = %w[Rails].freeze # NOTE: Global Rails cop has only `Enabled` option
20
22
 
21
23
  namespace :armitage_rubocop do
24
+ desc 'Full armitage-rubocop build (code style, cops validation, yaml validation)'
22
25
  task :build do
23
26
  build_processes = {
24
27
  code_style_check:
@@ -4,12 +4,14 @@ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
+ spec.version = '0.76.0.1'
8
+
7
9
  spec.name = 'armitage-rubocop'
8
- spec.version = '0.76.0'
9
10
  spec.license = 'MIT'
10
11
  spec.authors = ['Rustam Ibragimov']
11
12
  spec.email = ['iamdaiver@icloud.com']
12
13
  spec.homepage = 'https://github.com/0exp/armitage'
14
+
13
15
  spec.summary = 'A set of rubocop settings'
14
16
  spec.description = 'A set of rubocop settings used in my own projects.' \
15
17
  'Support for: vanilla ruby, rspec, rails.'
@@ -24,6 +26,7 @@ Gem::Specification.new do |spec|
24
26
  spec.add_dependency 'rubocop-performance', '= 1.5.0'
25
27
  spec.add_dependency 'rubocop-rails', '= 2.3.2'
26
28
  spec.add_dependency 'rubocop-rspec', '= 1.36.0'
29
+ spec.add_dependency 'rubocop-rake', '= 0.5.0'
27
30
 
28
31
  spec.add_development_dependency 'bundler'
29
32
  spec.add_development_dependency 'rake'
@@ -0,0 +1,14 @@
1
+ Rake/MethodDefinitionInTask:
2
+ Enabled: true
3
+
4
+ Rake/DuplicateTask:
5
+ Enabled: true
6
+
7
+ Rake/DuplicateNamespace:
8
+ Enabled: true
9
+
10
+ Rake/Desc:
11
+ Enabled: true
12
+
13
+ Rake/ClassDefinitionInTask:
14
+ Enabled: true
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./common/performance.yml
11
11
  - ./common/security.yml
12
12
  - ./common/style.yml
13
+ - ./common/rake.yml
13
14
 
14
15
  AllCops:
15
16
  DefaultFormatter: progress
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: armitage-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.76.0
4
+ version: 0.76.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-30 00:00:00.000000000 Z
11
+ date: 2019-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.36.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 0.5.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 0.5.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: bundler
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -134,6 +148,7 @@ files:
134
148
  - lib/common/naming.yml
135
149
  - lib/common/performance.yml
136
150
  - lib/common/rails.yml
151
+ - lib/common/rake.yml
137
152
  - lib/common/security.yml
138
153
  - lib/common/style.yml
139
154
  - lib/rspec/capybara.yml