supersaas-api-client 2.0.5 → 2.1.0
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/README.md +122 -37
- data/examples/appointments.rb +16 -22
- data/examples/forms.rb +9 -5
- data/examples/groups.rb +2 -1
- data/examples/promotions.rb +5 -4
- data/examples/schedules.rb +7 -7
- data/examples/slots.rb +42 -0
- data/examples/users.rb +1 -1
- data/lib/supersaas-api-client/api/appointments.rb +27 -36
- data/lib/supersaas-api-client/api/base_api.rb +2 -0
- data/lib/supersaas-api-client/api/groups.rb +1 -1
- data/lib/supersaas-api-client/api/hooks.rb +25 -0
- data/lib/supersaas-api-client/api/promotions.rb +1 -1
- data/lib/supersaas-api-client/api/schedules.rb +9 -1
- data/lib/supersaas-api-client/api/slots.rb +63 -0
- data/lib/supersaas-api-client/api/users.rb +30 -40
- data/lib/supersaas-api-client/client.rb +44 -30
- data/lib/supersaas-api-client/exception.rb +8 -0
- data/lib/supersaas-api-client/models/base_model.rb +18 -2
- data/lib/supersaas-api-client/models/field_list.rb +11 -2
- data/lib/supersaas-api-client/models/slot.rb +1 -1
- data/lib/supersaas-api-client/version.rb +1 -1
- data/lib/supersaas.rb +2 -0
- metadata +11 -17
- data/.github/workflows/actions.yaml +0 -21
- data/.gitignore +0 -13
- data/.rubocop.yml +0 -1
- data/.rubocop_todo.yml +0 -298
- data/Gemfile +0 -5
- data/Gemfile.lock +0 -49
- data/Rakefile +0 -12
- data/bin/console +0 -15
- data/bin/setup +0 -8
- data/supersaas-api-client.gemspec +0 -28
data/.rubocop_todo.yml
DELETED
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2024-01-17 11:07:18 UTC using RuboCop version 1.60.0.
|
|
4
|
-
# The point is for the user to remove these configuration records
|
|
5
|
-
# one by one as the offenses are removed from the code base.
|
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
-
|
|
9
|
-
# Offense count: 2
|
|
10
|
-
# Configuration parameters: Severity, Include.
|
|
11
|
-
# Include: **/*.gemspec
|
|
12
|
-
Gemspec/RequiredRubyVersion:
|
|
13
|
-
Exclude:
|
|
14
|
-
- 'supersaas-api-client.gemspec'
|
|
15
|
-
- 'supersaas-api-client/supersaas-api-client.gemspec'
|
|
16
|
-
|
|
17
|
-
# Offense count: 8
|
|
18
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
|
19
|
-
Metrics/AbcSize:
|
|
20
|
-
Max: 72
|
|
21
|
-
|
|
22
|
-
# Offense count: 2
|
|
23
|
-
# Configuration parameters: CountComments, CountAsOne.
|
|
24
|
-
Metrics/ClassLength:
|
|
25
|
-
Max: 200
|
|
26
|
-
|
|
27
|
-
# Offense count: 3
|
|
28
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
|
29
|
-
Metrics/CyclomaticComplexity:
|
|
30
|
-
Max: 20
|
|
31
|
-
|
|
32
|
-
# Offense count: 9
|
|
33
|
-
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
34
|
-
Metrics/MethodLength:
|
|
35
|
-
Max: 71
|
|
36
|
-
|
|
37
|
-
# Offense count: 7
|
|
38
|
-
# Configuration parameters: CountKeywordArgs.
|
|
39
|
-
Metrics/ParameterLists:
|
|
40
|
-
MaxOptionalParameters: 9
|
|
41
|
-
Max: 10
|
|
42
|
-
|
|
43
|
-
# Offense count: 3
|
|
44
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
|
45
|
-
Metrics/PerceivedComplexity:
|
|
46
|
-
Max: 17
|
|
47
|
-
|
|
48
|
-
# Offense count: 1
|
|
49
|
-
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
|
50
|
-
# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
|
|
51
|
-
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
|
52
|
-
Naming/FileName:
|
|
53
|
-
Exclude:
|
|
54
|
-
- 'lib/supersaas-api-client.rb'
|
|
55
|
-
|
|
56
|
-
# Offense count: 22
|
|
57
|
-
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
|
|
58
|
-
# SupportedStyles: snake_case, normalcase, non_integer
|
|
59
|
-
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
|
|
60
|
-
Naming/VariableNumber:
|
|
61
|
-
Exclude:
|
|
62
|
-
- 'lib/supersaas-api-client/api/appointments.rb'
|
|
63
|
-
- 'lib/supersaas-api-client/api/users.rb'
|
|
64
|
-
- 'lib/supersaas-api-client/models/appointment.rb'
|
|
65
|
-
- 'lib/supersaas-api-client/models/user.rb'
|
|
66
|
-
- 'test/appointments_test.rb'
|
|
67
|
-
- 'test/users_test.rb'
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
# Offense count: 18
|
|
71
|
-
# Configuration parameters: AllowedConstants.
|
|
72
|
-
Style/Documentation:
|
|
73
|
-
Enabled: false
|
|
74
|
-
|
|
75
|
-
# Offense count: 6
|
|
76
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
77
|
-
Style/IfUnlessModifier:
|
|
78
|
-
Exclude:
|
|
79
|
-
- 'lib/supersaas-api-client/api/base_api.rb'
|
|
80
|
-
- 'lib/supersaas-api-client/client.rb'
|
|
81
|
-
|
|
82
|
-
# Offense count: 5
|
|
83
|
-
# Configuration parameters: AllowedMethods.
|
|
84
|
-
# AllowedMethods: respond_to_missing?
|
|
85
|
-
Style/OptionalBooleanParameter:
|
|
86
|
-
Exclude:
|
|
87
|
-
- 'lib/supersaas-api-client/api/appointments.rb'
|
|
88
|
-
|
|
89
|
-
# Offense count: 6
|
|
90
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
91
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
|
92
|
-
# URISchemes: http, https
|
|
93
|
-
Layout/LineLength:
|
|
94
|
-
Max: 191
|
|
95
|
-
|
|
96
|
-
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
|
97
|
-
Enabled: true
|
|
98
|
-
Gemspec/DevelopmentDependencies: # new in 1.44
|
|
99
|
-
Enabled: false
|
|
100
|
-
Gemspec/RequireMFA: # new in 1.23
|
|
101
|
-
Enabled: true
|
|
102
|
-
Layout/LineContinuationLeadingSpace: # new in 1.31
|
|
103
|
-
Enabled: true
|
|
104
|
-
Layout/LineContinuationSpacing: # new in 1.31
|
|
105
|
-
Enabled: true
|
|
106
|
-
Layout/LineEndStringConcatenationIndentation: # new in 1.18
|
|
107
|
-
Enabled: true
|
|
108
|
-
Layout/SpaceBeforeBrackets: # new in 1.7
|
|
109
|
-
Enabled: true
|
|
110
|
-
Lint/AmbiguousAssignment: # new in 1.7
|
|
111
|
-
Enabled: true
|
|
112
|
-
Lint/AmbiguousOperatorPrecedence: # new in 1.21
|
|
113
|
-
Enabled: true
|
|
114
|
-
Lint/AmbiguousRange: # new in 1.19
|
|
115
|
-
Enabled: true
|
|
116
|
-
Lint/ConstantOverwrittenInRescue: # new in 1.31
|
|
117
|
-
Enabled: true
|
|
118
|
-
Lint/DeprecatedConstants: # new in 1.8
|
|
119
|
-
Enabled: true
|
|
120
|
-
Lint/DuplicateBranch: # new in 1.3
|
|
121
|
-
Enabled: true
|
|
122
|
-
Lint/DuplicateMagicComment: # new in 1.37
|
|
123
|
-
Enabled: true
|
|
124
|
-
Lint/DuplicateMatchPattern: # new in 1.50
|
|
125
|
-
Enabled: true
|
|
126
|
-
Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
|
|
127
|
-
Enabled: true
|
|
128
|
-
Lint/EmptyBlock: # new in 1.1
|
|
129
|
-
Enabled: true
|
|
130
|
-
Lint/EmptyClass: # new in 1.3
|
|
131
|
-
Enabled: true
|
|
132
|
-
Lint/EmptyInPattern: # new in 1.16
|
|
133
|
-
Enabled: true
|
|
134
|
-
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
|
|
135
|
-
Enabled: true
|
|
136
|
-
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
|
137
|
-
Enabled: true
|
|
138
|
-
Lint/LambdaWithoutLiteralBlock: # new in 1.8
|
|
139
|
-
Enabled: true
|
|
140
|
-
Lint/LiteralAssignmentInCondition: # new in 1.58
|
|
141
|
-
Enabled: true
|
|
142
|
-
Lint/MixedCaseRange: # new in 1.53
|
|
143
|
-
Enabled: true
|
|
144
|
-
Lint/NoReturnInBeginEndBlocks: # new in 1.2
|
|
145
|
-
Enabled: true
|
|
146
|
-
Lint/NonAtomicFileOperation: # new in 1.31
|
|
147
|
-
Enabled: true
|
|
148
|
-
Lint/NumberedParameterAssignment: # new in 1.9
|
|
149
|
-
Enabled: true
|
|
150
|
-
Lint/OrAssignmentToConstant: # new in 1.9
|
|
151
|
-
Enabled: true
|
|
152
|
-
Lint/RedundantDirGlobSort: # new in 1.8
|
|
153
|
-
Enabled: true
|
|
154
|
-
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
|
155
|
-
Enabled: true
|
|
156
|
-
Lint/RefinementImportMethods: # new in 1.27
|
|
157
|
-
Enabled: true
|
|
158
|
-
Lint/RequireRangeParentheses: # new in 1.32
|
|
159
|
-
Enabled: true
|
|
160
|
-
Lint/RequireRelativeSelfPath: # new in 1.22
|
|
161
|
-
Enabled: true
|
|
162
|
-
Lint/SymbolConversion: # new in 1.9
|
|
163
|
-
Enabled: true
|
|
164
|
-
Lint/ToEnumArguments: # new in 1.1
|
|
165
|
-
Enabled: true
|
|
166
|
-
Lint/TripleQuotes: # new in 1.9
|
|
167
|
-
Enabled: true
|
|
168
|
-
Lint/UnexpectedBlockArity: # new in 1.5
|
|
169
|
-
Enabled: true
|
|
170
|
-
Lint/UnmodifiedReduceAccumulator: # new in 1.1
|
|
171
|
-
Enabled: true
|
|
172
|
-
Lint/UselessRescue: # new in 1.43
|
|
173
|
-
Enabled: true
|
|
174
|
-
Lint/UselessRuby2Keywords: # new in 1.23
|
|
175
|
-
Enabled: true
|
|
176
|
-
Metrics/CollectionLiteralLength: # new in 1.47
|
|
177
|
-
Enabled: true
|
|
178
|
-
Naming/BlockForwarding: # new in 1.24
|
|
179
|
-
Enabled: true
|
|
180
|
-
Security/CompoundHash: # new in 1.28
|
|
181
|
-
Enabled: true
|
|
182
|
-
Security/IoMethods: # new in 1.22
|
|
183
|
-
Enabled: true
|
|
184
|
-
Style/ArgumentsForwarding: # new in 1.1
|
|
185
|
-
Enabled: true
|
|
186
|
-
Style/ArrayIntersect: # new in 1.40
|
|
187
|
-
Enabled: true
|
|
188
|
-
Style/CollectionCompact: # new in 1.2
|
|
189
|
-
Enabled: true
|
|
190
|
-
Style/ComparableClamp: # new in 1.44
|
|
191
|
-
Enabled: true
|
|
192
|
-
Style/ConcatArrayLiterals: # new in 1.41
|
|
193
|
-
Enabled: true
|
|
194
|
-
Style/DataInheritance: # new in 1.49
|
|
195
|
-
Enabled: true
|
|
196
|
-
Style/DirEmpty: # new in 1.48
|
|
197
|
-
Enabled: true
|
|
198
|
-
Style/DocumentDynamicEvalDefinition: # new in 1.1
|
|
199
|
-
Enabled: true
|
|
200
|
-
Style/EmptyHeredoc: # new in 1.32
|
|
201
|
-
Enabled: true
|
|
202
|
-
Style/EndlessMethod: # new in 1.8
|
|
203
|
-
Enabled: true
|
|
204
|
-
Style/EnvHome: # new in 1.29
|
|
205
|
-
Enabled: true
|
|
206
|
-
Style/ExactRegexpMatch: # new in 1.51
|
|
207
|
-
Enabled: true
|
|
208
|
-
Style/FetchEnvVar: # new in 1.28
|
|
209
|
-
Enabled: true
|
|
210
|
-
Style/FileEmpty: # new in 1.48
|
|
211
|
-
Enabled: true
|
|
212
|
-
Style/FileRead: # new in 1.24
|
|
213
|
-
Enabled: true
|
|
214
|
-
Style/FileWrite: # new in 1.24
|
|
215
|
-
Enabled: true
|
|
216
|
-
Style/HashConversion: # new in 1.10
|
|
217
|
-
Enabled: true
|
|
218
|
-
Style/HashExcept: # new in 1.7
|
|
219
|
-
Enabled: true
|
|
220
|
-
Style/IfWithBooleanLiteralBranches: # new in 1.9
|
|
221
|
-
Enabled: true
|
|
222
|
-
Style/InPatternThen: # new in 1.16
|
|
223
|
-
Enabled: true
|
|
224
|
-
Style/MagicCommentFormat: # new in 1.35
|
|
225
|
-
Enabled: true
|
|
226
|
-
Style/MapCompactWithConditionalBlock: # new in 1.30
|
|
227
|
-
Enabled: true
|
|
228
|
-
Style/MapToHash: # new in 1.24
|
|
229
|
-
Enabled: true
|
|
230
|
-
Style/MapToSet: # new in 1.42
|
|
231
|
-
Enabled: true
|
|
232
|
-
Style/MinMaxComparison: # new in 1.42
|
|
233
|
-
Enabled: true
|
|
234
|
-
Style/MultilineInPatternThen: # new in 1.16
|
|
235
|
-
Enabled: true
|
|
236
|
-
Style/NegatedIfElseCondition: # new in 1.2
|
|
237
|
-
Enabled: true
|
|
238
|
-
Style/NestedFileDirname: # new in 1.26
|
|
239
|
-
Enabled: true
|
|
240
|
-
Style/NilLambda: # new in 1.3
|
|
241
|
-
Enabled: true
|
|
242
|
-
Style/NumberedParameters: # new in 1.22
|
|
243
|
-
Enabled: true
|
|
244
|
-
Style/NumberedParametersLimit: # new in 1.22
|
|
245
|
-
Enabled: true
|
|
246
|
-
Style/ObjectThen: # new in 1.28
|
|
247
|
-
Enabled: true
|
|
248
|
-
Style/OpenStructUse: # new in 1.23
|
|
249
|
-
Enabled: true
|
|
250
|
-
Style/OperatorMethodCall: # new in 1.37
|
|
251
|
-
Enabled: true
|
|
252
|
-
Style/QuotedSymbols: # new in 1.16
|
|
253
|
-
Enabled: true
|
|
254
|
-
Style/RedundantArgument: # new in 1.4
|
|
255
|
-
Enabled: true
|
|
256
|
-
Style/RedundantArrayConstructor: # new in 1.52
|
|
257
|
-
Enabled: true
|
|
258
|
-
Style/RedundantConstantBase: # new in 1.40
|
|
259
|
-
Enabled: true
|
|
260
|
-
Style/RedundantCurrentDirectoryInPath: # new in 1.53
|
|
261
|
-
Enabled: true
|
|
262
|
-
Style/RedundantDoubleSplatHashBraces: # new in 1.41
|
|
263
|
-
Enabled: true
|
|
264
|
-
Style/RedundantEach: # new in 1.38
|
|
265
|
-
Enabled: true
|
|
266
|
-
Style/RedundantFilterChain: # new in 1.52
|
|
267
|
-
Enabled: true
|
|
268
|
-
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
|
|
269
|
-
Enabled: true
|
|
270
|
-
Style/RedundantInitialize: # new in 1.27
|
|
271
|
-
Enabled: true
|
|
272
|
-
Style/RedundantLineContinuation: # new in 1.49
|
|
273
|
-
Enabled: true
|
|
274
|
-
Style/RedundantRegexpArgument: # new in 1.53
|
|
275
|
-
Enabled: true
|
|
276
|
-
Style/RedundantRegexpConstructor: # new in 1.52
|
|
277
|
-
Enabled: true
|
|
278
|
-
Style/RedundantSelfAssignmentBranch: # new in 1.19
|
|
279
|
-
Enabled: true
|
|
280
|
-
Style/RedundantStringEscape: # new in 1.37
|
|
281
|
-
Enabled: true
|
|
282
|
-
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
|
|
283
|
-
Enabled: true
|
|
284
|
-
Style/SelectByRegexp: # new in 1.22
|
|
285
|
-
Enabled: true
|
|
286
|
-
Style/SingleLineDoEndBlock: # new in 1.57
|
|
287
|
-
Enabled: true
|
|
288
|
-
Style/StringChars: # new in 1.12
|
|
289
|
-
Enabled: true
|
|
290
|
-
Style/SuperWithArgsParentheses: # new in 1.58
|
|
291
|
-
Enabled: true
|
|
292
|
-
Style/SwapValues: # new in 1.1
|
|
293
|
-
Enabled: true
|
|
294
|
-
Style/YAMLFileRead: # new in 1.53
|
|
295
|
-
Enabled: true
|
|
296
|
-
|
|
297
|
-
AllCops:
|
|
298
|
-
SuggestExtensions: false
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
supersaas-api-client (2.0.5)
|
|
5
|
-
|
|
6
|
-
GEM
|
|
7
|
-
remote: https://rubygems.org/
|
|
8
|
-
specs:
|
|
9
|
-
ast (2.4.2)
|
|
10
|
-
json (2.7.2)
|
|
11
|
-
language_server-protocol (3.17.0.3)
|
|
12
|
-
minitest (5.24.1)
|
|
13
|
-
parallel (1.25.1)
|
|
14
|
-
parser (3.3.4.0)
|
|
15
|
-
ast (~> 2.4.1)
|
|
16
|
-
racc
|
|
17
|
-
racc (1.8.0)
|
|
18
|
-
rainbow (3.1.1)
|
|
19
|
-
rake (13.2.1)
|
|
20
|
-
regexp_parser (2.9.2)
|
|
21
|
-
rexml (3.3.9)
|
|
22
|
-
rubocop (1.65.0)
|
|
23
|
-
json (~> 2.3)
|
|
24
|
-
language_server-protocol (>= 3.17.0)
|
|
25
|
-
parallel (~> 1.10)
|
|
26
|
-
parser (>= 3.3.0.2)
|
|
27
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
28
|
-
regexp_parser (>= 2.4, < 3.0)
|
|
29
|
-
rexml (>= 3.2.5, < 4.0)
|
|
30
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
|
31
|
-
ruby-progressbar (~> 1.7)
|
|
32
|
-
unicode-display_width (>= 2.4.0, < 3.0)
|
|
33
|
-
rubocop-ast (1.31.3)
|
|
34
|
-
parser (>= 3.3.1.0)
|
|
35
|
-
ruby-progressbar (1.13.0)
|
|
36
|
-
unicode-display_width (2.5.0)
|
|
37
|
-
|
|
38
|
-
PLATFORMS
|
|
39
|
-
ruby
|
|
40
|
-
|
|
41
|
-
DEPENDENCIES
|
|
42
|
-
bundler
|
|
43
|
-
minitest
|
|
44
|
-
rake
|
|
45
|
-
rubocop
|
|
46
|
-
supersaas-api-client!
|
|
47
|
-
|
|
48
|
-
BUNDLED WITH
|
|
49
|
-
2.5.11
|
data/Rakefile
DELETED
data/bin/console
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
require 'bundler/setup'
|
|
5
|
-
require 'supersaas-api-client'
|
|
6
|
-
|
|
7
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
-
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
-
|
|
10
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
11
|
-
# require "pry"
|
|
12
|
-
# Pry.start
|
|
13
|
-
|
|
14
|
-
require 'irb'
|
|
15
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
|
4
|
-
|
|
5
|
-
require 'supersaas-api-client/version'
|
|
6
|
-
|
|
7
|
-
Gem::Specification.new do |spec|
|
|
8
|
-
spec.name = 'supersaas-api-client'
|
|
9
|
-
spec.version = Supersaas::VERSION
|
|
10
|
-
spec.authors = ['Kaarle Kulvik']
|
|
11
|
-
spec.email = ['kaarle@supersaas.com']
|
|
12
|
-
|
|
13
|
-
spec.summary = 'Manage appointments and users on the SuperSaaS scheduling platform'
|
|
14
|
-
spec.description = 'Online appointment scheduling for any type of business. Flexible and affordable booking software that can be integrated into any site. Free basic version.'
|
|
15
|
-
spec.homepage = 'https://www.supersaas.com'
|
|
16
|
-
spec.license = 'MIT'
|
|
17
|
-
|
|
18
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
|
|
19
|
-
spec.bindir = 'bin'
|
|
20
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
21
|
-
spec.require_paths = ['lib']
|
|
22
|
-
|
|
23
|
-
spec.add_development_dependency 'bundler'
|
|
24
|
-
spec.add_development_dependency 'minitest'
|
|
25
|
-
spec.add_development_dependency 'rake'
|
|
26
|
-
spec.add_development_dependency 'rubocop'
|
|
27
|
-
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
28
|
-
end
|