rom-mongodb 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore DELETED
@@ -1,11 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
- .rspec_status
10
- .DS_Store
11
- Gemfile.lock
data/.overcommit.yml DELETED
@@ -1,32 +0,0 @@
1
- PreCommit:
2
- AuthorEmail:
3
- enabled: true
4
- required: false
5
-
6
- AuthorName:
7
- enabled: false
8
-
9
- BundleAudit:
10
- enabled: true
11
-
12
- Fasterer:
13
- enabled: true
14
- include: '**/*.rb'
15
-
16
- TrailingWhitespace:
17
- enabled: true
18
-
19
- RuboCop:
20
- enabled: true
21
- flags: ['--format=emacs', '--force-exclusion', '--display-cop-names']
22
-
23
- Reek:
24
- enabled: true
25
- flags: ['--force-exclusion']
26
-
27
- PostCheckout:
28
- ALL:
29
- quiet: true
30
-
31
- IndexTags:
32
- enabled: true
data/.reek.yml DELETED
@@ -1,16 +0,0 @@
1
- detectors:
2
- IrresponsibleModule:
3
- enabled: false
4
-
5
- FeatureEnvy:
6
- exclude:
7
- - ROM::Mongo::Dataset#insert
8
- - ROM::Mongo::Schema#to_output_hash
9
- - ROM::Mongo::Commands::Create#execute
10
-
11
- ManualDispatch:
12
- exclude:
13
- - ROM::Mongo::Commands::Helper#pk
14
-
15
- exclude_paths:
16
- - spec/support/helpers
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --require spec_helper
2
- --format documentation
3
- --color
data/.rubocop.yml DELETED
@@ -1,534 +0,0 @@
1
- require:
2
- - rubocop-rspec
3
- - rubocop-performance
4
-
5
- AllCops:
6
- DisplayCopNames: true
7
- DisplayStyleGuide: true
8
- TargetRubyVersion: 2.5
9
-
10
- Metrics/ClassLength:
11
- Max: 150
12
-
13
- Metrics/MethodLength:
14
- Max: 15
15
-
16
- Metrics/BlockLength:
17
- Enabled: false
18
-
19
- Metrics/CyclomaticComplexity:
20
- Enabled: false
21
-
22
- Metrics/PerceivedComplexity:
23
- Enabled: false
24
-
25
- Naming/VariableNumber:
26
- Enabled: false
27
-
28
- Naming/RescuedExceptionsVariableName:
29
- Enabled: false
30
-
31
- Naming/InclusiveLanguage:
32
- Enabled: false
33
-
34
- Naming/BlockForwarding:
35
- Enabled: true
36
-
37
- Style/Documentation:
38
- Enabled: false
39
-
40
- Style/DoubleNegation:
41
- Enabled: false
42
-
43
- Style/EmptyCaseCondition:
44
- Enabled: false
45
-
46
- Style/RescueStandardError:
47
- Enabled: false
48
-
49
- Style/AccessorGrouping:
50
- Enabled: true
51
-
52
- Style/ArrayCoercion:
53
- Enabled: true
54
-
55
- Style/BisectedAttrAccessor:
56
- Enabled: true
57
-
58
- Style/CaseLikeIf:
59
- Enabled: true
60
-
61
- Style/ExplicitBlockArgument:
62
- Enabled: true
63
-
64
- Style/ExponentialNotation:
65
- Enabled: true
66
-
67
- Style/GlobalStdStream:
68
- Enabled: true
69
-
70
- Style/HashAsLastArrayItem:
71
- Enabled: true
72
-
73
- Style/HashEachMethods:
74
- Enabled: true
75
-
76
- Style/HashLikeCase:
77
- Enabled: true
78
-
79
- Style/HashTransformKeys:
80
- Enabled: true
81
-
82
- Style/HashTransformValues:
83
- Enabled: true
84
-
85
- Style/OptionalBooleanParameter:
86
- Enabled: true
87
-
88
- Style/RedundantAssignment:
89
- Enabled: true
90
-
91
- Style/RedundantFetchBlock:
92
- Enabled: true
93
-
94
- Style/RedundantFileExtensionInRequire:
95
- Enabled: true
96
-
97
- Style/RedundantRegexpCharacterClass:
98
- Enabled: true
99
-
100
- Style/RedundantRegexpEscape:
101
- Enabled: true
102
-
103
- Style/SingleArgumentDig:
104
- Enabled: true
105
-
106
- Style/SlicingWithRange:
107
- Enabled: true
108
-
109
- Style/StringConcatenation:
110
- Enabled: true
111
-
112
- Style/CombinableLoops:
113
- Enabled: true
114
-
115
- Style/KeywordParametersOrder:
116
- Enabled: true
117
-
118
- Style/RedundantSelfAssignment:
119
- Enabled: true
120
-
121
- Style/SoleNestedConditional:
122
- Enabled: true
123
-
124
- Style/ClassEqualityComparison:
125
- Enabled: true
126
-
127
- Style/ArgumentsForwarding:
128
- Enabled: true
129
-
130
- Style/CollectionCompact:
131
- Enabled: true
132
-
133
- Style/DocumentDynamicEvalDefinition:
134
- Enabled: true
135
-
136
- Style/NegatedIfElseCondition:
137
- Enabled: true
138
-
139
- Style/NilLambda:
140
- Enabled: true
141
-
142
- Style/SwapValues:
143
- Enabled: true
144
-
145
- Style/RedundantArgument:
146
- Enabled: true
147
-
148
- Style/HashExcept:
149
- Enabled: true
150
-
151
- Style/EndlessMethod:
152
- Enabled: true
153
-
154
- Style/IfWithBooleanLiteralBranches:
155
- Enabled: true
156
-
157
- Style/HashConversion:
158
- Enabled: true
159
-
160
- Style/StringChars:
161
- Enabled: true
162
-
163
- Style/InPatternThen:
164
- Enabled: true
165
-
166
- Style/MultilineInPatternThen:
167
- Enabled: true
168
-
169
- Style/QuotedSymbols:
170
- Enabled: true
171
-
172
- Style/RedundantSelfAssignmentBranch:
173
- Enabled: true
174
-
175
- Style/NumberedParameters:
176
- Enabled: true
177
-
178
- Style/NumberedParametersLimit:
179
- Enabled: true
180
-
181
- Style/SelectByRegexp:
182
- Enabled: true
183
-
184
- Style/OpenStructUse:
185
- Enabled: true
186
-
187
- Style/FileRead:
188
- Enabled: true
189
-
190
- Style/FileWrite:
191
- Enabled: true
192
-
193
- Style/MapToHash:
194
- Enabled: true
195
-
196
- Style/FetchEnvVar:
197
- Enabled: true
198
-
199
- Style/NestedFileDirname:
200
- Enabled: true
201
-
202
- Style/ObjectThen:
203
- Enabled: true
204
-
205
- Style/RedundantInitialize:
206
- Enabled: true
207
-
208
- Style/EnvHome:
209
- Enabled: true
210
-
211
- Style/MapCompactWithConditionalBlock:
212
- Enabled: true
213
-
214
- Layout/LineLength:
215
- Max: 140
216
-
217
- Layout/ClassStructure:
218
- Enabled: true
219
- Categories:
220
- module_inclusion:
221
- - include
222
- - prepend
223
- - extend
224
- ExpectedOrder:
225
- - module_inclusion
226
- - constants
227
- - public_class_methods
228
- - initializer
229
- - public_methods
230
- - protected_methods
231
- - private_methods
232
-
233
- Layout/EmptyLineAfterGuardClause:
234
- Enabled: false
235
-
236
- Layout/SpaceAroundMethodCallOperator:
237
- Enabled: true
238
-
239
- Layout/EmptyLinesAroundAttributeAccessor:
240
- Enabled: true
241
-
242
- Layout/BeginEndAlignment:
243
- Enabled: true
244
-
245
- Layout/SpaceBeforeBrackets:
246
- Enabled: true
247
-
248
- Layout/LineEndStringConcatenationIndentation:
249
- Enabled: true
250
-
251
- Layout/LineContinuationLeadingSpace:
252
- Enabled: true
253
-
254
- Layout/LineContinuationSpacing:
255
- Enabled: true
256
-
257
- Lint/NonDeterministicRequireOrder:
258
- Enabled: false
259
-
260
- Lint/BinaryOperatorWithIdenticalOperands:
261
- Enabled: true
262
-
263
- Lint/DeprecatedOpenSSLConstant:
264
- Enabled: true
265
-
266
- Lint/DuplicateElsifCondition:
267
- Enabled: true
268
-
269
- Lint/DuplicateRescueException:
270
- Enabled: true
271
-
272
- Lint/EmptyConditionalBody:
273
- Enabled: true
274
-
275
- Lint/FloatComparison:
276
- Enabled: true
277
-
278
- Lint/MissingSuper:
279
- Enabled: false
280
-
281
- Lint/MixedRegexpCaptureTypes:
282
- Enabled: true
283
-
284
- Lint/OutOfRangeRegexpRef:
285
- Enabled: true
286
-
287
- Lint/RaiseException:
288
- Enabled: true
289
-
290
- Lint/SelfAssignment:
291
- Enabled: true
292
-
293
- Lint/StructNewOverride:
294
- Enabled: true
295
-
296
- Lint/TopLevelReturnWithArgument:
297
- Enabled: true
298
-
299
- Lint/UnreachableLoop:
300
- Enabled: true
301
-
302
- Lint/ConstantDefinitionInBlock:
303
- Enabled: true
304
-
305
- Lint/DuplicateRequire:
306
- Enabled: true
307
-
308
- Lint/EmptyFile:
309
- Enabled: true
310
-
311
- Lint/IdentityComparison:
312
- Enabled: true
313
-
314
- Lint/TrailingCommaInAttributeDeclaration:
315
- Enabled: true
316
-
317
- Lint/UselessMethodDefinition:
318
- Enabled: true
319
-
320
- Lint/UselessTimes:
321
- Enabled: true
322
-
323
- Lint/HashCompareByIdentity:
324
- Enabled: true
325
-
326
- Lint/RedundantSafeNavigation:
327
- Enabled: true
328
-
329
- Lint/DuplicateBranch:
330
- Enabled: true
331
-
332
- Lint/DuplicateRegexpCharacterClassElement:
333
- Enabled: true
334
-
335
- Lint/EmptyBlock:
336
- Enabled: true
337
-
338
- Lint/EmptyClass:
339
- Enabled: true
340
-
341
- Lint/NoReturnInBeginEndBlocks:
342
- Enabled: false
343
-
344
- Lint/ToEnumArguments:
345
- Enabled: true
346
-
347
- Lint/UnmodifiedReduceAccumulator:
348
- Enabled: true
349
-
350
- Lint/UnexpectedBlockArity:
351
- Enabled: true
352
-
353
- Lint/AmbiguousAssignment:
354
- Enabled: true
355
-
356
- Lint/DeprecatedConstants:
357
- Enabled: true
358
-
359
- Lint/LambdaWithoutLiteralBlock:
360
- Enabled: true
361
-
362
- Lint/RedundantDirGlobSort:
363
- Enabled: true
364
-
365
- Lint/NumberedParameterAssignment:
366
- Enabled: true
367
-
368
- Lint/OrAssignmentToConstant:
369
- Enabled: true
370
-
371
- Lint/SymbolConversion:
372
- Enabled: true
373
-
374
- Lint/TripleQuotes:
375
- Enabled: true
376
-
377
- Lint/EmptyInPattern:
378
- Enabled: true
379
-
380
- Lint/AmbiguousRange:
381
- Enabled: true
382
-
383
- Lint/AmbiguousOperatorPrecedence:
384
- Enabled: true
385
-
386
- Lint/IncompatibleIoSelectWithFiberScheduler:
387
- Enabled: true
388
-
389
- Lint/RequireRelativeSelfPath:
390
- Enabled: true
391
-
392
- Lint/UselessRuby2Keywords:
393
- Enabled: true
394
-
395
- Lint/RefinementImportMethods:
396
- Enabled: true
397
-
398
- Lint/ConstantOverwrittenInRescue:
399
- Enabled: true
400
-
401
- Lint/NonAtomicFileOperation:
402
- Enabled: true
403
-
404
- Gemspec/DeprecatedAttributeAssignment:
405
- Enabled: true
406
-
407
- Gemspec/RequireMFA:
408
- Enabled: false
409
-
410
- Gemspec/RubyVersionGlobalsUsage:
411
- Enabled: false
412
-
413
- Gemspec/DeprecatedAttributeAssignment:
414
- Enabled: true
415
-
416
- Security/IoMethods:
417
- Enabled: true
418
-
419
- Security/CompoundHash:
420
- Enabled: true
421
-
422
- Performance/AncestorsInclude:
423
- Enabled: true
424
-
425
- Performance/BigDecimalWithNumericArgument:
426
- Enabled: true
427
-
428
- Performance/RedundantSortBlock:
429
- Enabled: true
430
-
431
- Performance/RedundantStringChars:
432
- Enabled: true
433
-
434
- Performance/ReverseFirst:
435
- Enabled: true
436
-
437
- Performance/SortReverse:
438
- Enabled: true
439
-
440
- Performance/Squeeze:
441
- Enabled: true
442
-
443
- Performance/StringInclude:
444
- Enabled: true
445
-
446
- Performance/Sum:
447
- Enabled: true
448
-
449
- Performance/BlockGivenWithExplicitBlock:
450
- Enabled: true
451
-
452
- Performance/CollectionLiteralInLoop:
453
- Enabled: true
454
-
455
- Performance/ConstantRegexp:
456
- Enabled: true
457
-
458
- Performance/MethodObjectAsBlock:
459
- Enabled: true
460
-
461
- Performance/RedundantEqualityComparisonBlock:
462
- Enabled: true
463
-
464
- Performance/RedundantSplitRegexpArgument:
465
- Enabled: true
466
-
467
- Performance/MapCompact:
468
- Enabled: true
469
-
470
- Performance/ConcurrentMonotonicTime:
471
- Enabled: true
472
-
473
- Performance/StringIdentifierArgument:
474
- Enabled: true
475
-
476
- RSpec/ExampleLength:
477
- Enabled: false
478
-
479
- RSpec/NestedGroups:
480
- Enabled: false
481
-
482
- RSpec/MultipleExpectations:
483
- Enabled: false
484
-
485
- RSpec/MessageChain:
486
- Enabled: false
487
-
488
- RSpec/ContextWording:
489
- Enabled: false
490
-
491
- RSpec/AnyInstance:
492
- Enabled: false
493
-
494
- RSpec/MessageSpies:
495
- Enabled: false
496
-
497
- RSpec/MultipleDescribes:
498
- Enabled: false
499
-
500
- RSpec/MultipleMemoizedHelpers:
501
- Enabled: false
502
-
503
- RSpec/StubbedMock:
504
- Enabled: false
505
-
506
- RSpec/IdenticalEqualityAssertion:
507
- Enabled: true
508
-
509
- RSpec/Rails/AvoidSetupHook:
510
- Enabled: true
511
-
512
- RSpec/ExcessiveDocstringSpacing:
513
- Enabled: true
514
-
515
- RSpec/SubjectDeclaration:
516
- Enabled: true
517
-
518
- RSpec/FactoryBot/SyntaxMethods:
519
- Enabled: true
520
-
521
- RSpec/SubjectStub:
522
- Enabled: false
523
-
524
- RSpec/BeEq:
525
- Enabled: true
526
-
527
- RSpec/BeNil:
528
- Enabled: true
529
-
530
- RSpec/VerifiedDoubleReference:
531
- Enabled: false
532
-
533
- RSpec/ChangeByZero:
534
- Enabled: true
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- rom-mongodb
data/CHANGELOG.md DELETED
@@ -1,15 +0,0 @@
1
- # Changelog
2
-
3
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
-
5
- ## [0.1.2] - 2022-06-28
6
-
7
- - Fixed docs, updated tests, version
8
-
9
- ## [0.1.1] - 2022-06-27
10
-
11
- - Fixed docs, updated version
12
-
13
- ## [0.1.0] - 2022-06-27
14
-
15
- - Initial release of `rom-mongodb`
data/CODE_OF_CONDUCT.md DELETED
@@ -1,84 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
-
7
- We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
-
9
- ## Our Standards
10
-
11
- Examples of behavior that contributes to a positive environment for our community include:
12
-
13
- * Demonstrating empathy and kindness toward other people
14
- * Being respectful of differing opinions, viewpoints, and experiences
15
- * Giving and gracefully accepting constructive feedback
16
- * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
- * Focusing on what is best not just for us as individuals, but for the overall community
18
-
19
- Examples of unacceptable behavior include:
20
-
21
- * The use of sexualized language or imagery, and sexual attention or
22
- advances of any kind
23
- * Trolling, insulting or derogatory comments, and personal or political attacks
24
- * Public or private harassment
25
- * Publishing others' private information, such as a physical or email
26
- address, without their explicit permission
27
- * Other conduct which could reasonably be considered inappropriate in a
28
- professional setting
29
-
30
- ## Enforcement Responsibilities
31
-
32
- Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
-
34
- Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
-
36
- ## Scope
37
-
38
- This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
-
40
- ## Enforcement
41
-
42
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at admin@bestweb.com.ua. All complaints will be reviewed and investigated promptly and fairly.
43
-
44
- All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
-
46
- ## Enforcement Guidelines
47
-
48
- Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
-
50
- ### 1. Correction
51
-
52
- **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
-
54
- **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
-
56
- ### 2. Warning
57
-
58
- **Community Impact**: A violation through a single incident or series of actions.
59
-
60
- **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
-
62
- ### 3. Temporary Ban
63
-
64
- **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
-
66
- **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
-
68
- ### 4. Permanent Ban
69
-
70
- **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
-
72
- **Consequence**: A permanent ban from any sort of public interaction within the community.
73
-
74
- ## Attribution
75
-
76
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
- available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
-
79
- Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
-
81
- [homepage]: https://www.contributor-covenant.org
82
-
83
- For answers to common questions about this code of conduct, see the FAQ at
84
- https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.