thanx-style 0.0.8 → 0.0.12

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: eeaaea1cd6d1d46901f753cd844fcee8716623088a17b5f5d56a48c0865a5d5b
4
- data.tar.gz: fc11830ebb24041dfc9d181987fe3e6ac6b20495d6aa3d4001ba84be5ab87a46
3
+ metadata.gz: f0557a7c46ac71861619ec05fb786fee2ef08a6f315a2614a3d07a59fa84aed1
4
+ data.tar.gz: 8eb67c62e8522f21604dcb57b3ab86ab5d50768e17d37c0d1c3613cd41723649
5
5
  SHA512:
6
- metadata.gz: 1fd99c2a2965d3d9456a52ea519c64b40ae9c85930d7cb39ee6854f91e4709a030323528015be015448f526320765dcf2e4488373ca261071c86b98aac242b2b
7
- data.tar.gz: 1a4f8972f91c49c5f139bda29a219708f91758282bb542a969580d1091822a691353fb3f3c61d7add99e0279cdccc6264c0a20089a2a78eedc65fa528d8dec1b
6
+ metadata.gz: 4dfe4fff53bea3038bab9cd3eb91afe6f86ad4da77b7a8a6a2d14e4ca46efdfc9c33e45f080a2a4b6fec9c279fe60d7a9adb0f369e13ccf4268ce19db28f1a9d
7
+ data.tar.gz: aa5a89121c0d7365cbe5c3d9bb80df3ea531ab7e657ec56bb8ac32d55cc9c089be58bc8f4ff3f6bb1f0bc7857bea642a7e756a7942d74c198bd22a9603255210
data/.danger/rspec ADDED
@@ -0,0 +1,4 @@
1
+ junit.parse 'test-results/rspec/results.xml'
2
+ junit.report
3
+ simplecov.report 'coverage/coverage.json'
4
+ simplecov.individual_report('coverage/coverage.json', Dir.pwd)
data/.danger/rubocop ADDED
@@ -0,0 +1,2 @@
1
+ rubocop_junit_parser.results_path = 'test-results/rubocop/results.xml'
2
+ rubocop_junit_parser.process
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ system <<~CMD
4
+ bundle exec danger --dangerfile=$(bundle show thanx-style)/.danger/rspec
5
+ CMD
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ system <<~CMD
4
+ bundle exec danger --dangerfile=$(bundle show thanx-style)/.danger/rubocop
5
+ CMD
data/bin/thanx-rspec ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ exit system <<~COMMAND
4
+ bundle exec rspec \
5
+ --color \
6
+ --require spec_helper \
7
+ --format progress \
8
+ --format RspecJunitFormatter \
9
+ --out test-results/rspec/results.xml \
10
+ #{ARGV.join(' ')}
11
+ COMMAND
data/bin/thanx-rubocop ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ formatter = '$(bundle show rubocop-junit-formatter)'
4
+ formatter += '/lib/rubocop/formatter/junit_formatter.rb'
5
+
6
+ exit system <<~COMMAND
7
+ bundle exec rubocop \
8
+ --require #{formatter} \
9
+ --format RuboCop::Formatter::JUnitFormatter \
10
+ --out test-results/rubocop/results.xml \
11
+ --format progress \
12
+ #{ARGV.join(' ')}
13
+ COMMAND
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Thanx # rubocop:disable Style/ClassAndModuleChildren
4
4
  module Style
5
- VERSION = '0.0.8'
5
+ VERSION = '0.0.12'
6
6
  end
7
7
  end
data/rubocop-ruby.yml CHANGED
@@ -370,6 +370,7 @@ Metrics/BlockLength:
370
370
  - FactoryBot.define # FactoryBot define
371
371
  Exclude:
372
372
  - '**/*_spec.rb'
373
+ - '**/*.gemspec'
373
374
 
374
375
  Metrics/ClassLength:
375
376
  CountComments: false # count full line comments?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thanx-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eng @ Thanx
@@ -10,6 +10,62 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2018-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: danger
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 5.6.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 5.6.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: danger-junit
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.7.4
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.7.4
41
+ - !ruby/object:Gem::Dependency
42
+ name: danger-rubocop_junit_parser
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.0.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.0.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: danger-simplecov_json
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.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: 0.3.0
13
69
  - !ruby/object:Gem::Dependency
14
70
  name: rubocop
15
71
  requirement: !ruby/object:Gem::Requirement
@@ -24,6 +80,20 @@ dependencies:
24
80
  - - "~>"
25
81
  - !ruby/object:Gem::Version
26
82
  version: 0.58.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-junit-formatter
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.1.4
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.1.4
27
97
  - !ruby/object:Gem::Dependency
28
98
  name: rubocop-rspec
29
99
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +108,62 @@ dependencies:
38
108
  - - "~>"
39
109
  - !ruby/object:Gem::Version
40
110
  version: 1.27.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec_junit_formatter
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.4.1
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.4.1
125
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.16.1
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.16.1
139
+ - !ruby/object:Gem::Dependency
140
+ name: simplecov-json
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.2'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.2'
153
+ - !ruby/object:Gem::Dependency
154
+ name: simplecov-lcov
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.7'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '0.7'
41
167
  - !ruby/object:Gem::Dependency
42
168
  name: bundler
43
169
  requirement: !ruby/object:Gem::Requirement
@@ -57,10 +183,20 @@ description: |
57
183
  properly formatting CI output.
58
184
  email:
59
185
  - eng@thanx.com
60
- executables: []
186
+ executables:
187
+ - thanx-rspec
188
+ - thanx-report-rspec
189
+ - thanx-rubocop
190
+ - thanx-report-rubocop
61
191
  extensions: []
62
192
  extra_rdoc_files: []
63
193
  files:
194
+ - ".danger/rspec"
195
+ - ".danger/rubocop"
196
+ - bin/thanx-report-rspec
197
+ - bin/thanx-report-rubocop
198
+ - bin/thanx-rspec
199
+ - bin/thanx-rubocop
64
200
  - lib/thanx/style.rb
65
201
  - lib/thanx/style/version.rb
66
202
  - rubocop-rails.yml