thanx-style 0.0.28 → 0.0.29

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: c846de799929484643ed9709a2ec93a9bef6f4be00b5b8973bcb856efd785f64
4
- data.tar.gz: de5f327a7d8b976161e63125f9beaab441ae2fe51b5d86ce897b426c7785c624
3
+ metadata.gz: c505e9aba2da7daa103731b72d05b3434da51429d2b49c0409f4224692e72a8f
4
+ data.tar.gz: f55a20599f5bf2dd89d8796089e076faccd2bd412d5c2f70fcfcf568df339fdd
5
5
  SHA512:
6
- metadata.gz: 4a7c5338133eb59bdad3964a6c4b0ae34b8170a6f0705ac65f46d0b9be7d773ba89cb266d0779f7d45bc722eb7bb8ff51c11ae5eb2ee6c5878dc4144a1c9f5e8
7
- data.tar.gz: 9eb0dc80c69b764ae92eff2e6db81bb93d3f67e1698027524c03d5e596f72f7618a04af61cdb44b3d718f9903b408f470fc1ebfa73597bc807015dfe739bb148
6
+ metadata.gz: f9c2c3bad3de30da39034dea9487696bd711e1fbcfd6f8e477d60ed6c07149100b9e9d967688c3f653da10ae6a5f22986e9b4837faff3469463edf7be0b35ebf
7
+ data.tar.gz: 8c90a68b33a1e3889a68911d914aafcb778a520e2a938cb770b0a424a388a701b9d81e2dac3aa8b3c4289b6e390945d2e128c7886c370419edea212184596a02
data/bin/thanx-rubocop CHANGED
@@ -7,12 +7,11 @@ rescue LoadError
7
7
  exit(-1)
8
8
  end
9
9
 
10
- formatter = '$(bundle show rubocop-junit-formatter)'
11
- formatter += '/lib/rubocop/formatter/junit_formatter.rb'
10
+ has_formatter = Gem::Specification.find_all_by_name('rubocop-junit-formatter').any?
12
11
 
13
12
  exit system <<~COMMAND
14
13
  bundle exec rubocop \
15
- --require #{formatter} \
14
+ #{has_formatter ? '--require $(bundle show rubocop-junit-formatter)/lib/rubocop/formatter/junit_formatter.rb' : ''} \
16
15
  --format RuboCop::Formatter::JUnitFormatter \
17
16
  --out test-results/rubocop/results.xml \
18
17
  --format progress \
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Thanx # rubocop:disable Style/ClassAndModuleChildren
4
4
  module Style
5
- VERSION = '0.0.28'
5
+ VERSION = '0.0.29'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thanx-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.28
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eng @ Thanx
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-02 00:00:00.000000000 Z
11
+ date: 2021-04-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  Provides Ruby, Rails, and RSpec rubocop rules. Also provides helpers for
@@ -39,7 +39,7 @@ homepage: https://github.com/thanx/style-guide
39
39
  licenses:
40
40
  - MIT
41
41
  metadata: {}
42
- post_install_message:
42
+ post_install_message:
43
43
  rdoc_options: []
44
44
  require_paths:
45
45
  - lib
@@ -54,8 +54,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  requirements: []
57
- rubygems_version: 3.1.4
58
- signing_key:
57
+ rubyforge_project:
58
+ rubygems_version: 2.7.3
59
+ signing_key:
59
60
  specification_version: 4
60
61
  summary: Quick install of ruby Thanx code style rules
61
62
  test_files: []