smart_schema 0.11.0 → 0.12.1
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
- metadata +60 -71
- data/.gitignore +0 -12
- data/.rspec +0 -3
- data/.rubocop.yml +0 -20
- data/CHANGELOG.md +0 -68
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -5
- data/Gemfile.lock +0 -106
- data/LICENSE.txt +0 -21
- data/README.md +0 -236
- data/Rakefile +0 -21
- data/bin/console +0 -8
- data/bin/setup +0 -8
- data/lib/smart_core/schema/checker/reconciler/constructor.rb +0 -60
- data/lib/smart_core/schema/checker/reconciler/matcher/options.rb +0 -33
- data/lib/smart_core/schema/checker/reconciler/matcher/result.rb +0 -87
- data/lib/smart_core/schema/checker/reconciler/matcher/result_finalizer.rb +0 -186
- data/lib/smart_core/schema/checker/reconciler/matcher.rb +0 -62
- data/lib/smart_core/schema/checker/reconciler.rb +0 -106
- data/lib/smart_core/schema/checker/rules/base.rb +0 -110
- data/lib/smart_core/schema/checker/rules/extra_keys/failure.rb +0 -24
- data/lib/smart_core/schema/checker/rules/extra_keys/result.rb +0 -37
- data/lib/smart_core/schema/checker/rules/extra_keys/success.rb +0 -30
- data/lib/smart_core/schema/checker/rules/extra_keys.rb +0 -31
- data/lib/smart_core/schema/checker/rules/optional.rb +0 -25
- data/lib/smart_core/schema/checker/rules/options/empty.rb +0 -43
- data/lib/smart_core/schema/checker/rules/options/filled.rb +0 -49
- data/lib/smart_core/schema/checker/rules/options/type.rb +0 -86
- data/lib/smart_core/schema/checker/rules/options.rb +0 -60
- data/lib/smart_core/schema/checker/rules/required.rb +0 -25
- data/lib/smart_core/schema/checker/rules/requirement/optional.rb +0 -36
- data/lib/smart_core/schema/checker/rules/requirement/required.rb +0 -36
- data/lib/smart_core/schema/checker/rules/requirement/result.rb +0 -95
- data/lib/smart_core/schema/checker/rules/requirement.rb +0 -9
- data/lib/smart_core/schema/checker/rules/result/base.rb +0 -44
- data/lib/smart_core/schema/checker/rules/result/failure.rb +0 -41
- data/lib/smart_core/schema/checker/rules/result/success.rb +0 -15
- data/lib/smart_core/schema/checker/rules/result.rb +0 -9
- data/lib/smart_core/schema/checker/rules/type_aliases.rb +0 -57
- data/lib/smart_core/schema/checker/rules/verifier/result.rb +0 -75
- data/lib/smart_core/schema/checker/rules/verifier.rb +0 -74
- data/lib/smart_core/schema/checker/rules.rb +0 -89
- data/lib/smart_core/schema/checker/verifiable_hash.rb +0 -65
- data/lib/smart_core/schema/checker.rb +0 -106
- data/lib/smart_core/schema/dsl.rb +0 -81
- data/lib/smart_core/schema/errors.rb +0 -13
- data/lib/smart_core/schema/key_control.rb +0 -39
- data/lib/smart_core/schema/result.rb +0 -62
- data/lib/smart_core/schema/version.rb +0 -14
- data/lib/smart_core/schema.rb +0 -52
- data/smart_schema.gemspec +0 -42
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4162311849cefaf2f251e61ec03b62044853f349da1505a34d5d292b0f2b0208
|
|
4
|
+
data.tar.gz: dae5536d6035f67546136f12ffe1fc52d602bdffc8dd5eeba120fec2313c4cd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 172d8026909f6676a079672bb48b9a856d29f1a30c10b59debcb2ddd37f83bf3ecad00ebd658a440c082ffea806d73d1ed7d2750b0fcd1134b05697c473a5393
|
|
7
|
+
data.tar.gz: 8cf8d948c812075b068479e25737a0d43999831f2dea87a018d6d62fe8c1049d96bb27076f88173ed91d4bd4ae1939669d768402ee9e8ce8e5c215c14014d909
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smart_schema
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rustam Ibragimov
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: smart_engine
|
|
@@ -38,147 +37,139 @@ dependencies:
|
|
|
38
37
|
- - "~>"
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
39
|
version: '0.8'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: qonfig
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0.30'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0.30'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: dry-types
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - "~>"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '1.9'
|
|
61
|
+
type: :development
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - "~>"
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '1.9'
|
|
41
68
|
- !ruby/object:Gem::Dependency
|
|
42
69
|
name: pry
|
|
43
70
|
requirement: !ruby/object:Gem::Requirement
|
|
44
71
|
requirements:
|
|
45
72
|
- - "~>"
|
|
46
73
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0.
|
|
74
|
+
version: '0.16'
|
|
48
75
|
type: :development
|
|
49
76
|
prerelease: false
|
|
50
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
78
|
requirements:
|
|
52
79
|
- - "~>"
|
|
53
80
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0.
|
|
81
|
+
version: '0.16'
|
|
55
82
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
83
|
+
name: pry-doc
|
|
57
84
|
requirement: !ruby/object:Gem::Requirement
|
|
58
85
|
requirements:
|
|
59
86
|
- - "~>"
|
|
60
87
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
88
|
+
version: '1.7'
|
|
62
89
|
type: :development
|
|
63
90
|
prerelease: false
|
|
64
91
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
92
|
requirements:
|
|
66
93
|
- - "~>"
|
|
67
94
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
95
|
+
version: '1.7'
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: bundler
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - ">="
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: '0'
|
|
103
|
+
type: :development
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - ">="
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
69
110
|
- !ruby/object:Gem::Dependency
|
|
70
111
|
name: rake
|
|
71
112
|
requirement: !ruby/object:Gem::Requirement
|
|
72
113
|
requirements:
|
|
73
114
|
- - "~>"
|
|
74
115
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '13.
|
|
116
|
+
version: '13.3'
|
|
76
117
|
type: :development
|
|
77
118
|
prerelease: false
|
|
78
119
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
120
|
requirements:
|
|
80
121
|
- - "~>"
|
|
81
122
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '13.
|
|
123
|
+
version: '13.3'
|
|
83
124
|
- !ruby/object:Gem::Dependency
|
|
84
125
|
name: rspec
|
|
85
126
|
requirement: !ruby/object:Gem::Requirement
|
|
86
127
|
requirements:
|
|
87
128
|
- - "~>"
|
|
88
129
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '3.
|
|
130
|
+
version: '3.13'
|
|
90
131
|
type: :development
|
|
91
132
|
prerelease: false
|
|
92
133
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
134
|
requirements:
|
|
94
135
|
- - "~>"
|
|
95
136
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '3.
|
|
137
|
+
version: '3.13'
|
|
97
138
|
- !ruby/object:Gem::Dependency
|
|
98
139
|
name: armitage-rubocop
|
|
99
140
|
requirement: !ruby/object:Gem::Requirement
|
|
100
141
|
requirements:
|
|
101
142
|
- - "~>"
|
|
102
143
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '1.
|
|
144
|
+
version: '1.81'
|
|
104
145
|
type: :development
|
|
105
146
|
prerelease: false
|
|
106
147
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
148
|
requirements:
|
|
108
149
|
- - "~>"
|
|
109
150
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '1.
|
|
151
|
+
version: '1.81'
|
|
111
152
|
- !ruby/object:Gem::Dependency
|
|
112
153
|
name: simplecov
|
|
113
154
|
requirement: !ruby/object:Gem::Requirement
|
|
114
155
|
requirements:
|
|
115
156
|
- - "~>"
|
|
116
157
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: '0.
|
|
158
|
+
version: '0.22'
|
|
118
159
|
type: :development
|
|
119
160
|
prerelease: false
|
|
120
161
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
162
|
requirements:
|
|
122
163
|
- - "~>"
|
|
123
164
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: '0.
|
|
165
|
+
version: '0.22'
|
|
125
166
|
description: SmartCore::Schema is a schema validator for Hash-like data structures
|
|
126
167
|
email:
|
|
127
168
|
- iamdaiver@gmail.com
|
|
128
169
|
executables: []
|
|
129
170
|
extensions: []
|
|
130
171
|
extra_rdoc_files: []
|
|
131
|
-
files:
|
|
132
|
-
- ".gitignore"
|
|
133
|
-
- ".rspec"
|
|
134
|
-
- ".rubocop.yml"
|
|
135
|
-
- CHANGELOG.md
|
|
136
|
-
- CODE_OF_CONDUCT.md
|
|
137
|
-
- Gemfile
|
|
138
|
-
- Gemfile.lock
|
|
139
|
-
- LICENSE.txt
|
|
140
|
-
- README.md
|
|
141
|
-
- Rakefile
|
|
142
|
-
- bin/console
|
|
143
|
-
- bin/setup
|
|
144
|
-
- lib/smart_core/schema.rb
|
|
145
|
-
- lib/smart_core/schema/checker.rb
|
|
146
|
-
- lib/smart_core/schema/checker/reconciler.rb
|
|
147
|
-
- lib/smart_core/schema/checker/reconciler/constructor.rb
|
|
148
|
-
- lib/smart_core/schema/checker/reconciler/matcher.rb
|
|
149
|
-
- lib/smart_core/schema/checker/reconciler/matcher/options.rb
|
|
150
|
-
- lib/smart_core/schema/checker/reconciler/matcher/result.rb
|
|
151
|
-
- lib/smart_core/schema/checker/reconciler/matcher/result_finalizer.rb
|
|
152
|
-
- lib/smart_core/schema/checker/rules.rb
|
|
153
|
-
- lib/smart_core/schema/checker/rules/base.rb
|
|
154
|
-
- lib/smart_core/schema/checker/rules/extra_keys.rb
|
|
155
|
-
- lib/smart_core/schema/checker/rules/extra_keys/failure.rb
|
|
156
|
-
- lib/smart_core/schema/checker/rules/extra_keys/result.rb
|
|
157
|
-
- lib/smart_core/schema/checker/rules/extra_keys/success.rb
|
|
158
|
-
- lib/smart_core/schema/checker/rules/optional.rb
|
|
159
|
-
- lib/smart_core/schema/checker/rules/options.rb
|
|
160
|
-
- lib/smart_core/schema/checker/rules/options/empty.rb
|
|
161
|
-
- lib/smart_core/schema/checker/rules/options/filled.rb
|
|
162
|
-
- lib/smart_core/schema/checker/rules/options/type.rb
|
|
163
|
-
- lib/smart_core/schema/checker/rules/required.rb
|
|
164
|
-
- lib/smart_core/schema/checker/rules/requirement.rb
|
|
165
|
-
- lib/smart_core/schema/checker/rules/requirement/optional.rb
|
|
166
|
-
- lib/smart_core/schema/checker/rules/requirement/required.rb
|
|
167
|
-
- lib/smart_core/schema/checker/rules/requirement/result.rb
|
|
168
|
-
- lib/smart_core/schema/checker/rules/result.rb
|
|
169
|
-
- lib/smart_core/schema/checker/rules/result/base.rb
|
|
170
|
-
- lib/smart_core/schema/checker/rules/result/failure.rb
|
|
171
|
-
- lib/smart_core/schema/checker/rules/result/success.rb
|
|
172
|
-
- lib/smart_core/schema/checker/rules/type_aliases.rb
|
|
173
|
-
- lib/smart_core/schema/checker/rules/verifier.rb
|
|
174
|
-
- lib/smart_core/schema/checker/rules/verifier/result.rb
|
|
175
|
-
- lib/smart_core/schema/checker/verifiable_hash.rb
|
|
176
|
-
- lib/smart_core/schema/dsl.rb
|
|
177
|
-
- lib/smart_core/schema/errors.rb
|
|
178
|
-
- lib/smart_core/schema/key_control.rb
|
|
179
|
-
- lib/smart_core/schema/result.rb
|
|
180
|
-
- lib/smart_core/schema/version.rb
|
|
181
|
-
- smart_schema.gemspec
|
|
172
|
+
files: []
|
|
182
173
|
homepage: https://github.com/smart-rb/smart_schema
|
|
183
174
|
licenses:
|
|
184
175
|
- MIT
|
|
@@ -186,7 +177,6 @@ metadata:
|
|
|
186
177
|
homepage_uri: https://github.com/smart-rb/smart_schema
|
|
187
178
|
source_code_uri: https://github.com/smart-rb/smart_schema
|
|
188
179
|
changelog_uri: https://github.com/smart-rb/smart_schema/blob/master/CHANGELOG.md
|
|
189
|
-
post_install_message:
|
|
190
180
|
rdoc_options: []
|
|
191
181
|
require_paths:
|
|
192
182
|
- lib
|
|
@@ -194,15 +184,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
194
184
|
requirements:
|
|
195
185
|
- - ">="
|
|
196
186
|
- !ruby/object:Gem::Version
|
|
197
|
-
version: '
|
|
187
|
+
version: '3.3'
|
|
198
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
189
|
requirements:
|
|
200
190
|
- - ">="
|
|
201
191
|
- !ruby/object:Gem::Version
|
|
202
192
|
version: '0'
|
|
203
193
|
requirements: []
|
|
204
|
-
rubygems_version: 3.
|
|
205
|
-
signing_key:
|
|
194
|
+
rubygems_version: 3.6.9
|
|
206
195
|
specification_version: 4
|
|
207
196
|
summary: SmartCore::Schema is a schema validator for Hash-like data structures
|
|
208
197
|
test_files: []
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
inherit_gem:
|
|
2
|
-
armitage-rubocop:
|
|
3
|
-
- lib/rubocop.general.yml
|
|
4
|
-
- lib/rubocop.rake.yml
|
|
5
|
-
- lib/rubocop.rspec.yml
|
|
6
|
-
|
|
7
|
-
AllCops:
|
|
8
|
-
TargetRubyVersion: 3.0.0
|
|
9
|
-
NewCops: enable
|
|
10
|
-
Include:
|
|
11
|
-
- lib/**/*.rb
|
|
12
|
-
- spec/**/*.rb
|
|
13
|
-
- Gemfile
|
|
14
|
-
- Rakefile
|
|
15
|
-
- smart_schema.gemspec
|
|
16
|
-
- bin/console
|
|
17
|
-
|
|
18
|
-
# NOTE: It is not suitable for infrastracture-level frameworks
|
|
19
|
-
Metrics/ParameterLists:
|
|
20
|
-
Enabled: false
|
data/CHANGELOG.md
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
All notable changes to this project will be documented in this file.
|
|
3
|
-
|
|
4
|
-
# [0.11.0] - 2022-11-25
|
|
5
|
-
## Changed
|
|
6
|
-
- Reduced object allocation count inside the type validation logic (updated `smart_types` to `~> 0.8`);
|
|
7
|
-
- Support for *Ruby@2.5* and *Ruby@2.6* has ended;
|
|
8
|
-
- Updated development dependencies;
|
|
9
|
-
|
|
10
|
-
# [0.10.0] - 2022-10-16
|
|
11
|
-
## Changed
|
|
12
|
-
- Updated `smart_engine` dependency with a `SmartCore::Engine::ReadWriteLock` fixes;
|
|
13
|
-
|
|
14
|
-
# [0.9.0] - 2022-09-30
|
|
15
|
-
## Changed
|
|
16
|
-
- Reduced context switching count during lock operations (migrate from `SmartCore::Engine::Lock` to `SmartCore::Engine::ReadWriteLock`);
|
|
17
|
-
|
|
18
|
-
# [0.8.0] - 2022-09-30
|
|
19
|
-
## Changed
|
|
20
|
-
- Reduced object allocations and mutex usage:
|
|
21
|
-
- only one mutex of `SmartCore::Schema::Checker` instance is enough cuz this mutex covers the entire validation process;
|
|
22
|
-
- more retained objects in `SmartCore::Schema::Checker::Rules` (cache layer for rule names);
|
|
23
|
-
- Updated development dependencies;
|
|
24
|
-
- Updated `smart_engine` dependency (`~> 0.11` -> `~> 0.13`);
|
|
25
|
-
|
|
26
|
-
# [0.7.0] - 2022-09-28
|
|
27
|
-
## Changed
|
|
28
|
-
- Started the total code refactoring in order to decrease object and memory allocations:
|
|
29
|
-
- Decreased object allocations in `SmartCore::Schema::Checker::VerifiableHash#fetch(key)`
|
|
30
|
-
|
|
31
|
-
# [0.6.0] - 2022-09-27
|
|
32
|
-
## Added
|
|
33
|
-
- Now `Forwardable` module has explicit requiring in order to support *Ruby@3.1* (`lib/smart_core/smart_schema.rb#6`);
|
|
34
|
-
|
|
35
|
-
# [0.5.0] - 2021-01-18
|
|
36
|
-
## Changed
|
|
37
|
-
- Updated `smart_types` dependency (`~> 0.4.0`) to guarantee **Ruby@3** compatability;
|
|
38
|
-
|
|
39
|
-
# [0.4.0] - 2021-01-18
|
|
40
|
-
## Added
|
|
41
|
-
- Support for **Ruby@3**;
|
|
42
|
-
|
|
43
|
-
## Changed
|
|
44
|
-
- No more `TravisCI` (TODO: migrate to `GitHub Actions`);
|
|
45
|
-
- Updated development dependencies;
|
|
46
|
-
|
|
47
|
-
# [0.3.0] - 2020-12-03
|
|
48
|
-
### Added
|
|
49
|
-
- Support for *strict* and *non-strict* schemas;
|
|
50
|
-
- `strict!` DSL directive marks your schema as a strict schema (your hash can not have extra keys);
|
|
51
|
-
- `non_strict!` DSL directive marks your schema as non-strict schema (your hash can have extra keys);
|
|
52
|
-
- use `strict!` in any schema's context place to mark your current schema context as a strict;
|
|
53
|
-
- use `non_strict` in any schema's context place to mark your current schema context as a strict;
|
|
54
|
-
- use `schema(:strict)` to globally define strict schema (default behavior);
|
|
55
|
-
- use `schema(:non_strict)` to globally define non-strict schema;
|
|
56
|
-
- nested schemas inherits strict behavior from outer schemas;
|
|
57
|
-
- root schema is `:strict` by default;
|
|
58
|
-
- schema reopening without mode attribute does not change original schema mode
|
|
59
|
-
(you should manually pass a mode attribute to redefine already defined schema mode);
|
|
60
|
-
|
|
61
|
-
# [0.2.0] - 2020-11-09
|
|
62
|
-
### Added
|
|
63
|
-
- `#errors` now includes `#extra_keys` too (`:extra_key` error code for each extra key);
|
|
64
|
-
- Unfreezed `SmartCore::Schema::Checker::Rules::TYPE_ALIASES` for extendability (until `smart_type-syste` has been integrated);
|
|
65
|
-
|
|
66
|
-
# [0.1.0] - 2020-08-25
|
|
67
|
-
|
|
68
|
-
- Release :)
|
data/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
-
size, disability, ethnicity, gender identity and expression, level of experience,
|
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity and
|
|
10
|
-
orientation.
|
|
11
|
-
|
|
12
|
-
## Our Standards
|
|
13
|
-
|
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
|
15
|
-
include:
|
|
16
|
-
|
|
17
|
-
* Using welcoming and inclusive language
|
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
|
19
|
-
* Gracefully accepting constructive criticism
|
|
20
|
-
* Focusing on what is best for the community
|
|
21
|
-
* Showing empathy towards other community members
|
|
22
|
-
|
|
23
|
-
Examples of unacceptable behavior by participants include:
|
|
24
|
-
|
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
-
advances
|
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
-
* Public or private harassment
|
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
|
30
|
-
address, without explicit permission
|
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
-
professional setting
|
|
33
|
-
|
|
34
|
-
## Our Responsibilities
|
|
35
|
-
|
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
-
response to any instances of unacceptable behavior.
|
|
39
|
-
|
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
-
threatening, offensive, or harmful.
|
|
45
|
-
|
|
46
|
-
## Scope
|
|
47
|
-
|
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
-
when an individual is representing the project or its community. Examples of
|
|
50
|
-
representing a project or community include using an official project e-mail
|
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
|
53
|
-
further defined and clarified by project maintainers.
|
|
54
|
-
|
|
55
|
-
## Enforcement
|
|
56
|
-
|
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
-
reported by contacting the project team at iamdaiver@gmail.com. All
|
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
|
63
|
-
|
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
-
members of the project's leadership.
|
|
67
|
-
|
|
68
|
-
## Attribution
|
|
69
|
-
|
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
-
available at [https://contributor-covenant.org/version/1/4][version]
|
|
72
|
-
|
|
73
|
-
[homepage]: https://contributor-covenant.org
|
|
74
|
-
[version]: https://contributor-covenant.org/version/1/4/
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
smart_schema (0.10.0)
|
|
5
|
-
smart_engine (~> 0.17)
|
|
6
|
-
smart_types (~> 0.8)
|
|
7
|
-
|
|
8
|
-
GEM
|
|
9
|
-
remote: https://rubygems.org/
|
|
10
|
-
specs:
|
|
11
|
-
activesupport (7.0.4)
|
|
12
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
13
|
-
i18n (>= 1.6, < 2)
|
|
14
|
-
minitest (>= 5.1)
|
|
15
|
-
tzinfo (~> 2.0)
|
|
16
|
-
armitage-rubocop (1.36.0)
|
|
17
|
-
rubocop (= 1.36.0)
|
|
18
|
-
rubocop-performance (= 1.15.0)
|
|
19
|
-
rubocop-rails (= 2.16.1)
|
|
20
|
-
rubocop-rake (= 0.6.0)
|
|
21
|
-
rubocop-rspec (= 2.13.2)
|
|
22
|
-
ast (2.4.2)
|
|
23
|
-
coderay (1.1.3)
|
|
24
|
-
concurrent-ruby (1.1.10)
|
|
25
|
-
diff-lcs (1.5.0)
|
|
26
|
-
docile (1.4.0)
|
|
27
|
-
i18n (1.12.0)
|
|
28
|
-
concurrent-ruby (~> 1.0)
|
|
29
|
-
json (2.6.2)
|
|
30
|
-
method_source (1.0.0)
|
|
31
|
-
minitest (5.16.3)
|
|
32
|
-
parallel (1.22.1)
|
|
33
|
-
parser (3.1.2.1)
|
|
34
|
-
ast (~> 2.4.1)
|
|
35
|
-
pry (0.14.1)
|
|
36
|
-
coderay (~> 1.1)
|
|
37
|
-
method_source (~> 1.0)
|
|
38
|
-
rack (3.0.1)
|
|
39
|
-
rainbow (3.1.1)
|
|
40
|
-
rake (13.0.6)
|
|
41
|
-
regexp_parser (2.6.1)
|
|
42
|
-
rexml (3.2.5)
|
|
43
|
-
rspec (3.12.0)
|
|
44
|
-
rspec-core (~> 3.12.0)
|
|
45
|
-
rspec-expectations (~> 3.12.0)
|
|
46
|
-
rspec-mocks (~> 3.12.0)
|
|
47
|
-
rspec-core (3.12.0)
|
|
48
|
-
rspec-support (~> 3.12.0)
|
|
49
|
-
rspec-expectations (3.12.0)
|
|
50
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
51
|
-
rspec-support (~> 3.12.0)
|
|
52
|
-
rspec-mocks (3.12.0)
|
|
53
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
54
|
-
rspec-support (~> 3.12.0)
|
|
55
|
-
rspec-support (3.12.0)
|
|
56
|
-
rubocop (1.36.0)
|
|
57
|
-
json (~> 2.3)
|
|
58
|
-
parallel (~> 1.10)
|
|
59
|
-
parser (>= 3.1.2.1)
|
|
60
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
61
|
-
regexp_parser (>= 1.8, < 3.0)
|
|
62
|
-
rexml (>= 3.2.5, < 4.0)
|
|
63
|
-
rubocop-ast (>= 1.20.1, < 2.0)
|
|
64
|
-
ruby-progressbar (~> 1.7)
|
|
65
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
|
66
|
-
rubocop-ast (1.23.0)
|
|
67
|
-
parser (>= 3.1.1.0)
|
|
68
|
-
rubocop-performance (1.15.0)
|
|
69
|
-
rubocop (>= 1.7.0, < 2.0)
|
|
70
|
-
rubocop-ast (>= 0.4.0)
|
|
71
|
-
rubocop-rails (2.16.1)
|
|
72
|
-
activesupport (>= 4.2.0)
|
|
73
|
-
rack (>= 1.1)
|
|
74
|
-
rubocop (>= 1.33.0, < 2.0)
|
|
75
|
-
rubocop-rake (0.6.0)
|
|
76
|
-
rubocop (~> 1.0)
|
|
77
|
-
rubocop-rspec (2.13.2)
|
|
78
|
-
rubocop (~> 1.33)
|
|
79
|
-
ruby-progressbar (1.11.0)
|
|
80
|
-
simplecov (0.21.2)
|
|
81
|
-
docile (~> 1.1)
|
|
82
|
-
simplecov-html (~> 0.11)
|
|
83
|
-
simplecov_json_formatter (~> 0.1)
|
|
84
|
-
simplecov-html (0.12.3)
|
|
85
|
-
simplecov_json_formatter (0.1.4)
|
|
86
|
-
smart_engine (0.17.0)
|
|
87
|
-
smart_types (0.8.0)
|
|
88
|
-
smart_engine (~> 0.11)
|
|
89
|
-
tzinfo (2.0.5)
|
|
90
|
-
concurrent-ruby (~> 1.0)
|
|
91
|
-
unicode-display_width (2.3.0)
|
|
92
|
-
|
|
93
|
-
PLATFORMS
|
|
94
|
-
arm64-darwin-21
|
|
95
|
-
|
|
96
|
-
DEPENDENCIES
|
|
97
|
-
armitage-rubocop (~> 1.7)
|
|
98
|
-
bundler (~> 2.2)
|
|
99
|
-
pry (~> 0.13)
|
|
100
|
-
rake (~> 13.0)
|
|
101
|
-
rspec (~> 3.10)
|
|
102
|
-
simplecov (~> 0.21)
|
|
103
|
-
smart_schema!
|
|
104
|
-
|
|
105
|
-
BUNDLED WITH
|
|
106
|
-
2.3.17
|
data/LICENSE.txt
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020-2021 Rustam Ibragimov
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|