hint-rubocop_style 0.2.7 → 0.3.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: ee264bf4ff512af762ae796b420c0504785980a27a4f9e61989a6f0dd4a5a4a1
4
- data.tar.gz: 71ed18940ebea37fd66bd67463c6223ca445a03fc54c6f7f717a2db54c16cb86
3
+ metadata.gz: cba23c2e96c0b93796db4acd898331a47c93d1f386418fbbd13c9b273a892b9b
4
+ data.tar.gz: 3926b54fed0cc7848084ec5ec5201afe76e91cda1b0aa5c57e8f9018a44b34a1
5
5
  SHA512:
6
- metadata.gz: 0dacd11ad5d0b032e179d33bd80fd53d966afd520fb47578a154575d2f0f2476f3397c162f15ded46daca2955858be69e07ae64e447abee5afe105de732ac599
7
- data.tar.gz: 62635717a94b43e8e1005427471e11bede0f91dfbec21280581f5f0e5fa8adb6c19bc09dba60e5735e1fe76c018a217021f4b071ab21cafa45669d42df3561e1
6
+ metadata.gz: cf071e58e9ab9a5222b6167da4e80030c45dfff8031d96ee68102801979377f100b96efd31809aa7c20e4682fff5f075022e4bf32b2fc99a368b340c12b3bd24
7
+ data.tar.gz: 6f779c7edacc7700b6e309a097215317311813cd014e5e3dab208e63b21fe9b756b7254fc70229151c74d3aa055d8ba58250e368d0f76a61c482fc05db142199
data/README.md CHANGED
@@ -34,9 +34,6 @@ AllCops:
34
34
  TargetRubyVersion: PROJECT_RUBY_VERSION
35
35
  TargetRailsVersion: PROJECT_RAILS_VERSION
36
36
  DisplayCopNames: true
37
- Include:
38
- - '**/Rakefile'
39
- - '**/config.ru'
40
37
  Exclude:
41
38
  - 'bin/**/*'
42
39
  - 'config/**/*'
data/Rakefile CHANGED
@@ -1,6 +1 @@
1
1
  require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task default: :spec
data/default.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  # adding Rubocop to a project run rubocop --auto-gen-config then uncomment line below
2
2
  # inherit_from: .rubocop_todo.yml
3
3
  require: rubocop-rspec
4
+ require: rubocop-rails
5
+ require: rubocop-performance
4
6
 
5
7
  Rails:
6
8
  Enabled: true
@@ -3,14 +3,15 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
  require 'hint/rubocop_style/version'
4
4
 
5
5
  Gem::Specification.new do |spec|
6
- spec.name = 'hint-rubocop_style'
7
- spec.version = Hint::RubocopStyle::VERSION
8
- spec.authors = ['Hint']
9
- spec.email = ['tech@hint.io']
6
+ spec.name = 'hint-rubocop_style'
7
+ spec.version = Hint::RubocopStyle::VERSION
8
+ spec.required_ruby_version = '>= 2.3.0'
9
+ spec.authors = ['Hint']
10
+ spec.email = ['tech@hint.io']
10
11
 
11
- spec.summary = 'Hint shared Rubocop style guide'
12
- spec.homepage = 'https://github.com/hintmedia/hint-rubocop_style'
13
- spec.license = 'MIT'
12
+ spec.summary = 'Hint shared Rubocop style guide'
13
+ spec.homepage = 'https://github.com/hintmedia/hint-rubocop_style'
14
+ spec.license = 'MIT'
14
15
 
15
16
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
16
17
  # to allow pushing to a single host or delete this section to allow pushing to any host.
@@ -28,8 +29,10 @@ Gem::Specification.new do |spec|
28
29
  spec.executables = spec.files.grep(%r( ^exe/ )) { |f| File.basename(f) }
29
30
  spec.require_paths = ['lib']
30
31
 
31
- spec.add_dependency 'rubocop', '>= 0.50.0'
32
- spec.add_dependency 'rubocop-rspec', '>= 1.17.0'
32
+ spec.add_dependency 'rubocop', '>= 0.70.0'
33
+ spec.add_dependency 'rubocop-rspec', '>= 1.33.0'
34
+ spec.add_dependency 'rubocop-rails', '>= 2.0.0'
35
+ spec.add_dependency 'rubocop-performance', '>= 1.3.0'
33
36
  spec.add_development_dependency 'bundler', '~> 1.15'
34
37
  spec.add_development_dependency 'rake', '~> 10.0'
35
38
  end
@@ -1,5 +1,5 @@
1
1
  module Hint
2
2
  module RubocopStyle
3
- VERSION = '0.2.7'.freeze
3
+ VERSION = '0.3.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hint-rubocop_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hint
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-28 00:00:00.000000000 Z
11
+ date: 2019-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.50.0
19
+ version: 0.70.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: 0.50.0
26
+ version: 0.70.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.17.0
33
+ version: 1.33.0
34
34
  type: :runtime
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: 1.17.0
40
+ version: 1.33.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-performance
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 1.3.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 1.3.0
41
69
  - !ruby/object:Gem::Dependency
42
70
  name: bundler
43
71
  requirement: !ruby/object:Gem::Requirement
@@ -96,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
124
  requirements:
97
125
  - - ">="
98
126
  - !ruby/object:Gem::Version
99
- version: '0'
127
+ version: 2.3.0
100
128
  required_rubygems_version: !ruby/object:Gem::Requirement
101
129
  requirements:
102
130
  - - ">="