digicert-cli 0.3.0 → 0.4.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
  SHA1:
3
- metadata.gz: 1fa2d7e5026e875023b032636e24d21a72feb173
4
- data.tar.gz: ad33ef4c2e362670145debc01dff0a5e49ea1b57
3
+ metadata.gz: 9a1814c46fc45c02373269353f517a5c27cff654
4
+ data.tar.gz: db8dcfa33eaddea4f43ed55869f54c252dd33835
5
5
  SHA512:
6
- metadata.gz: 19b637e487da602a4263d63a958638bc68f84e627096f1e33f023b06d4caba76c107bc6c52ffcb5a0d3724bc65c8b8c3b812a4927999477321f05f28adc6f435
7
- data.tar.gz: b845b66a2bf1748bc457de4bc37f99be770f94cefdfc6f7656cf73b5920a0f78a19bc9e1fc94cc733d5324040ebd47378d236d22ec0bde339de9f43603ef28d4
6
+ metadata.gz: c832a28f6d540b058506beeb7cb66821e6bc34560c69f9255a26cba39f1bb8482286cd176c9cc425dee27455387a6bf8e0dde1673814f97528f505f55bfc28c1
7
+ data.tar.gz: b2189a110d1c1eea8d55252762cac4aeb5023f6be68f25410bf88b47e16e2b19881607522209d9e7731cf341101648ac586c332b443f8d80691ada1d039c1260
data/.rubocop.yml CHANGED
@@ -1,10 +1,13 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.3
2
+ Include:
3
+ - "**/*.rake"
4
+ - "**/Gemfile"
5
+ - "**/Rakefile"
3
6
 
4
7
  Exclude:
5
8
  - db/schema.rb
6
9
 
7
- Style/AccessorMethodName:
10
+ Naming/AccessorMethodName:
8
11
  Description: Check the naming of accessor methods for get_/set_.
9
12
  Enabled: false
10
13
 
@@ -23,7 +26,7 @@ Style/AsciiComments:
23
26
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-comments'
24
27
  Enabled: false
25
28
 
26
- Style/AsciiIdentifiers:
29
+ Naming/AsciiIdentifiers:
27
30
  Description: 'Use only ascii symbols in identifiers.'
28
31
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-identifiers'
29
32
  Enabled: false
@@ -92,6 +95,13 @@ Metrics/AbcSize:
92
95
  branches, and conditions.
93
96
  Enabled: false
94
97
 
98
+ Metrics/BlockLength:
99
+ CountComments: true # count full line comments?
100
+ Max: 25
101
+ ExcludedMethods: []
102
+ Exclude:
103
+ - "spec/**/*"
104
+
95
105
  Metrics/CyclomaticComplexity:
96
106
  Description: >-
97
107
  A complexity metric that is strongly correlated to the number
@@ -103,19 +113,14 @@ Rails/Delegate:
103
113
  Enabled: false
104
114
 
105
115
  Style/PreferredHashMethods:
106
- Description: 'Checks for use of deprecated Hash methods.'
107
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-key'
116
+ Description: 'Checks use of `has_key?` and `has_value?` Hash methods.'
117
+ StyleGuide: '#hash-key'
108
118
  Enabled: false
109
119
 
110
120
  Style/Documentation:
111
121
  Description: 'Document classes and non-namespace modules.'
112
122
  Enabled: false
113
123
 
114
- Style/DotPosition:
115
- Description: 'Checks the position of the dot in multi-line method calls.'
116
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains'
117
- EnforcedStyle: trailing
118
-
119
124
  Style/DoubleNegation:
120
125
  Description: 'Checks for uses of double negation (!!).'
121
126
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-bang-bang'
@@ -141,15 +146,17 @@ Style/EvenOdd:
141
146
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
142
147
  Enabled: false
143
148
 
144
- Style/ExtraSpacing:
145
- Description: 'Do not use unnecessary spacing.'
146
- Enabled: true
147
-
148
- Style/FileName:
149
+ Naming/FileName:
149
150
  Description: 'Use snake_case for source file names.'
150
151
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-files'
151
152
  Enabled: false
152
153
 
154
+ Style/FrozenStringLiteralComment:
155
+ Description: >-
156
+ Add the frozen_string_literal comment to the top of files
157
+ to help transition from Ruby 2.3.0 to Ruby 3.0.
158
+ Enabled: false
159
+
153
160
  Style/FlipFlop:
154
161
  Description: 'Checks for flip flops'
155
162
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-flip-flops'
@@ -203,9 +210,6 @@ Style/LineEndConcatenation:
203
210
  line end.
204
211
  Enabled: false
205
212
 
206
- Metric/BlockLength:
207
- Enabled: false
208
-
209
213
  Metrics/LineLength:
210
214
  Description: 'Limit lines to 80 characters.'
211
215
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
@@ -221,25 +225,11 @@ Style/ModuleFunction:
221
225
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#module-function'
222
226
  Enabled: false
223
227
 
224
- Style/MultilineOperationIndentation:
225
- Description: >-
226
- Checks indentation of binary operations that span more than
227
- one line.
228
- Enabled: true
229
- EnforcedStyle: indented
230
-
231
228
  Style/MultilineBlockChain:
232
229
  Description: 'Avoid multi-line chains of blocks.'
233
230
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
234
231
  Enabled: false
235
232
 
236
- Style/MultilineMethodCallIndentation:
237
- Description: >-
238
- Checks indentation of method calls with the dot operator
239
- that span more than one line.
240
- Enabled: true
241
- EnforcedStyle: indented
242
-
243
233
  Style/NegatedIf:
244
234
  Description: >-
245
235
  Favor unless over if for negative conditions
@@ -281,7 +271,7 @@ Style/OneLineConditional:
281
271
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#ternary-operator'
282
272
  Enabled: false
283
273
 
284
- Style/OpMethod:
274
+ Naming/BinaryOperatorParameterName:
285
275
  Description: 'When defining binary operators, name the argument other.'
286
276
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#other-arg'
287
277
  Enabled: false
@@ -301,7 +291,7 @@ Style/PerlBackrefs:
301
291
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers'
302
292
  Enabled: false
303
293
 
304
- Style/PredicateName:
294
+ Naming/PredicateName:
305
295
  Description: 'Check the names of predicate methods.'
306
296
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark'
307
297
  NamePrefixBlacklist:
@@ -356,18 +346,12 @@ Style/StringLiterals:
356
346
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-string-literals'
357
347
  EnforcedStyle: double_quotes
358
348
  Enabled: true
359
- SupportedStyles:
360
- - single_quotes
361
- - double_quotes
362
-
363
- Style/FrozenStringLiteralComment:
364
- Enabled: false
365
349
 
366
350
  Style/TrailingCommaInArguments:
367
351
  Description: 'Checks for trailing comma in argument lists.'
368
352
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
369
353
  EnforcedStyleForMultiline: comma
370
- SupportedStyles:
354
+ SupportedStylesForMultiline:
371
355
  - comma
372
356
  - consistent_comma
373
357
  - no_comma
@@ -377,7 +361,7 @@ Style/TrailingCommaInLiteral:
377
361
  Description: 'Checks for trailing comma in array and hash literals.'
378
362
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
379
363
  EnforcedStyleForMultiline: comma
380
- SupportedStyles:
364
+ SupportedStylesForMultiline:
381
365
  - comma
382
366
  - consistent_comma
383
367
  - no_comma
@@ -412,6 +396,41 @@ Style/WordArray:
412
396
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-w'
413
397
  Enabled: false
414
398
 
399
+ # Layout
400
+
401
+ Layout/AlignParameters:
402
+ Description: 'Here we check if the parameters on a multi-line method call or definition are aligned.'
403
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-double-indent'
404
+ Enabled: false
405
+
406
+ Layout/DotPosition:
407
+ Description: 'Checks the position of the dot in multi-line method calls.'
408
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains'
409
+ EnforcedStyle: trailing
410
+
411
+ Layout/ExtraSpacing:
412
+ Description: 'Do not use unnecessary spacing.'
413
+ Enabled: true
414
+
415
+ Layout/MultilineOperationIndentation:
416
+ Description: >-
417
+ Checks indentation of binary operations that span more than
418
+ one line.
419
+ Enabled: true
420
+ EnforcedStyle: indented
421
+
422
+ Layout/MultilineMethodCallIndentation:
423
+ Description: >-
424
+ Checks indentation of method calls with the dot operator
425
+ that span more than one line.
426
+ Enabled: true
427
+ EnforcedStyle: indented
428
+
429
+ Layout/InitialIndentation:
430
+ Description: >-
431
+ Checks the indentation of the first non-blank non-comment line in a file.
432
+ Enabled: false
433
+
415
434
  # Lint
416
435
 
417
436
  Lint/AmbiguousOperator:
@@ -468,17 +487,6 @@ Lint/HandleExceptions:
468
487
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
469
488
  Enabled: false
470
489
 
471
- Lint/InvalidCharacterLiteral:
472
- Description: >-
473
- Checks for invalid character literals with a non-escaped
474
- whitespace character.
475
- Enabled: false
476
-
477
- Style/InitialIndentation:
478
- Description: >-
479
- Checks the indentation of the first non-blank non-comment line in a file.
480
- Enabled: false
481
-
482
490
  Lint/LiteralInCondition:
483
491
  Description: 'Checks of literals used in conditions.'
484
492
  Enabled: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ ## 0.4.0 (2017-12-11)
2
+
3
+ * Upgrade `digicert` gem with `rubocop` config
4
+
5
+ ## 0.1.0 - 0.3.0 (2017-10-16)
6
+
7
+ * Initial fully functional release
data/digicert-cli.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = "digicert"
22
22
 
23
23
  spec.add_dependency "thor", "~> 0.19.4"
24
- spec.add_dependency "digicert", "~> 0.2.0"
24
+ spec.add_dependency "digicert", "~> 0.3.0"
25
25
  spec.add_dependency "openssl", ">= 2.0.3"
26
26
  spec.add_dependency "terminal-table"
27
27
 
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Digicert
24
24
  module CLI
25
- VERSION = "0.3.0".freeze
25
+ VERSION = "0.4.0".freeze
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: digicert-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-16 00:00:00.000000000 Z
11
+ date: 2017-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.0
33
+ version: 0.3.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: 0.2.0
40
+ version: 0.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: openssl
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -134,6 +134,7 @@ files:
134
134
  - ".hound.yml"
135
135
  - ".rubocop.yml"
136
136
  - ".travis.yml"
137
+ - CHANGELOG.md
137
138
  - Gemfile
138
139
  - LICENSE.txt
139
140
  - README.md