nose 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/nose/model/fields.rb +2 -2
- data/lib/nose/search.rb +1 -1
- data/lib/nose/util.rb +1 -1
- metadata +23 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fdab6ac0cd36aff76527e1581daa256c7078b99aca5221d0744b9c0d8ab0fd7e
|
4
|
+
data.tar.gz: 3972ad33202958c29b58fd26863f485a25526fe5369c82e47f8555b89d638cc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d21c1fbf046dfc271d232213b1d870b714182ccbd251976587d54f6024da5e88aba65ef7a891d6ab0b6e01af33d82f0e30da0d41fdae9ee3c126da4c54d5824
|
7
|
+
data.tar.gz: 416fdc8224f4446a14491806a8907c8a8381009b4315f615d994d87dd4b1f28bd8e9f60d1b04e5c6b72e53518b9c217d8c9596be99337e4082b05d5a142c24c8
|
data/lib/nose/model/fields.rb
CHANGED
@@ -203,7 +203,7 @@ module NoSE
|
|
203
203
|
# A random string of the correct length
|
204
204
|
# @return [String]
|
205
205
|
def random_value
|
206
|
-
Faker::Lorem.characters(@size)
|
206
|
+
Faker::Lorem.characters(number: @size)
|
207
207
|
end
|
208
208
|
end
|
209
209
|
|
@@ -237,7 +237,7 @@ module NoSE
|
|
237
237
|
next_year = DateTime.now.next_year
|
238
238
|
next_year = next_year.new_offset(Rational(0, 24))
|
239
239
|
|
240
|
-
Faker::Time.
|
240
|
+
Faker::Time.between_dates from: prev_year, to: next_year
|
241
241
|
end
|
242
242
|
end
|
243
243
|
|
data/lib/nose/search.rb
CHANGED
@@ -88,7 +88,6 @@ module NoSE
|
|
88
88
|
|
89
89
|
result.workload = @workload
|
90
90
|
result.plans_from_trees trees
|
91
|
-
result.cost_model = @cost_model
|
92
91
|
|
93
92
|
# Select the relevant update plans
|
94
93
|
update_plans = update_plans.values.flatten(1).select do |plan|
|
@@ -99,6 +98,7 @@ module NoSE
|
|
99
98
|
end
|
100
99
|
result.update_plans = update_plans
|
101
100
|
|
101
|
+
result.cost_model = @cost_model
|
102
102
|
result.validate
|
103
103
|
|
104
104
|
result
|
data/lib/nose/util.rb
CHANGED
@@ -150,7 +150,7 @@ module Subtype
|
|
150
150
|
# Convert camel case class names to an array
|
151
151
|
# @return [Array<String>]
|
152
152
|
def name_array(cls)
|
153
|
-
frozen_name = cls.name
|
153
|
+
frozen_name = cls.name.dup
|
154
154
|
frozen_name.gsub!(/^.*::/, '')
|
155
155
|
frozen_name.gsub!('ID', 'Id')
|
156
156
|
frozen_name.freeze
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Mior
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faker
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.3.0
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 1.7.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 2.3.0
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.7.0
|
@@ -104,7 +104,7 @@ dependencies:
|
|
104
104
|
requirements:
|
105
105
|
- - "~>"
|
106
106
|
- !ruby/object:Gem::Version
|
107
|
-
version: 1.
|
107
|
+
version: 1.17.0
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.11.0
|
@@ -114,7 +114,7 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.17.0
|
118
118
|
- - ">="
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: 1.11.0
|
@@ -186,7 +186,7 @@ dependencies:
|
|
186
186
|
requirements:
|
187
187
|
- - "~>"
|
188
188
|
- !ruby/object:Gem::Version
|
189
|
-
version: 12.
|
189
|
+
version: 12.3.2
|
190
190
|
- - ">="
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: 12.0.0
|
@@ -196,7 +196,7 @@ dependencies:
|
|
196
196
|
requirements:
|
197
197
|
- - "~>"
|
198
198
|
- !ruby/object:Gem::Version
|
199
|
-
version: 12.
|
199
|
+
version: 12.3.2
|
200
200
|
- - ">="
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: 12.0.0
|
@@ -266,7 +266,7 @@ dependencies:
|
|
266
266
|
requirements:
|
267
267
|
- - "~>"
|
268
268
|
- !ruby/object:Gem::Version
|
269
|
-
version:
|
269
|
+
version: 5.22.0
|
270
270
|
- - ">="
|
271
271
|
- !ruby/object:Gem::Version
|
272
272
|
version: 4.46.0
|
@@ -276,7 +276,7 @@ dependencies:
|
|
276
276
|
requirements:
|
277
277
|
- - "~>"
|
278
278
|
- !ruby/object:Gem::Version
|
279
|
-
version:
|
279
|
+
version: 5.22.0
|
280
280
|
- - ">="
|
281
281
|
- !ruby/object:Gem::Version
|
282
282
|
version: 4.46.0
|
@@ -326,7 +326,7 @@ dependencies:
|
|
326
326
|
requirements:
|
327
327
|
- - "~>"
|
328
328
|
- !ruby/object:Gem::Version
|
329
|
-
version: 2.
|
329
|
+
version: 2.10.0
|
330
330
|
- - ">="
|
331
331
|
- !ruby/object:Gem::Version
|
332
332
|
version: 2.4.0
|
@@ -336,7 +336,7 @@ dependencies:
|
|
336
336
|
requirements:
|
337
337
|
- - "~>"
|
338
338
|
- !ruby/object:Gem::Version
|
339
|
-
version: 2.
|
339
|
+
version: 2.10.0
|
340
340
|
- - ">="
|
341
341
|
- !ruby/object:Gem::Version
|
342
342
|
version: 2.4.0
|
@@ -346,14 +346,14 @@ dependencies:
|
|
346
346
|
requirements:
|
347
347
|
- - "~>"
|
348
348
|
- !ruby/object:Gem::Version
|
349
|
-
version: 0.
|
349
|
+
version: 0.20.0
|
350
350
|
type: :development
|
351
351
|
prerelease: false
|
352
352
|
version_requirements: !ruby/object:Gem::Requirement
|
353
353
|
requirements:
|
354
354
|
- - "~>"
|
355
355
|
- !ruby/object:Gem::Version
|
356
|
-
version: 0.
|
356
|
+
version: 0.20.0
|
357
357
|
- !ruby/object:Gem::Dependency
|
358
358
|
name: memory_profiler
|
359
359
|
requirement: !ruby/object:Gem::Requirement
|
@@ -374,7 +374,7 @@ dependencies:
|
|
374
374
|
requirements:
|
375
375
|
- - "~>"
|
376
376
|
- !ruby/object:Gem::Version
|
377
|
-
version: 3.
|
377
|
+
version: 3.7.0
|
378
378
|
- - ">="
|
379
379
|
- !ruby/object:Gem::Version
|
380
380
|
version: 3.4.0
|
@@ -384,7 +384,7 @@ dependencies:
|
|
384
384
|
requirements:
|
385
385
|
- - "~>"
|
386
386
|
- !ruby/object:Gem::Version
|
387
|
-
version: 3.
|
387
|
+
version: 3.7.0
|
388
388
|
- - ">="
|
389
389
|
- !ruby/object:Gem::Version
|
390
390
|
version: 3.4.0
|
@@ -476,7 +476,7 @@ dependencies:
|
|
476
476
|
requirements:
|
477
477
|
- - "~>"
|
478
478
|
- !ruby/object:Gem::Version
|
479
|
-
version: 1.
|
479
|
+
version: 1.2.0
|
480
480
|
- - ">="
|
481
481
|
- !ruby/object:Gem::Version
|
482
482
|
version: 1.1.0
|
@@ -486,7 +486,7 @@ dependencies:
|
|
486
486
|
requirements:
|
487
487
|
- - "~>"
|
488
488
|
- !ruby/object:Gem::Version
|
489
|
-
version: 1.
|
489
|
+
version: 1.2.0
|
490
490
|
- - ">="
|
491
491
|
- !ruby/object:Gem::Version
|
492
492
|
version: 1.1.0
|
@@ -496,14 +496,14 @@ dependencies:
|
|
496
496
|
requirements:
|
497
497
|
- - "~>"
|
498
498
|
- !ruby/object:Gem::Version
|
499
|
-
version: 0.
|
499
|
+
version: 0.18.0
|
500
500
|
type: :development
|
501
501
|
prerelease: false
|
502
502
|
version_requirements: !ruby/object:Gem::Requirement
|
503
503
|
requirements:
|
504
504
|
- - "~>"
|
505
505
|
- !ruby/object:Gem::Version
|
506
|
-
version: 0.
|
506
|
+
version: 0.18.0
|
507
507
|
- !ruby/object:Gem::Dependency
|
508
508
|
name: scrutinizer-ocular
|
509
509
|
requirement: !ruby/object:Gem::Requirement
|
@@ -530,14 +530,14 @@ dependencies:
|
|
530
530
|
requirements:
|
531
531
|
- - "~>"
|
532
532
|
- !ruby/object:Gem::Version
|
533
|
-
version: 0.
|
533
|
+
version: 0.17.0
|
534
534
|
type: :development
|
535
535
|
prerelease: false
|
536
536
|
version_requirements: !ruby/object:Gem::Requirement
|
537
537
|
requirements:
|
538
538
|
- - "~>"
|
539
539
|
- !ruby/object:Gem::Version
|
540
|
-
version: 0.
|
540
|
+
version: 0.17.0
|
541
541
|
- !ruby/object:Gem::Dependency
|
542
542
|
name: yard
|
543
543
|
requirement: !ruby/object:Gem::Requirement
|
@@ -706,8 +706,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
706
706
|
- !ruby/object:Gem::Version
|
707
707
|
version: '0'
|
708
708
|
requirements: []
|
709
|
-
|
710
|
-
rubygems_version: 2.5.2.3
|
709
|
+
rubygems_version: 3.1.2
|
711
710
|
signing_key:
|
712
711
|
specification_version: 4
|
713
712
|
summary: Schema design for NoSQL applications
|