acme-client 2.0.5 → 2.0.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: bdf3dcbcbe410b8843976b06e849045be1cec4515b771d2cad99bf49d2dc206d
4
- data.tar.gz: 52b8a373c8f8135abffe75e04d581a0b7800cfb4fab23662bfc68c81ce4b8626
3
+ metadata.gz: '09b859082bb56c35a6c050801def72343fe9f9737213155705f691bb044a54cc'
4
+ data.tar.gz: be387d14e92a862fb79668579d456050cdf0e8e5c36de6726bbd80e073410c41
5
5
  SHA512:
6
- metadata.gz: ce77c7466d8c625f043831425e4a0a6563d4ff667e6abb4280c43de00e2aa037caf5802bc56ce229f33707009d5bf76ee979b3f8161cb2dbf91ccf37c5ce8be5
7
- data.tar.gz: 44a2290c512cea8cc8b89b42b983d14c1fba80d94dd663eed4c83877f3f5d407f1ec69a6e8d29fe205b8c5a0f6d43a2403d26d5514fd9cef99c691bbc244103f
6
+ metadata.gz: 44f195eb5477138c33393704905537d3b2a66f774d5f1c645f88475cfe4b4be4bba082a15b8e99fbfc8266d74901fb38847ec83d440175db3a004ffbb085c9cd
7
+ data.tar.gz: 76930a35156563532898381603c515f65fb6057b8895b5d2785c88897b75878a319067a26652dee0e33d6a992f75073011b72398a40580b7be493927e11c047e
@@ -7,133 +7,128 @@ AllCops:
7
7
  Rails:
8
8
  Enabled: false
9
9
 
10
- Style/FileName:
11
- Exclude:
12
- - 'lib/acme-client.rb'
10
+ Layout/AlignParameters:
11
+ EnforcedStyle: with_fixed_indentation
13
12
 
14
- Lint/AssignmentInCondition:
13
+ Layout/ElseAlignment:
15
14
  Enabled: false
16
15
 
17
- Style/ClassAndModuleChildren:
18
- Enabled: false
16
+ Layout/FirstParameterIndentation:
17
+ EnforcedStyle: consistent
19
18
 
20
- Style/Documentation:
19
+ Layout/IndentationWidth:
21
20
  Enabled: false
22
21
 
23
22
  Layout/MultilineOperationIndentation:
24
23
  Enabled: false
25
24
 
26
- Style/SignalException:
27
- EnforcedStyle: only_raise
28
-
29
- Layout/AlignParameters:
30
- EnforcedStyle: with_fixed_indentation
31
-
32
- Layout/ElseAlignment:
25
+ Layout/SpaceInsideBlockBraces:
33
26
  Enabled: false
34
27
 
35
- Style/MultipleComparison:
28
+ Lint/AmbiguousOperator:
36
29
  Enabled: false
37
30
 
38
- Layout/IndentationWidth:
31
+ Lint/AssignmentInCondition:
39
32
  Enabled: false
40
33
 
41
- Style/SymbolArray:
34
+ Lint/EndAlignment:
42
35
  Enabled: false
43
36
 
44
- Layout/FirstParameterIndentation:
45
- EnforcedStyle: consistent
46
-
47
- Style/TrailingCommaInArguments:
48
- Enabled: false
37
+ Lint/UnusedMethodArgument:
38
+ AllowUnusedKeywordArguments: true
49
39
 
50
- Style/PercentLiteralDelimiters:
40
+ Metrics/AbcSize:
51
41
  Enabled: false
52
42
 
53
43
  Metrics/BlockLength:
54
44
  Enabled: false
55
45
 
56
- Layout/SpaceInsideBlockBraces:
46
+ Metrics/ClassLength:
57
47
  Enabled: false
58
48
 
59
- Style/StringLiterals:
60
- Enabled: single_quotes
49
+ Metrics/CyclomaticComplexity:
50
+ Enabled: false
61
51
 
62
52
  Metrics/LineLength:
63
53
  Max: 140
64
54
 
55
+ Metrics/MethodLength:
56
+ Max: 15
57
+ Enabled: false
58
+
65
59
  Metrics/ParameterLists:
66
60
  Max: 5
67
61
  CountKeywordArgs: false
68
62
 
69
- Lint/EndAlignment:
63
+ Metrics/PerceivedComplexity:
70
64
  Enabled: false
71
65
 
72
- Style/ParallelAssignment:
66
+ Security/JSONLoad:
73
67
  Enabled: false
74
68
 
75
- Style/ModuleFunction:
69
+ Style/AccessorMethodName:
76
70
  Enabled: false
77
71
 
78
- Style/TrivialAccessors:
79
- AllowPredicates: true
80
-
81
- Lint/UnusedMethodArgument:
82
- AllowUnusedKeywordArguments: true
72
+ Style/Alias:
73
+ Enabled: false
83
74
 
84
- Metrics/MethodLength:
85
- Max: 15
75
+ Style/BlockDelimiters:
76
+ EnforcedStyle: semantic
86
77
 
87
- Style/DoubleNegation:
78
+ Style/ClassAndModuleChildren:
88
79
  Enabled: false
89
80
 
90
- Style/IfUnlessModifier:
81
+ Style/Documentation:
91
82
  Enabled: false
92
83
 
93
- Style/MultilineBlockChain:
84
+ Style/DoubleNegation:
94
85
  Enabled: false
95
86
 
96
- Style/BlockDelimiters:
97
- EnforcedStyle: semantic
87
+ Style/FileName:
88
+ Exclude:
89
+ - 'lib/acme-client.rb'
98
90
 
99
- Style/Lambda:
91
+ Style/GlobalVars:
100
92
  Enabled: false
101
93
 
102
94
  Style/GuardClause:
103
95
  Enabled: false
104
96
 
105
- Style/Alias:
97
+ Style/IfUnlessModifier:
106
98
  Enabled: false
107
99
 
108
- Lint/AmbiguousOperator:
100
+ Style/Lambda:
109
101
  Enabled: false
110
102
 
111
- Metrics/MethodLength:
103
+ Style/ModuleFunction:
112
104
  Enabled: false
113
105
 
114
- Metrics/PerceivedComplexity:
106
+ Style/MultilineBlockChain:
115
107
  Enabled: false
116
108
 
117
- Metrics/CyclomaticComplexity:
109
+ Style/MultipleComparison:
118
110
  Enabled: false
119
111
 
120
- Metrics/AbcSize:
112
+ Style/MutableConstant:
121
113
  Enabled: false
122
114
 
123
- Metrics/ClassLength:
115
+ Style/ParallelAssignment:
124
116
  Enabled: false
125
117
 
126
- Style/MutableConstant:
118
+ Style/PercentLiteralDelimiters:
127
119
  Enabled: false
128
120
 
129
- Style/GlobalVars:
130
- Enabled: false
121
+ Style/SignalException:
122
+ EnforcedStyle: only_raise
131
123
 
132
- Style/ExpandPathArguments:
124
+ Style/SymbolArray:
133
125
  Enabled: false
134
126
 
135
- Security/JSONLoad:
136
- Enabled: false
127
+ Style/StringLiterals:
128
+ Enabled: single_quotes
137
129
 
138
- Style/AccessorMethodName:
130
+ Style/TrailingCommaInArguments:
139
131
  Enabled: false
132
+
133
+ Style/TrivialAccessors:
134
+ AllowPredicates: true
@@ -3,6 +3,12 @@ cache: bundler
3
3
  rvm:
4
4
  - 2.1
5
5
  - 2.2
6
- - 2.3.3
7
- - 2.4.0
8
- - 2.6.1
6
+ - 2.3
7
+ - 2.4
8
+ - 2.5
9
+ - 2.6
10
+ - 2.7
11
+
12
+ before_install:
13
+ - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
14
+ - gem install bundler -v '< 2'
@@ -1,3 +1,7 @@
1
+ ## `2.0.6`
2
+
3
+ * Allow Faraday up to `< 2.0`
4
+
1
5
  ## `2.0.5`
2
6
 
3
7
  * Use post-as-get
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  source 'https://rubygems.org'
2
+
2
3
  gemspec
3
4
 
4
5
  group :development, :test do
data/README.md CHANGED
@@ -201,7 +201,7 @@ client.revoke(certificate: certificate)
201
201
 
202
202
  ### Certificate renewal
203
203
 
204
- The is no renewal process, just create a new order.
204
+ There is no renewal process, just create a new order.
205
205
 
206
206
 
207
207
  ## Not implemented
@@ -16,11 +16,15 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  spec.required_ruby_version = '>= 2.1.0'
18
18
 
19
- spec.add_development_dependency 'bundler', '~> 1.6', '>= 1.6.9'
20
- spec.add_development_dependency 'rake', '~> 10.0'
21
- spec.add_development_dependency 'rspec', '~> 3.3', '>= 3.3.0'
22
- spec.add_development_dependency 'vcr', '~> 2.9', '>= 2.9.3'
23
- spec.add_development_dependency 'webmock', '~> 3.3'
19
+ spec.add_development_dependency 'bundler', '>= 1.17.3'
20
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2')
21
+ spec.add_development_dependency 'rake', '>= 12.0'
22
+ else
23
+ spec.add_development_dependency 'rake', '~> 13.0'
24
+ end
25
+ spec.add_development_dependency 'rspec', '~> 3.9'
26
+ spec.add_development_dependency 'vcr', '~> 2.9'
27
+ spec.add_development_dependency 'webmock', '~> 3.8'
24
28
 
25
- spec.add_runtime_dependency 'faraday', '~> 0.9', '>= 0.9.1'
29
+ spec.add_runtime_dependency 'faraday', '>= 0.17', '< 2.0.0'
26
30
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Acme
4
4
  class Client
5
- VERSION = '2.0.5'.freeze
5
+ VERSION = '2.0.6'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,69 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acme-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Barbier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-28 00:00:00.000000000 Z
11
+ date: 2020-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.6'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
- version: 1.6.9
19
+ version: 1.17.3
23
20
  type: :development
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '1.6'
30
24
  - - ">="
31
25
  - !ruby/object:Gem::Version
32
- version: 1.6.9
26
+ version: 1.17.3
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: rake
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '10.0'
33
+ version: '13.0'
40
34
  type: :development
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '10.0'
40
+ version: '13.0'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: rspec
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 3.3.0
54
45
  - - "~>"
55
46
  - !ruby/object:Gem::Version
56
- version: '3.3'
47
+ version: '3.9'
57
48
  type: :development
58
49
  prerelease: false
59
50
  version_requirements: !ruby/object:Gem::Requirement
60
51
  requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: 3.3.0
64
52
  - - "~>"
65
53
  - !ruby/object:Gem::Version
66
- version: '3.3'
54
+ version: '3.9'
67
55
  - !ruby/object:Gem::Dependency
68
56
  name: vcr
69
57
  requirement: !ruby/object:Gem::Requirement
@@ -71,9 +59,6 @@ dependencies:
71
59
  - - "~>"
72
60
  - !ruby/object:Gem::Version
73
61
  version: '2.9'
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: 2.9.3
77
62
  type: :development
78
63
  prerelease: false
79
64
  version_requirements: !ruby/object:Gem::Requirement
@@ -81,43 +66,40 @@ dependencies:
81
66
  - - "~>"
82
67
  - !ruby/object:Gem::Version
83
68
  version: '2.9'
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- version: 2.9.3
87
69
  - !ruby/object:Gem::Dependency
88
70
  name: webmock
89
71
  requirement: !ruby/object:Gem::Requirement
90
72
  requirements:
91
73
  - - "~>"
92
74
  - !ruby/object:Gem::Version
93
- version: '3.3'
75
+ version: '3.8'
94
76
  type: :development
95
77
  prerelease: false
96
78
  version_requirements: !ruby/object:Gem::Requirement
97
79
  requirements:
98
80
  - - "~>"
99
81
  - !ruby/object:Gem::Version
100
- version: '3.3'
82
+ version: '3.8'
101
83
  - !ruby/object:Gem::Dependency
102
84
  name: faraday
103
85
  requirement: !ruby/object:Gem::Requirement
104
86
  requirements:
105
- - - "~>"
106
- - !ruby/object:Gem::Version
107
- version: '0.9'
108
87
  - - ">="
109
88
  - !ruby/object:Gem::Version
110
- version: 0.9.1
89
+ version: '0.17'
90
+ - - "<"
91
+ - !ruby/object:Gem::Version
92
+ version: 2.0.0
111
93
  type: :runtime
112
94
  prerelease: false
113
95
  version_requirements: !ruby/object:Gem::Requirement
114
96
  requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '0.9'
118
97
  - - ">="
119
98
  - !ruby/object:Gem::Version
120
- version: 0.9.1
99
+ version: '0.17'
100
+ - - "<"
101
+ - !ruby/object:Gem::Version
102
+ version: 2.0.0
121
103
  description:
122
104
  email:
123
105
  - unixcharles@gmail.com