pdnd-ruby-client 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +13 -288
- data/CHANGELOG.md +8 -0
- data/lib/pdnd-ruby-client/jwt_generator.rb +3 -3
- data/lib/pdnd-ruby-client/version.rb +1 -1
- data/publiccode.yml +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b3a60006f1fdccd9a27b51ff709dd31c6dc9bdb0aff67dea107ef5b4b831684
|
|
4
|
+
data.tar.gz: 6cf4ee8b690e37d2ad5670d6e451c04b22abecfde90d0e680601511d96365c50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b494d6be6c3d878e16cc7b7d8b67845898a2719a36914d85f012e30a8458318ec243dcce00be73bc9f2dde523efc68a6788efcf9ac34a742aef794caa880307
|
|
7
|
+
data.tar.gz: abd1a3cf2095fc3ef9ab580a7337599566932640a4ebb79359661174bd8bb4f565d8255c542a42732ab1c6ace7b71d073befb73fc4c1c4cd1ef2b7e2311abcbb
|
data/.rubocop.yml
CHANGED
|
@@ -1,297 +1,22 @@
|
|
|
1
1
|
AllCops:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Exclude:
|
|
5
|
-
- 'bin/console'
|
|
2
|
+
NewCops: enable
|
|
3
|
+
SuggestExtensions: false
|
|
6
4
|
|
|
5
|
+
Exclude:
|
|
6
|
+
- 'vendor/**/*'
|
|
7
|
+
- 'bundle/**/*'
|
|
8
|
+
- 'gems/**/*'
|
|
9
|
+
- '**/gems/**'
|
|
10
|
+
- '**/.bundle/**'
|
|
7
11
|
|
|
8
|
-
|
|
9
|
-
Enabled: true
|
|
10
|
-
Gemspec/AttributeAssignment: # new in 1.77
|
|
11
|
-
Enabled: true
|
|
12
|
-
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
|
13
|
-
Enabled: true
|
|
14
|
-
Gemspec/DevelopmentDependencies: # new in 1.44
|
|
15
|
-
Enabled: true
|
|
16
|
-
Gemspec/RequireMFA: # new in 1.23
|
|
17
|
-
Enabled: true
|
|
18
|
-
Layout/EmptyLinesAfterModuleInclusion: # new in 1.79
|
|
19
|
-
Enabled: true
|
|
20
|
-
Layout/LineContinuationLeadingSpace: # new in 1.31
|
|
21
|
-
Enabled: true
|
|
22
|
-
Layout/LineContinuationSpacing: # new in 1.31
|
|
23
|
-
Enabled: true
|
|
24
|
-
Layout/LineEndStringConcatenationIndentation: # new in 1.18
|
|
25
|
-
Enabled: true
|
|
26
|
-
Layout/SpaceBeforeBrackets: # new in 1.7
|
|
27
|
-
Enabled: true
|
|
28
|
-
Lint/AmbiguousAssignment: # new in 1.7
|
|
29
|
-
Enabled: true
|
|
30
|
-
Lint/AmbiguousOperatorPrecedence: # new in 1.21
|
|
31
|
-
Enabled: true
|
|
32
|
-
Lint/AmbiguousRange: # new in 1.19
|
|
33
|
-
Enabled: true
|
|
34
|
-
Lint/ArrayLiteralInRegexp: # new in 1.71
|
|
35
|
-
Enabled: true
|
|
36
|
-
Lint/ConstantOverwrittenInRescue: # new in 1.31
|
|
37
|
-
Enabled: true
|
|
38
|
-
Lint/ConstantReassignment: # new in 1.70
|
|
39
|
-
Enabled: true
|
|
40
|
-
Lint/CopDirectiveSyntax: # new in 1.72
|
|
41
|
-
Enabled: true
|
|
42
|
-
Lint/DeprecatedConstants: # new in 1.8
|
|
43
|
-
Enabled: true
|
|
44
|
-
Lint/DuplicateBranch: # new in 1.3
|
|
45
|
-
Enabled: true
|
|
46
|
-
Lint/DuplicateMagicComment: # new in 1.37
|
|
47
|
-
Enabled: true
|
|
48
|
-
Lint/DuplicateMatchPattern: # new in 1.50
|
|
49
|
-
Enabled: true
|
|
50
|
-
Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
|
|
51
|
-
Enabled: true
|
|
52
|
-
Lint/DuplicateSetElement: # new in 1.67
|
|
53
|
-
Enabled: true
|
|
54
|
-
Lint/EmptyBlock: # new in 1.1
|
|
55
|
-
Enabled: true
|
|
56
|
-
Lint/EmptyClass: # new in 1.3
|
|
57
|
-
Enabled: true
|
|
58
|
-
Lint/EmptyInPattern: # new in 1.16
|
|
59
|
-
Enabled: true
|
|
60
|
-
Lint/HashNewWithKeywordArgumentsAsDefault: # new in 1.69
|
|
61
|
-
Enabled: true
|
|
62
|
-
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
|
|
63
|
-
Enabled: true
|
|
64
|
-
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
|
65
|
-
Enabled: true
|
|
66
|
-
Lint/LambdaWithoutLiteralBlock: # new in 1.8
|
|
67
|
-
Enabled: true
|
|
68
|
-
Lint/LiteralAssignmentInCondition: # new in 1.58
|
|
69
|
-
Enabled: true
|
|
70
|
-
Lint/MixedCaseRange: # new in 1.53
|
|
71
|
-
Enabled: true
|
|
72
|
-
Lint/NoReturnInBeginEndBlocks: # new in 1.2
|
|
73
|
-
Enabled: true
|
|
74
|
-
Lint/NonAtomicFileOperation: # new in 1.31
|
|
75
|
-
Enabled: true
|
|
76
|
-
Lint/NumberedParameterAssignment: # new in 1.9
|
|
77
|
-
Enabled: true
|
|
78
|
-
Lint/NumericOperationWithConstantResult: # new in 1.69
|
|
79
|
-
Enabled: true
|
|
80
|
-
Lint/OrAssignmentToConstant: # new in 1.9
|
|
81
|
-
Enabled: true
|
|
82
|
-
Lint/RedundantDirGlobSort: # new in 1.8
|
|
83
|
-
Enabled: true
|
|
84
|
-
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
|
85
|
-
Enabled: true
|
|
86
|
-
Lint/RedundantTypeConversion: # new in 1.72
|
|
87
|
-
Enabled: true
|
|
88
|
-
Lint/RefinementImportMethods: # new in 1.27
|
|
89
|
-
Enabled: true
|
|
90
|
-
Lint/RequireRangeParentheses: # new in 1.32
|
|
91
|
-
Enabled: true
|
|
92
|
-
Lint/RequireRelativeSelfPath: # new in 1.22
|
|
93
|
-
Enabled: true
|
|
94
|
-
Lint/SharedMutableDefault: # new in 1.70
|
|
95
|
-
Enabled: true
|
|
96
|
-
Lint/SuppressedExceptionInNumberConversion: # new in 1.72
|
|
97
|
-
Enabled: true
|
|
98
|
-
Lint/SymbolConversion: # new in 1.9
|
|
99
|
-
Enabled: true
|
|
100
|
-
Lint/ToEnumArguments: # new in 1.1
|
|
101
|
-
Enabled: true
|
|
102
|
-
Lint/TripleQuotes: # new in 1.9
|
|
103
|
-
Enabled: true
|
|
104
|
-
Lint/UnescapedBracketInRegexp: # new in 1.68
|
|
105
|
-
Enabled: true
|
|
106
|
-
Lint/UnexpectedBlockArity: # new in 1.5
|
|
107
|
-
Enabled: true
|
|
108
|
-
Lint/UnmodifiedReduceAccumulator: # new in 1.1
|
|
109
|
-
Enabled: true
|
|
110
|
-
Lint/UselessConstantScoping: # new in 1.72
|
|
111
|
-
Enabled: true
|
|
112
|
-
Lint/UselessDefaultValueArgument: # new in 1.76
|
|
113
|
-
Enabled: true
|
|
114
|
-
Lint/UselessDefined: # new in 1.69
|
|
115
|
-
Enabled: true
|
|
116
|
-
Lint/UselessNumericOperation: # new in 1.66
|
|
117
|
-
Enabled: true
|
|
118
|
-
Lint/UselessOr: # new in 1.76
|
|
119
|
-
Enabled: true
|
|
120
|
-
Lint/UselessRescue: # new in 1.43
|
|
121
|
-
Enabled: true
|
|
122
|
-
Lint/UselessRuby2Keywords: # new in 1.23
|
|
123
|
-
Enabled: true
|
|
124
|
-
Metrics/CollectionLiteralLength: # new in 1.47
|
|
125
|
-
Enabled: true
|
|
126
|
-
Metrics/AbcSize:
|
|
127
|
-
Enabled: false
|
|
12
|
+
# Disattiva i cop Metrics più invasivi
|
|
128
13
|
Metrics/ClassLength:
|
|
129
14
|
Enabled: false
|
|
130
15
|
Metrics/MethodLength:
|
|
131
16
|
Enabled: false
|
|
17
|
+
|
|
18
|
+
# Disattiva Naming/FileName se non vuoi forzare snake_case
|
|
132
19
|
Naming/FileName:
|
|
133
20
|
Enabled: false
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
Naming/PredicateMethod: # new in 1.76
|
|
137
|
-
Enabled: true
|
|
138
|
-
Security/CompoundHash: # new in 1.28
|
|
139
|
-
Enabled: true
|
|
140
|
-
Security/IoMethods: # new in 1.22
|
|
141
|
-
Enabled: true
|
|
142
|
-
Style/AmbiguousEndlessMethodDefinition: # new in 1.68
|
|
143
|
-
Enabled: true
|
|
144
|
-
Style/ArgumentsForwarding: # new in 1.1
|
|
145
|
-
Enabled: true
|
|
146
|
-
Style/ArrayIntersect: # new in 1.40
|
|
147
|
-
Enabled: true
|
|
148
|
-
Style/BitwisePredicate: # new in 1.68
|
|
149
|
-
Enabled: true
|
|
150
|
-
Style/CollectionCompact: # new in 1.2
|
|
151
|
-
Enabled: true
|
|
152
|
-
Style/CollectionQuerying: # new in 1.77
|
|
153
|
-
Enabled: true
|
|
154
|
-
Style/CombinableDefined: # new in 1.68
|
|
155
|
-
Enabled: true
|
|
156
|
-
Style/ComparableBetween: # new in 1.74
|
|
157
|
-
Enabled: true
|
|
158
|
-
Style/ComparableClamp: # new in 1.44
|
|
159
|
-
Enabled: true
|
|
160
|
-
Style/ConcatArrayLiterals: # new in 1.41
|
|
161
|
-
Enabled: true
|
|
162
|
-
Style/DataInheritance: # new in 1.49
|
|
163
|
-
Enabled: true
|
|
164
|
-
Style/DigChain: # new in 1.69
|
|
165
|
-
Enabled: true
|
|
166
|
-
Style/DirEmpty: # new in 1.48
|
|
167
|
-
Enabled: true
|
|
168
|
-
Style/DocumentDynamicEvalDefinition: # new in 1.1
|
|
169
|
-
Enabled: true
|
|
170
|
-
Style/EmptyHeredoc: # new in 1.32
|
|
171
|
-
Enabled: true
|
|
172
|
-
Style/EmptyStringInsideInterpolation: # new in 1.76
|
|
173
|
-
Enabled: true
|
|
174
|
-
Style/EndlessMethod: # new in 1.8
|
|
175
|
-
Enabled: true
|
|
176
|
-
Style/EnvHome: # new in 1.29
|
|
177
|
-
Enabled: true
|
|
178
|
-
Style/ExactRegexpMatch: # new in 1.51
|
|
179
|
-
Enabled: true
|
|
180
|
-
Style/FetchEnvVar: # new in 1.28
|
|
181
|
-
Enabled: true
|
|
182
|
-
Style/FileEmpty: # new in 1.48
|
|
183
|
-
Enabled: true
|
|
184
|
-
Style/FileNull: # new in 1.69
|
|
185
|
-
Enabled: true
|
|
186
|
-
Style/FileRead: # new in 1.24
|
|
187
|
-
Enabled: true
|
|
188
|
-
Style/FileTouch: # new in 1.69
|
|
189
|
-
Enabled: true
|
|
190
|
-
Style/FileWrite: # new in 1.24
|
|
191
|
-
Enabled: true
|
|
192
|
-
Style/HashConversion: # new in 1.10
|
|
193
|
-
Enabled: true
|
|
194
|
-
Style/HashExcept: # new in 1.7
|
|
195
|
-
Enabled: true
|
|
196
|
-
Style/HashFetchChain: # new in 1.75
|
|
197
|
-
Enabled: true
|
|
198
|
-
Style/HashSlice: # new in 1.71
|
|
199
|
-
Enabled: true
|
|
200
|
-
Style/IfWithBooleanLiteralBranches: # new in 1.9
|
|
201
|
-
Enabled: true
|
|
202
|
-
Style/InPatternThen: # new in 1.16
|
|
203
|
-
Enabled: true
|
|
204
|
-
Style/ItAssignment: # new in 1.70
|
|
205
|
-
Enabled: true
|
|
206
|
-
Style/ItBlockParameter: # new in 1.75
|
|
207
|
-
Enabled: true
|
|
208
|
-
Style/KeywordArgumentsMerging: # new in 1.68
|
|
209
|
-
Enabled: true
|
|
210
|
-
Style/MagicCommentFormat: # new in 1.35
|
|
211
|
-
Enabled: true
|
|
212
|
-
Style/MapCompactWithConditionalBlock: # new in 1.30
|
|
213
|
-
Enabled: true
|
|
214
|
-
Style/MapIntoArray: # new in 1.63
|
|
215
|
-
Enabled: true
|
|
216
|
-
Style/MapToHash: # new in 1.24
|
|
217
|
-
Enabled: true
|
|
218
|
-
Style/MapToSet: # new in 1.42
|
|
219
|
-
Enabled: true
|
|
220
|
-
Style/MinMaxComparison: # new in 1.42
|
|
221
|
-
Enabled: true
|
|
222
|
-
Style/MultilineInPatternThen: # new in 1.16
|
|
223
|
-
Enabled: true
|
|
224
|
-
Style/NegatedIfElseCondition: # new in 1.2
|
|
225
|
-
Enabled: true
|
|
226
|
-
Style/NestedFileDirname: # new in 1.26
|
|
227
|
-
Enabled: true
|
|
228
|
-
Style/NilLambda: # new in 1.3
|
|
229
|
-
Enabled: true
|
|
230
|
-
Style/NumberedParameters: # new in 1.22
|
|
231
|
-
Enabled: true
|
|
232
|
-
Style/NumberedParametersLimit: # new in 1.22
|
|
233
|
-
Enabled: true
|
|
234
|
-
Style/ObjectThen: # new in 1.28
|
|
235
|
-
Enabled: true
|
|
236
|
-
Style/OpenStructUse: # new in 1.23
|
|
237
|
-
Enabled: true
|
|
238
|
-
Style/OperatorMethodCall: # new in 1.37
|
|
239
|
-
Enabled: true
|
|
240
|
-
Style/QuotedSymbols: # new in 1.16
|
|
241
|
-
Enabled: true
|
|
242
|
-
Style/RedundantArgument: # new in 1.4
|
|
243
|
-
Enabled: true
|
|
244
|
-
Style/RedundantArrayConstructor: # new in 1.52
|
|
245
|
-
Enabled: true
|
|
246
|
-
Style/RedundantArrayFlatten: # new in 1.76
|
|
247
|
-
Enabled: true
|
|
248
|
-
Style/RedundantConstantBase: # new in 1.40
|
|
249
|
-
Enabled: true
|
|
250
|
-
Style/RedundantCurrentDirectoryInPath: # new in 1.53
|
|
251
|
-
Enabled: true
|
|
252
|
-
Style/RedundantDoubleSplatHashBraces: # new in 1.41
|
|
253
|
-
Enabled: true
|
|
254
|
-
Style/RedundantEach: # new in 1.38
|
|
255
|
-
Enabled: true
|
|
256
|
-
Style/RedundantFilterChain: # new in 1.52
|
|
257
|
-
Enabled: true
|
|
258
|
-
Style/RedundantFormat: # new in 1.72
|
|
259
|
-
Enabled: true
|
|
260
|
-
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
|
|
261
|
-
Enabled: true
|
|
262
|
-
Style/RedundantInitialize: # new in 1.27
|
|
263
|
-
Enabled: true
|
|
264
|
-
Style/RedundantInterpolationUnfreeze: # new in 1.66
|
|
265
|
-
Enabled: true
|
|
266
|
-
Style/RedundantLineContinuation: # new in 1.49
|
|
267
|
-
Enabled: true
|
|
268
|
-
Style/RedundantRegexpArgument: # new in 1.53
|
|
269
|
-
Enabled: true
|
|
270
|
-
Style/RedundantRegexpConstructor: # new in 1.52
|
|
271
|
-
Enabled: true
|
|
272
|
-
Style/RedundantSelfAssignmentBranch: # new in 1.19
|
|
273
|
-
Enabled: true
|
|
274
|
-
Style/RedundantStringEscape: # new in 1.37
|
|
275
|
-
Enabled: true
|
|
276
|
-
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
|
|
277
|
-
Enabled: true
|
|
278
|
-
Style/SafeNavigationChainLength: # new in 1.68
|
|
279
|
-
Enabled: true
|
|
280
|
-
Style/SelectByRegexp: # new in 1.22
|
|
281
|
-
Enabled: true
|
|
282
|
-
Style/SendWithLiteralMethodName: # new in 1.64
|
|
283
|
-
Enabled: true
|
|
284
|
-
Style/SingleLineDoEndBlock: # new in 1.57
|
|
285
|
-
Enabled: true
|
|
286
|
-
Style/StringChars: # new in 1.12
|
|
287
|
-
Enabled: true
|
|
288
|
-
Style/StringLiterals:
|
|
289
|
-
Enabled: false
|
|
290
|
-
Style/SuperArguments: # new in 1.64
|
|
291
|
-
Enabled: true
|
|
292
|
-
Style/SuperWithArgsParentheses: # new in 1.58
|
|
293
|
-
Enabled: true
|
|
294
|
-
Style/SwapValues: # new in 1.1
|
|
295
|
-
Enabled: true
|
|
296
|
-
Style/YAMLFileRead: # new in 1.53
|
|
297
|
-
Enabled: true
|
|
21
|
+
|
|
22
|
+
# Tutti i cop nuovi che avevi già abilitato restano gestiti da NewCops: enable
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.1.11](https://github.com/isprambiente/pdnd-ruby-client/tree/v0.1.11) (2026-01-31)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/isprambiente/pdnd-ruby-client/compare/v0.1.10...v0.1.11)
|
|
6
|
+
|
|
7
|
+
## [v0.1.10](https://github.com/isprambiente/pdnd-ruby-client/tree/v0.1.10) (2025-12-27)
|
|
8
|
+
|
|
9
|
+
[Full Changelog](https://github.com/isprambiente/pdnd-ruby-client/compare/v0.1.9...v0.1.10)
|
|
10
|
+
|
|
3
11
|
## [v0.1.9](https://github.com/isprambiente/pdnd-ruby-client/tree/v0.1.9) (2025-12-12)
|
|
4
12
|
|
|
5
13
|
[Full Changelog](https://github.com/isprambiente/pdnd-ruby-client/compare/v0.1.8...v0.1.9)
|
|
@@ -87,14 +87,14 @@ module PDND
|
|
|
87
87
|
def load_private_key
|
|
88
88
|
key = nil
|
|
89
89
|
|
|
90
|
-
if @priv_key.to_s.strip !=
|
|
90
|
+
if @priv_key.to_s.strip != ''
|
|
91
91
|
key = @priv_key
|
|
92
92
|
debug_log('✅ Priv Key acquisita manualmente', '**********')
|
|
93
|
-
elsif @priv_key_path.to_s.strip !=
|
|
93
|
+
elsif @priv_key_path.to_s.strip != ''
|
|
94
94
|
key = File.read(@priv_key_path)
|
|
95
95
|
debug_log('✅ Priv Key acquisita da file', '**********')
|
|
96
96
|
else
|
|
97
|
-
raise PDND::ConfigError,
|
|
97
|
+
raise PDND::ConfigError, '❌ Nessuna chiave privata o percorso fornito'
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
OpenSSL::PKey::RSA.new(key)
|
data/publiccode.yml
CHANGED
|
@@ -3,8 +3,8 @@ name: PDND Ruby Client
|
|
|
3
3
|
applicationSuite: PDNDClient
|
|
4
4
|
url: https://github.com/isprambiente/pdnd-ruby-client.git
|
|
5
5
|
landingURL: https://github.com/isprambiente/pdnd-ruby-client
|
|
6
|
-
softwareVersion: 0.1.
|
|
7
|
-
releaseDate:
|
|
6
|
+
softwareVersion: 0.1.11
|
|
7
|
+
releaseDate: 2026-01-31
|
|
8
8
|
platforms:
|
|
9
9
|
- web
|
|
10
10
|
- windows
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pdnd-ruby-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Francesco Loreti
|
|
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
132
132
|
- !ruby/object:Gem::Version
|
|
133
133
|
version: '0'
|
|
134
134
|
requirements: []
|
|
135
|
-
rubygems_version:
|
|
135
|
+
rubygems_version: 4.0.3
|
|
136
136
|
specification_version: 4
|
|
137
137
|
summary: Client Ruby per la PDND.
|
|
138
138
|
test_files: []
|