pg_objects 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +110 -47
- data/.travis.yml +3 -4
- data/Gemfile.lock +44 -41
- data/lib/pg_objects/version.rb +1 -1
- 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: 2ddfcca2d57a3f844196267428b7ec3dd68995eed43596e4af5238a7c55d60e6
|
4
|
+
data.tar.gz: 4aaf544bb2807e4f8d38f2c603c014ed23b2e00200068d516bac8997da52df04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e1addbcddfba9207d0cbdf3dec5ca8a67d6eb038ae5d54ff96f85f417bb7b52d09c15d82780766a55f9ed5c3461cd87f08a613a30bfed211fe5fde7d470ad18
|
7
|
+
data.tar.gz: 97d6cf0532922ae392b6fcda8265d1aaf34b0cd795b7fb91b0dfd329ce2534c3b08a2168afce7c589662c78805c0ab97107dcfa9a8526d977ebc5ad85dd91a5f
|
data/.rubocop.yml
CHANGED
@@ -22,6 +22,10 @@ Bundler/OrderedGems:
|
|
22
22
|
TreatCommentsAsGroupSeparators: true
|
23
23
|
|
24
24
|
# Layout ######################################################################
|
25
|
+
|
26
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
27
|
+
Enabled: true
|
28
|
+
|
25
29
|
# Limit lines to 80 characters.
|
26
30
|
Layout/LineLength:
|
27
31
|
Max: 140
|
@@ -49,6 +53,9 @@ Layout/MultilineOperationIndentation:
|
|
49
53
|
Enabled: true
|
50
54
|
EnforcedStyle: indented
|
51
55
|
|
56
|
+
Layout/SpaceAroundMethodCallOperator:
|
57
|
+
Enabled: true
|
58
|
+
|
52
59
|
# Checks for padding/surrounding spaces inside string interpolation.
|
53
60
|
Layout/SpaceInsideStringInterpolation:
|
54
61
|
EnforcedStyle: no_space
|
@@ -63,53 +70,6 @@ Naming/VariableName:
|
|
63
70
|
EnforcedStyle: snake_case
|
64
71
|
Enabled: true
|
65
72
|
|
66
|
-
# Style #######################################################################
|
67
|
-
# Use alias_method instead of alias.
|
68
|
-
Style/Alias:
|
69
|
-
EnforcedStyle: prefer_alias_method
|
70
|
-
Enabled: true
|
71
|
-
|
72
|
-
Style/AsciiComments:
|
73
|
-
Enabled: false
|
74
|
-
StyleGuide: http://relaxed.ruby.style/#styleasciicomments
|
75
|
-
|
76
|
-
# Checks if there is a magic comment to enforce string literals
|
77
|
-
Style/FrozenStringLiteralComment:
|
78
|
-
Enabled: false
|
79
|
-
|
80
|
-
Style/HashEachMethods:
|
81
|
-
Enabled: true
|
82
|
-
|
83
|
-
Style/HashTransformKeys:
|
84
|
-
Enabled: true
|
85
|
-
|
86
|
-
Style/HashTransformValues:
|
87
|
-
Enabled: true
|
88
|
-
|
89
|
-
Style/RegexpLiteral:
|
90
|
-
EnforcedStyle: mixed
|
91
|
-
Enabled: false
|
92
|
-
|
93
|
-
# Checks for proper usage of fail and raise.
|
94
|
-
Style/SignalException:
|
95
|
-
EnforcedStyle: only_raise
|
96
|
-
Enabled: true
|
97
|
-
|
98
|
-
# Check for the usage of parentheses around stabby lambda arguments.
|
99
|
-
Style/StabbyLambdaParentheses:
|
100
|
-
EnforcedStyle: require_parentheses
|
101
|
-
Enabled: true
|
102
|
-
|
103
|
-
# Checks if configured preferred methods are used over non-preferred.
|
104
|
-
Style/StringMethods:
|
105
|
-
PreferredMethods:
|
106
|
-
intern: to_sym
|
107
|
-
Enabled: true
|
108
|
-
|
109
|
-
# Checks for %q/%Q when single quotes or double quotes would do.
|
110
|
-
Style/RedundantPercentQ:
|
111
|
-
Enabled: false
|
112
|
-
|
113
73
|
# Metrics #####################################################################
|
114
74
|
|
115
75
|
# A calculated magnitude based on number of assignments,
|
@@ -157,11 +117,27 @@ Metrics/ModuleLength:
|
|
157
117
|
|
158
118
|
# Lint ########################################################################
|
159
119
|
|
120
|
+
Lint/DeprecatedOpenSSLConstant:
|
121
|
+
Enabled: true
|
122
|
+
|
123
|
+
Lint/DuplicateElsifCondition:
|
124
|
+
Enabled: true
|
125
|
+
|
126
|
+
Lint/MixedRegexpCaptureTypes:
|
127
|
+
Enabled: true
|
128
|
+
|
129
|
+
Lint/RaiseException:
|
130
|
+
Enabled: true
|
131
|
+
|
160
132
|
# This cop looks for use of the same name as outer local variables
|
161
133
|
# for block arguments or block local variables.
|
162
134
|
Lint/ShadowingOuterLocalVariable:
|
163
135
|
Enabled: false
|
164
136
|
|
137
|
+
Lint/StructNewOverride:
|
138
|
+
Enabled: true
|
139
|
+
|
140
|
+
|
165
141
|
# Rails #######################################################################
|
166
142
|
|
167
143
|
# Enables Rails cops.
|
@@ -212,5 +188,92 @@ RSpec/NotToNot:
|
|
212
188
|
EnforcedStyle: not_to
|
213
189
|
Enabled: true
|
214
190
|
|
191
|
+
# Style #######################################################################
|
192
|
+
|
193
|
+
Style/AccessorGrouping:
|
194
|
+
Enabled: true
|
195
|
+
|
196
|
+
# Use alias_method instead of alias.
|
197
|
+
Style/Alias:
|
198
|
+
EnforcedStyle: prefer_alias_method
|
199
|
+
Enabled: true
|
200
|
+
|
201
|
+
Style/ArrayCoercion:
|
202
|
+
Enabled: true
|
203
|
+
|
204
|
+
Style/AsciiComments:
|
205
|
+
Enabled: false
|
206
|
+
StyleGuide: http://relaxed.ruby.style/#styleasciicomments
|
207
|
+
|
208
|
+
Style/BisectedAttrAccessor:
|
209
|
+
Enabled: true
|
210
|
+
|
211
|
+
Style/CaseLikeIf:
|
212
|
+
Enabled: true
|
213
|
+
|
214
|
+
Style/ExponentialNotation:
|
215
|
+
Enabled: true
|
216
|
+
|
217
|
+
# Checks if there is a magic comment to enforce string literals
|
218
|
+
Style/FrozenStringLiteralComment:
|
219
|
+
Enabled: false
|
220
|
+
|
221
|
+
Style/HashAsLastArrayItem:
|
222
|
+
Enabled: true
|
223
|
+
|
224
|
+
Style/HashEachMethods:
|
225
|
+
Enabled: true
|
226
|
+
|
227
|
+
Style/HashLikeCase:
|
228
|
+
Enabled: true
|
229
|
+
|
230
|
+
Style/HashTransformKeys:
|
231
|
+
Enabled: true
|
232
|
+
|
233
|
+
Style/HashTransformValues:
|
234
|
+
Enabled: true
|
235
|
+
|
215
236
|
Style/IfUnlessModifier:
|
216
237
|
Enabled: false
|
238
|
+
|
239
|
+
Style/RedundantAssignment:
|
240
|
+
Enabled: true
|
241
|
+
|
242
|
+
Style/RedundantFetchBlock:
|
243
|
+
Enabled: true
|
244
|
+
|
245
|
+
Style/RedundantFileExtensionInRequire:
|
246
|
+
Enabled: true
|
247
|
+
|
248
|
+
Style/RedundantRegexpCharacterClass:
|
249
|
+
Enabled: true
|
250
|
+
|
251
|
+
Style/RedundantRegexpEscape:
|
252
|
+
Enabled: true
|
253
|
+
|
254
|
+
Style/RegexpLiteral:
|
255
|
+
EnforcedStyle: mixed
|
256
|
+
Enabled: false
|
257
|
+
|
258
|
+
# Checks for proper usage of fail and raise.
|
259
|
+
Style/SignalException:
|
260
|
+
EnforcedStyle: only_raise
|
261
|
+
Enabled: true
|
262
|
+
|
263
|
+
# Check for the usage of parentheses around stabby lambda arguments.
|
264
|
+
Style/StabbyLambdaParentheses:
|
265
|
+
EnforcedStyle: require_parentheses
|
266
|
+
Enabled: true
|
267
|
+
|
268
|
+
# Checks if configured preferred methods are used over non-preferred.
|
269
|
+
Style/StringMethods:
|
270
|
+
PreferredMethods:
|
271
|
+
intern: to_sym
|
272
|
+
Enabled: true
|
273
|
+
|
274
|
+
# Checks for %q/%Q when single quotes or double quotes would do.
|
275
|
+
Style/RedundantPercentQ:
|
276
|
+
Enabled: false
|
277
|
+
|
278
|
+
Style/SlicingWithRange:
|
279
|
+
Enabled: true
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pg_objects (0.5.
|
4
|
+
pg_objects (0.5.5)
|
5
5
|
activerecord (>= 4, < 7)
|
6
6
|
pg_query (~> 1)
|
7
7
|
railties (>= 4, < 7)
|
@@ -10,53 +10,52 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actionpack (6.0.
|
14
|
-
actionview (= 6.0.
|
15
|
-
activesupport (= 6.0.
|
13
|
+
actionpack (6.0.3.2)
|
14
|
+
actionview (= 6.0.3.2)
|
15
|
+
activesupport (= 6.0.3.2)
|
16
16
|
rack (~> 2.0, >= 2.0.8)
|
17
17
|
rack-test (>= 0.6.3)
|
18
18
|
rails-dom-testing (~> 2.0)
|
19
19
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
20
|
-
actionview (6.0.
|
21
|
-
activesupport (= 6.0.
|
20
|
+
actionview (6.0.3.2)
|
21
|
+
activesupport (= 6.0.3.2)
|
22
22
|
builder (~> 3.1)
|
23
23
|
erubi (~> 1.4)
|
24
24
|
rails-dom-testing (~> 2.0)
|
25
25
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
26
|
-
activemodel (6.0.
|
27
|
-
activesupport (= 6.0.
|
28
|
-
activerecord (6.0.
|
29
|
-
activemodel (= 6.0.
|
30
|
-
activesupport (= 6.0.
|
31
|
-
activesupport (6.0.
|
26
|
+
activemodel (6.0.3.2)
|
27
|
+
activesupport (= 6.0.3.2)
|
28
|
+
activerecord (6.0.3.2)
|
29
|
+
activemodel (= 6.0.3.2)
|
30
|
+
activesupport (= 6.0.3.2)
|
31
|
+
activesupport (6.0.3.2)
|
32
32
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
33
33
|
i18n (>= 0.7, < 2)
|
34
34
|
minitest (~> 5.1)
|
35
35
|
tzinfo (~> 1.1)
|
36
|
-
zeitwerk (~> 2.2)
|
37
|
-
ast (2.4.
|
36
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
37
|
+
ast (2.4.1)
|
38
38
|
builder (3.2.4)
|
39
|
-
byebug (11.1.
|
39
|
+
byebug (11.1.3)
|
40
40
|
concurrent-ruby (1.1.6)
|
41
41
|
crass (1.0.6)
|
42
|
-
diff-lcs (1.
|
42
|
+
diff-lcs (1.4.4)
|
43
43
|
erubi (1.9.0)
|
44
|
-
i18n (1.8.
|
44
|
+
i18n (1.8.3)
|
45
45
|
concurrent-ruby (~> 1.0)
|
46
|
-
|
47
|
-
loofah (2.4.0)
|
46
|
+
loofah (2.6.0)
|
48
47
|
crass (~> 1.0.2)
|
49
48
|
nokogiri (>= 1.5.9)
|
50
49
|
method_source (1.0.0)
|
51
50
|
mini_portile2 (2.4.0)
|
52
|
-
minitest (5.14.
|
53
|
-
nokogiri (1.10.
|
51
|
+
minitest (5.14.1)
|
52
|
+
nokogiri (1.10.10)
|
54
53
|
mini_portile2 (~> 2.4.0)
|
55
|
-
parallel (1.19.
|
56
|
-
parser (2.7.
|
57
|
-
ast (~> 2.4.
|
54
|
+
parallel (1.19.2)
|
55
|
+
parser (2.7.1.4)
|
56
|
+
ast (~> 2.4.1)
|
58
57
|
pg_query (1.2.0)
|
59
|
-
rack (2.2.
|
58
|
+
rack (2.2.3)
|
60
59
|
rack-test (1.1.0)
|
61
60
|
rack (>= 1.0, < 3)
|
62
61
|
rails-dom-testing (2.0.3)
|
@@ -64,9 +63,9 @@ GEM
|
|
64
63
|
nokogiri (>= 1.6)
|
65
64
|
rails-html-sanitizer (1.3.0)
|
66
65
|
loofah (~> 2.3)
|
67
|
-
railties (6.0.
|
68
|
-
actionpack (= 6.0.
|
69
|
-
activesupport (= 6.0.
|
66
|
+
railties (6.0.3.2)
|
67
|
+
actionpack (= 6.0.3.2)
|
68
|
+
activesupport (= 6.0.3.2)
|
70
69
|
method_source
|
71
70
|
rake (>= 0.8.7)
|
72
71
|
thor (>= 0.20.3, < 2.0)
|
@@ -74,37 +73,41 @@ GEM
|
|
74
73
|
rake (13.0.1)
|
75
74
|
rake-hooks (1.2.3)
|
76
75
|
rake
|
76
|
+
regexp_parser (1.7.1)
|
77
77
|
rexml (3.2.4)
|
78
78
|
rspec (3.9.0)
|
79
79
|
rspec-core (~> 3.9.0)
|
80
80
|
rspec-expectations (~> 3.9.0)
|
81
81
|
rspec-mocks (~> 3.9.0)
|
82
|
-
rspec-core (3.9.
|
83
|
-
rspec-support (~> 3.9.
|
84
|
-
rspec-expectations (3.9.
|
82
|
+
rspec-core (3.9.2)
|
83
|
+
rspec-support (~> 3.9.3)
|
84
|
+
rspec-expectations (3.9.2)
|
85
85
|
diff-lcs (>= 1.2.0, < 2.0)
|
86
86
|
rspec-support (~> 3.9.0)
|
87
87
|
rspec-mocks (3.9.1)
|
88
88
|
diff-lcs (>= 1.2.0, < 2.0)
|
89
89
|
rspec-support (~> 3.9.0)
|
90
|
-
rspec-support (3.9.
|
91
|
-
rubocop (0.
|
92
|
-
jaro_winkler (~> 1.5.1)
|
90
|
+
rspec-support (3.9.3)
|
91
|
+
rubocop (0.88.0)
|
93
92
|
parallel (~> 1.10)
|
94
|
-
parser (>= 2.7.
|
93
|
+
parser (>= 2.7.1.1)
|
95
94
|
rainbow (>= 2.2.2, < 4.0)
|
95
|
+
regexp_parser (>= 1.7)
|
96
96
|
rexml
|
97
|
+
rubocop-ast (>= 0.1.0, < 1.0)
|
97
98
|
ruby-progressbar (~> 1.7)
|
98
|
-
unicode-display_width (>= 1.4.0, <
|
99
|
-
rubocop-
|
100
|
-
|
99
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
100
|
+
rubocop-ast (0.1.0)
|
101
|
+
parser (>= 2.7.0.1)
|
102
|
+
rubocop-rspec (1.42.0)
|
103
|
+
rubocop (>= 0.87.0)
|
101
104
|
ruby-progressbar (1.10.1)
|
102
105
|
thor (1.0.1)
|
103
106
|
thread_safe (0.3.6)
|
104
|
-
tzinfo (1.2.
|
107
|
+
tzinfo (1.2.7)
|
105
108
|
thread_safe (~> 0.1)
|
106
|
-
unicode-display_width (1.
|
107
|
-
zeitwerk (2.3.
|
109
|
+
unicode-display_width (1.7.0)
|
110
|
+
zeitwerk (2.3.1)
|
108
111
|
|
109
112
|
PLATFORMS
|
110
113
|
ruby
|
data/lib/pg_objects/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_objects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Kiselyov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|