nose 0.1.0pre5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ed212e03d78e2d1915732350ff36867d08bb269
4
- data.tar.gz: be5652bafa272b3f4ad5ded93a0ef1c3cbd261bf
3
+ metadata.gz: e817111e2ea50f483500db044e6d6512c586027b
4
+ data.tar.gz: 693bf5ee829df8b271acca2803ea5fef3f8ed6cb
5
5
  SHA512:
6
- metadata.gz: 448210b5c1423d10138c0fc2693d7d0a2728ac84a13d20b07d2365fe48d34a7e7c36af81535d53d0cf3ee577f350791f02e5a7eda8e473817b5a57699ac42875
7
- data.tar.gz: d2ae70342d7782474c201d8adddac1eb444f14e216994ed8ea2e5be0684a3dc0e9fdaed8d61ef945eca5cf210b2e36767423d35a9a15fc96540d441ef9fafbbe
6
+ metadata.gz: 0bbea1bd5b830b27727a3d7ecc19abdf3f1fde4c70d94d80f5dfd6b89fe5a673406d19bb20dbac26ba608ebcf0cfcded988ceb9f19d8107d59c9d5229ecd9d7f
7
+ data.tar.gz: 5d8fa4f846b6223da5d28adc59c0e8d034673d529e0ba5b7a02b65cb32bbc116c23d0d73ffce1abb14362529a685cd93c4abeeccc9eef09b066317c8e3183a6e
@@ -7,7 +7,8 @@ module NoSE
7
7
  :entries, :entry_size, :size, :hash_count, :per_hash_count,
8
8
  :graph
9
9
 
10
- def initialize(hash_fields, order_fields, extra, graph, saved_key = nil)
10
+ def initialize(hash_fields, order_fields, extra, graph,
11
+ saved_key: nil)
11
12
  order_set = order_fields.to_set
12
13
  @hash_fields = hash_fields.to_set
13
14
  @order_fields = order_fields.delete_if { |e| hash_fields.include? e }
@@ -189,7 +190,7 @@ module NoSE
189
190
  # @return [Index]
190
191
  def simple_index
191
192
  Index.new [id_field], [], fields.values - [id_field],
192
- QueryGraph::Graph.from_path([id_field]), name
193
+ QueryGraph::Graph.from_path([id_field]), saved_key: name
193
194
  end
194
195
  end
195
196
 
@@ -39,7 +39,8 @@ module NoSE
39
39
  dsl = IndexDSL.new(self)
40
40
  dsl.instance_eval(&block) if block_given?
41
41
  index = Index.new dsl.hash_fields, dsl.order_fields, dsl.extra,
42
- QueryGraph::Graph.from_path(dsl.path_keys), key
42
+ QueryGraph::Graph.from_path(dsl.path_keys),
43
+ saved_key: key
43
44
  @indexes[index.key] = index
44
45
  end
45
46
 
@@ -2,8 +2,9 @@
2
2
 
3
3
  require 'logging'
4
4
 
5
+ require 'mipper'
5
6
  begin
6
- require 'mipper'
7
+ require 'mipper/cbc'
7
8
  rescue LoadError
8
9
  # We can't use most search functionality, but it won't explode
9
10
  nil
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.0pre5
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Mior
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-03 00:00:00.000000000 Z
11
+ date: 2017-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faker
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.6.6
19
+ version: 1.7.3
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.6.0
22
+ version: 1.7.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 1.6.6
29
+ version: 1.7.3
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.6.0
32
+ version: 1.7.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: formatador
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -50,108 +50,108 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 2.7.0
53
+ version: 2.8.0
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: 2.7.0
56
+ version: 2.8.0
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: 2.7.0
63
+ version: 2.8.0
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: 2.7.0
66
+ version: 2.8.0
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: logging
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: 2.1.0
73
+ version: 2.2.0
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: 2.1.0
76
+ version: 2.2.0
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: 2.1.0
83
+ version: 2.2.0
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: 2.1.0
86
+ version: 2.2.0
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: mipper
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
91
  - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: 0.0.9
93
+ version: 0.1.0
94
94
  type: :runtime
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - "~>"
99
99
  - !ruby/object:Gem::Version
100
- version: 0.0.9
100
+ version: 0.1.0
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: parallel
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - "~>"
106
106
  - !ruby/object:Gem::Version
107
- version: 1.10.0
107
+ version: 1.11.1
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 1.10.0
110
+ version: 1.11.0
111
111
  type: :runtime
112
112
  prerelease: false
113
113
  version_requirements: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.10.0
117
+ version: 1.11.1
118
118
  - - ">="
119
119
  - !ruby/object:Gem::Version
120
- version: 1.10.0
120
+ version: 1.11.0
121
121
  - !ruby/object:Gem::Dependency
122
122
  name: parslet
123
123
  requirement: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - "~>"
126
126
  - !ruby/object:Gem::Version
127
- version: 1.7.1
127
+ version: 1.8.0
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
- version: 1.7.0
130
+ version: 1.8.0
131
131
  type: :runtime
132
132
  prerelease: false
133
133
  version_requirements: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: 1.7.1
137
+ version: 1.8.0
138
138
  - - ">="
139
139
  - !ruby/object:Gem::Version
140
- version: 1.7.0
140
+ version: 1.8.0
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: pg
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - "~>"
146
146
  - !ruby/object:Gem::Version
147
- version: 0.19.0
147
+ version: 0.20.0
148
148
  type: :runtime
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - "~>"
153
153
  - !ruby/object:Gem::Version
154
- version: 0.19.0
154
+ version: 0.20.0
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: pickup
157
157
  requirement: !ruby/object:Gem::Requirement
@@ -266,20 +266,20 @@ dependencies:
266
266
  requirements:
267
267
  - - "~>"
268
268
  - !ruby/object:Gem::Version
269
- version: 4.41.0
269
+ version: 4.46.0
270
270
  - - ">="
271
271
  - !ruby/object:Gem::Version
272
- version: 4.41.0
272
+ version: 4.46.0
273
273
  type: :runtime
274
274
  prerelease: false
275
275
  version_requirements: !ruby/object:Gem::Requirement
276
276
  requirements:
277
277
  - - "~>"
278
278
  - !ruby/object:Gem::Version
279
- version: 4.41.0
279
+ version: 4.46.0
280
280
  - - ">="
281
281
  - !ruby/object:Gem::Version
282
- version: 4.41.0
282
+ version: 4.46.0
283
283
  - !ruby/object:Gem::Dependency
284
284
  name: smarter_csv
285
285
  requirement: !ruby/object:Gem::Requirement
@@ -346,14 +346,14 @@ dependencies:
346
346
  requirements:
347
347
  - - "~>"
348
348
  - !ruby/object:Gem::Version
349
- version: 0.10.0
349
+ version: 0.11.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.10.0
356
+ version: 0.11.0
357
357
  - !ruby/object:Gem::Dependency
358
358
  name: memory_profiler
359
359
  requirement: !ruby/object:Gem::Requirement
@@ -394,14 +394,14 @@ dependencies:
394
394
  requirements:
395
395
  - - "~>"
396
396
  - !ruby/object:Gem::Version
397
- version: 0.9.0
397
+ version: 0.10.0
398
398
  type: :development
399
399
  prerelease: false
400
400
  version_requirements: !ruby/object:Gem::Requirement
401
401
  requirements:
402
402
  - - "~>"
403
403
  - !ruby/object:Gem::Version
404
- version: 0.9.0
404
+ version: 0.10.0
405
405
  - !ruby/object:Gem::Dependency
406
406
  name: pry-stack_explorer
407
407
  requirement: !ruby/object:Gem::Requirement
@@ -530,14 +530,14 @@ dependencies:
530
530
  requirements:
531
531
  - - "~>"
532
532
  - !ruby/object:Gem::Version
533
- version: 0.12.0
533
+ version: 0.14.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.12.0
540
+ version: 0.14.0
541
541
  - !ruby/object:Gem::Dependency
542
542
  name: yard
543
543
  requirement: !ruby/object:Gem::Requirement
@@ -702,12 +702,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
702
702
  version: '0'
703
703
  required_rubygems_version: !ruby/object:Gem::Requirement
704
704
  requirements:
705
- - - ">"
705
+ - - ">="
706
706
  - !ruby/object:Gem::Version
707
- version: 1.3.1
707
+ version: '0'
708
708
  requirements: []
709
709
  rubyforge_project:
710
- rubygems_version: 2.5.2
710
+ rubygems_version: 2.4.8
711
711
  signing_key:
712
712
  specification_version: 4
713
713
  summary: Schema design for NoSQL applications