unifacop 0.82.0.0 → 1.11.0.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: dca54e6b4e298b1d08aaa6f9d58cf63190f13fa268711c5ae4571b184aa4b339
4
- data.tar.gz: faae672828ccd280f3a34495876a1ca05654fd8afbe519fdeda000ef8a7b01fa
3
+ metadata.gz: e69317a0ab38a8a0d86c214a4de03efdd1c0a6f19e9d4b31d66fa2011dc050ef
4
+ data.tar.gz: 1055b85255d8e935bf4c3ac315451df6c853a7533c0a3326b35708fa967d8b9b
5
5
  SHA512:
6
- metadata.gz: 8da3a4c78e7e385bf7072ae77fa9ec41f2a8f6d1741eb636a1e50e9c1fbfd962fce3389ae01c108df29f5577dcb2b5e8c567d22c9f424015f480920130aac261
7
- data.tar.gz: 5b28d2f65126b4075932c0546264326529f97f95e69fb4c1bce3c3443efd5c022eec5e86dc73b45b63d8919dd4c7a1be456e7d93c1d7938f0a36c8e2a7b498d8
6
+ metadata.gz: f397526874ae4507c3c9151b3e14e9ad65354baeda448b7b857a86421d07b32182225a7223645a7964433728b781a910650e324fe591c64fabf1bb9c5871c819
7
+ data.tar.gz: 41c06f7f1804e79b42f33f37af49b6ae10932e3012430e4cc8140fed8ad01f165870a8f54e428c78cdeefe28b6322b9f77e4fdbfb0425f41ab62ad28d9cc4750
data/exe/unifacop CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- $LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
4
+ $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
5
5
 
6
6
  # Exit cleanly from an early interrupt
7
7
  Signal.trap('INT') { exit 1 }
data/lib/unifacop/cli.rb CHANGED
@@ -27,7 +27,7 @@ module UniFaCop
27
27
  return nil if args.empty?
28
28
 
29
29
  meth = args.first.to_s
30
- args.shift unless /^\-/.match?(meth)
30
+ args.shift unless /^-/.match?(meth)
31
31
  end
32
32
 
33
33
  def self.print_help
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UniFaCop
4
- VERSION = '0.82.0.0'
4
+ VERSION = '1.11.0.0'
5
5
  end
@@ -15,5 +15,7 @@ AllCops:
15
15
  TargetRubyVersion: 2.4
16
16
  # Uncomment if using rails cops
17
17
  #TargetRailsVersion: 5.0
18
+ NewCops: enable
19
+ SuggestExtensions: false
18
20
 
19
21
  # Add your project specific configurations here.
data/unifacop.gemspec CHANGED
@@ -14,8 +14,9 @@ Gem::Specification.new do |spec|
14
14
  spec.description = 'A rubocop configuration gem for UniFa Coding Style Guide.'
15
15
  spec.homepage = 'https://bitbucket.org/lookme/unifacop'
16
16
 
17
+ exclude_files = ['Gemfile', 'unifacop.gemspec'].freeze
17
18
  spec.files = `git ls-files -z`.split("\x0").select do |f|
18
- f.match(%r{^(config|exe|lib|templates)/}) || ['Gemfile', 'unifacop.gemspec'].include?(f)
19
+ f.match(%r{^(config|exe|lib|templates)/}) || exclude_files.include?(f)
19
20
  end
20
21
  spec.bindir = 'exe'
21
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -23,10 +24,10 @@ Gem::Specification.new do |spec|
23
24
 
24
25
  spec.required_ruby_version = '>= 2.4.0'
25
26
 
26
- spec.add_runtime_dependency 'rubocop', '~> 0.82.0'
27
- spec.add_runtime_dependency 'rubocop-performance', '~> 1.5.2'
28
- spec.add_runtime_dependency 'rubocop-rails', '~> 2.5.2'
29
- spec.add_runtime_dependency 'rubocop-rspec', '>= 1.39.0'
27
+ spec.add_runtime_dependency 'rubocop', '>= 1.11.0'
28
+ spec.add_runtime_dependency 'rubocop-performance', '>= 1.10.1'
29
+ spec.add_runtime_dependency 'rubocop-rails', '>= 2.9.1'
30
+ spec.add_runtime_dependency 'rubocop-rspec', '>= 2.2.0'
30
31
 
31
32
  spec.add_development_dependency 'bundler'
32
33
  spec.add_development_dependency 'rake'
metadata CHANGED
@@ -1,71 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unifacop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0.0
4
+ version: 1.11.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - UniFa Co. Ltd.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-15 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.82.0
19
+ version: 1.11.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.82.0
26
+ version: 1.11.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.2
33
+ version: 1.10.1
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.5.2
40
+ version: 1.10.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 2.5.2
47
+ version: 2.9.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 2.5.2
54
+ version: 2.9.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 1.39.0
61
+ version: 2.2.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 1.39.0
68
+ version: 2.2.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -116,7 +116,7 @@ files:
116
116
  homepage: https://bitbucket.org/lookme/unifacop
117
117
  licenses: []
118
118
  metadata: {}
119
- post_install_message:
119
+ post_install_message:
120
120
  rdoc_options: []
121
121
  require_paths:
122
122
  - lib
@@ -131,8 +131,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubygems_version: 3.0.3
135
- signing_key:
134
+ rubygems_version: 3.1.4
135
+ signing_key:
136
136
  specification_version: 4
137
137
  summary: A rubocop configuration gem for UniFa Coding Style Guide.
138
138
  test_files: []