rubocop-mhenrixon 0.79.5 → 0.79.6

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: 0dc4250bb18c1d46f6adfe60985657605423ae1ee6cbc65642250498edec0f37
4
- data.tar.gz: e8f016d17e066446744426b49eb29f4fb8d8ae2a2a9b4f74626af0aa0e3c0959
3
+ metadata.gz: d8cfcd9819059bbd5f632ab04eaa9eb913542ef30e78dece0cbc8a58a8753131
4
+ data.tar.gz: 255a8c6740078441f9551cd7c5bc3352ed94da756c88ee5854b927371f72b49b
5
5
  SHA512:
6
- metadata.gz: '0381192b4b9780b7a5f8e604d114297309c7a1a9650b0f580b152ba1d7361d9e4595f52237cad5c487e6a26fae37235fcde9d5f062d2432d458d3844894a8455'
7
- data.tar.gz: 77bc68431f6676d7a6fb488295f019249cbe71564fedcf2b9d17b8e01092b5ea53f190df6696ccf65a405b48530c389464ffc0e568033f84c17514c94e3fd76d
6
+ metadata.gz: da7854fa5df659d1c157ba7d8c0de7fd43757ceb65a0747a17da28eb3d739cca194fb8fc85b68ad1e710dc22b71d8e3e07479812ec1e8d3752b427875bf6db4c
7
+ data.tar.gz: 8fbcea64d6377d333f49bcd023d26b8b048e027e491c533e13d5a6ad42adc138dba0b07382ec3d51f14ab911e529d1427006981e7db3f3e185f7b4d0a10b5097
data/Gemfile CHANGED
@@ -1,6 +1,8 @@
1
- source "https://rubygems.org"
1
+ # frozen_string_literal: true
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
6
 
5
7
  # Specify your gem's dependencies in rubocop-mhenrixon.gemspec
6
8
  gemspec
@@ -12,6 +12,9 @@ AllCops:
12
12
  DisplayCopNames: true
13
13
  DisplayStyleGuide: true
14
14
  Include:
15
+ - "Rakefile"
16
+ - "Gemfile"
17
+ - "*.gemspec"
15
18
  - 'Rakefile'
16
19
  - 'lib/**/*'
17
20
  - 'bin/**/*'
@@ -19,10 +22,9 @@ AllCops:
19
22
  Exclude:
20
23
  - 'bin/setup'
21
24
  - 'Gemfile.lock'
22
- - 'Gemfile'
23
25
  - 'gemfiles/**/*'
24
26
  - '**/*.json'
25
- - '**/*.yml'
27
+ # - '**/*.yml'
26
28
  - 'vendor/bundle/**/*'
27
29
 
28
30
  Layout/LineLength:
@@ -3,8 +3,11 @@
3
3
  require 'rubocop/mhenrixon/version'
4
4
 
5
5
  module Rubocop
6
+ #
7
+ # This is just a place holder for the module
8
+ #
9
+ # @author Mikael Henriksson <mikael@mhenrixon.com>
10
+ #
6
11
  module Mhenrixon
7
- class Error < StandardError; end
8
- # Your code goes here...
9
12
  end
10
13
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Mhenrixon
5
- VERSION = '0.79.5'
5
+ VERSION = '0.79.6'
6
6
  end
7
7
  end
@@ -1,37 +1,38 @@
1
+ # frozen_string_literal: true
1
2
 
2
- lib = File.expand_path("../lib", __FILE__)
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "rubocop/mhenrixon/version"
5
+ require 'rubocop/mhenrixon/version'
5
6
 
6
7
  Gem::Specification.new do |spec|
7
- spec.name = "rubocop-mhenrixon"
8
+ spec.name = 'rubocop-mhenrixon'
8
9
  spec.version = Rubocop::Mhenrixon::VERSION
9
- spec.authors = ["mhenrixon"]
10
- spec.email = ["mikael@mhenrixon.com"]
10
+ spec.authors = ['mhenrixon']
11
+ spec.email = ['mikael@mhenrixon.com']
11
12
 
12
- spec.summary = %q{Shared rubocop configuration for open source gems.}
13
- spec.description = %q{Convenience gem to handle my rubocop configuration in multiple projects.}
14
- spec.homepage = "https://github.com/mhenrixon/rubocop-mhenrixon"
15
- spec.license = "MIT"
13
+ spec.summary = 'Shared rubocop configuration for open source gems.'
14
+ spec.description = 'Convenience gem to handle my rubocop configuration in multiple projects.'
15
+ spec.homepage = 'https://github.com/mhenrixon/rubocop-mhenrixon'
16
+ spec.license = 'MIT'
16
17
 
17
18
  if spec.respond_to?(:metadata)
18
- spec.metadata["allowed_push_host"] = 'https://rubygems.org'
19
- spec.metadata["homepage_uri"] = spec.homepage
20
- spec.metadata["source_code_uri"] = "https://github.com/mhenrixon/rubocop-mhenrixon"
21
- spec.metadata["changelog_uri"] = "https://github.com/mhenrixon/rubocop-mhenrixon"
19
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
20
+ spec.metadata['homepage_uri'] = spec.homepage
21
+ spec.metadata['source_code_uri'] = 'https://github.com/mhenrixon/rubocop-mhenrixon'
22
+ spec.metadata['changelog_uri'] = 'https://github.com/mhenrixon/rubocop-mhenrixon'
22
23
  else
23
- raise "RubyGems 2.0 or newer is required to protect against " \
24
- "public gem pushes."
24
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
25
+ 'public gem pushes.'
25
26
  end
26
27
 
27
28
  # Specify which files should be added to the gem when it is released.
28
29
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
29
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
30
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
30
31
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|bin)/}) }
31
32
  end
32
- spec.bindir = "bin"
33
+ spec.bindir = 'bin'
33
34
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
34
- spec.require_paths = ["lib"]
35
+ spec.require_paths = ['lib']
35
36
 
36
37
  spec.add_dependency 'rubocop', '~> 0.79'
37
38
  spec.add_dependency 'rubocop-performance', '~> 1.5'
@@ -39,8 +40,8 @@ Gem::Specification.new do |spec|
39
40
  spec.add_dependency 'rubocop-rspec', '~> 1.37'
40
41
  spec.add_dependency 'rubocop-thread_safety', '~> 0.3'
41
42
 
42
- spec.add_development_dependency "bundler", "~> 2.1"
43
- spec.add_development_dependency "gem-release", "~> 2.1"
44
- spec.add_development_dependency "rake", "~> 13.0"
45
- spec.add_development_dependency "rspec", "~> 3.9"
43
+ spec.add_development_dependency 'bundler', '~> 2.1'
44
+ spec.add_development_dependency 'gem-release', '~> 2.1'
45
+ spec.add_development_dependency 'rake', '~> 13.0'
46
+ spec.add_development_dependency 'rspec', '~> 3.9'
46
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-mhenrixon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.79.5
4
+ version: 0.79.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - mhenrixon