alf-core 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d36db649022c56e56432929eddeabe19c4e395ca
4
+ data.tar.gz: 515f75988ce494972a210fb2af70a45aad33705f
5
+ SHA512:
6
+ metadata.gz: d636536c6e5f3536bbbbddf41242b49e0c6d587fb9a7ad272cc41b079a31897b55e45075a1cd90176d25801f4f63d85dc451a9d449fc374f04083dc546293853
7
+ data.tar.gz: 28a6dc24c75ba0f2b21a966fc9bc63f9c6203c6c775f0c7df6814857f45d71f57d82dfed7f6d57392d220b9e768600257478ba9b7bc30474976327bdd2fa8499
@@ -1,21 +1,21 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- diff-lcs (1.2.4)
4
+ diff-lcs (1.2.5)
5
5
  domain (1.0.0)
6
- highline (1.6.20)
6
+ highline (1.6.21)
7
7
  myrrha (3.0.0)
8
8
  domain (~> 1.0)
9
9
  path (1.3.3)
10
- rake (10.1.0)
10
+ rake (10.3.1)
11
11
  rspec (2.14.1)
12
12
  rspec-core (~> 2.14.0)
13
13
  rspec-expectations (~> 2.14.0)
14
14
  rspec-mocks (~> 2.14.0)
15
- rspec-core (2.14.7)
16
- rspec-expectations (2.14.3)
15
+ rspec-core (2.14.8)
16
+ rspec-expectations (2.14.5)
17
17
  diff-lcs (>= 1.1.3, < 2.0)
18
- rspec-mocks (2.14.4)
18
+ rspec-mocks (2.14.6)
19
19
  ruby_cop (1.0.5)
20
20
  sexpr (0.6.0)
21
21
 
@@ -4,7 +4,7 @@ module Alf
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 16
7
- TINY = 0
7
+ TINY = 1
8
8
 
9
9
  def self.to_s
10
10
  [ MAJOR, MINOR, TINY ].join('.')
@@ -21,7 +21,7 @@ module Alf
21
21
  def apply(expr, attributes, allbut, search)
22
22
  check_stop(expr, attributes, allbut, search){ super }
23
23
  rescue NotSupportedError
24
- project(expr, attributes, allbut)
24
+ project(expr, attributes, allbut: allbut)
25
25
  end
26
26
 
27
27
  def check_stop(expr, attributes, allbut, search)
metadata CHANGED
@@ -1,160 +1,147 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alf-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
5
- prerelease:
4
+ version: 0.16.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Bernard Lambeau
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-18 00:00:00.000000000 Z
11
+ date: 2014-04-30 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '10.1'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '10.1'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rspec
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '2.14'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '2.14'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: highline
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '1.6'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '1.6'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: ruby_cop
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
61
  version: '1.0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
68
  version: '1.0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: myrrha
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ~>
73
+ - - "~>"
84
74
  - !ruby/object:Gem::Version
85
75
  version: '3.0'
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ~>
80
+ - - "~>"
92
81
  - !ruby/object:Gem::Version
93
82
  version: '3.0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: domain
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ~>
87
+ - - "~>"
100
88
  - !ruby/object:Gem::Version
101
89
  version: '1.0'
102
90
  type: :runtime
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ~>
94
+ - - "~>"
108
95
  - !ruby/object:Gem::Version
109
96
  version: '1.0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: path
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ~>
101
+ - - "~>"
116
102
  - !ruby/object:Gem::Version
117
103
  version: '1.3'
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ~>
108
+ - - "~>"
124
109
  - !ruby/object:Gem::Version
125
110
  version: '1.3'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: sexpr
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ~>
115
+ - - "~>"
132
116
  - !ruby/object:Gem::Version
133
117
  version: 0.6.0
134
118
  type: :runtime
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ~>
122
+ - - "~>"
140
123
  - !ruby/object:Gem::Version
141
124
  version: 0.6.0
142
- description: ! 'Alf brings the relational algebra both in Shell and in Ruby. In Shell,
143
- because
144
-
125
+ description: |-
126
+ Alf brings the relational algebra both in Shell and in Ruby. In Shell, because
145
127
  manipulating any relation-like data source should be as straightforward as a
146
-
147
- one-liner. In Ruby, because I''ve never understood why programming languages
148
-
128
+ one-liner. In Ruby, because I've never understood why programming languages
149
129
  provide data structures like arrays, hashes, sets, trees and graphs but not
150
-
151
- _relations_... Let''s stop the segregation ;-)'
130
+ _relations_... Let's stop the segregation ;-)
152
131
  email:
153
132
  - blambeau@gmail.com
154
133
  executables: []
155
134
  extensions: []
156
135
  extra_rdoc_files: []
157
136
  files:
137
+ - CHANGELOG.md
138
+ - Gemfile
139
+ - Gemfile.lock
140
+ - LICENCE.md
141
+ - Manifest.txt
142
+ - README.md
143
+ - Rakefile
144
+ - TODO.md
158
145
  - examples/functions-as-values.rb
159
146
  - examples/memory_database.rb
160
147
  - examples/operators/autonum.alf
@@ -193,12 +180,14 @@ files:
193
180
  - examples/suppliers_and_parts/parts.rash
194
181
  - examples/suppliers_and_parts/suppliers.rash
195
182
  - examples/suppliers_and_parts/supplies.rash
196
- - lib/alf/adapter/connection/schema_cached.rb
183
+ - lib/alf-core.rb
184
+ - lib/alf/adapter.rb
197
185
  - lib/alf/adapter/connection.rb
198
- - lib/alf/adapter/folder/connection.rb
186
+ - lib/alf/adapter/connection/schema_cached.rb
199
187
  - lib/alf/adapter/folder.rb
188
+ - lib/alf/adapter/folder/connection.rb
200
189
  - lib/alf/adapter/fs.rb
201
- - lib/alf/adapter.rb
190
+ - lib/alf/aggregator.rb
202
191
  - lib/alf/aggregator/avg.rb
203
192
  - lib/alf/aggregator/collect.rb
204
193
  - lib/alf/aggregator/concat.rb
@@ -208,11 +197,12 @@ files:
208
197
  - lib/alf/aggregator/stddev.rb
209
198
  - lib/alf/aggregator/sum.rb
210
199
  - lib/alf/aggregator/variance.rb
211
- - lib/alf/aggregator.rb
200
+ - lib/alf/algebra.rb
201
+ - lib/alf/algebra/operand.rb
212
202
  - lib/alf/algebra/operand/fake.rb
213
203
  - lib/alf/algebra/operand/named.rb
214
204
  - lib/alf/algebra/operand/proxy.rb
215
- - lib/alf/algebra/operand.rb
205
+ - lib/alf/algebra/operator.rb
216
206
  - lib/alf/algebra/operator/autonum.rb
217
207
  - lib/alf/algebra/operator/clip.rb
218
208
  - lib/alf/algebra/operator/coerce.rb
@@ -240,10 +230,10 @@ files:
240
230
  - lib/alf/algebra/operator/union.rb
241
231
  - lib/alf/algebra/operator/unwrap.rb
242
232
  - lib/alf/algebra/operator/wrap.rb
243
- - lib/alf/algebra/operator.rb
233
+ - lib/alf/algebra/shortcut.rb
244
234
  - lib/alf/algebra/shortcut/allbut.rb
245
235
  - lib/alf/algebra/shortcut/image.rb
246
- - lib/alf/algebra/shortcut.rb
236
+ - lib/alf/algebra/support.rb
247
237
  - lib/alf/algebra/support/binary.rb
248
238
  - lib/alf/algebra/support/classification.rb
249
239
  - lib/alf/algebra/support/compiler.rb
@@ -257,54 +247,53 @@ files:
257
247
  - lib/alf/algebra/support/unary.rb
258
248
  - lib/alf/algebra/support/visitor.rb
259
249
  - lib/alf/algebra/support/with_ordering.rb
260
- - lib/alf/algebra/support.rb
261
- - lib/alf/algebra.rb
250
+ - lib/alf/compiler.rb
262
251
  - lib/alf/compiler/cog.rb
263
252
  - lib/alf/compiler/default.rb
264
253
  - lib/alf/compiler/plan.rb
265
- - lib/alf/compiler.rb
254
+ - lib/alf/core.rb
266
255
  - lib/alf/core/loader.rb
267
256
  - lib/alf/core/version.rb
268
- - lib/alf/core.rb
257
+ - lib/alf/database.rb
269
258
  - lib/alf/database/connection.rb
270
259
  - lib/alf/database/options.rb
271
- - lib/alf/database.rb
272
260
  - lib/alf/dsl.rb
261
+ - lib/alf/engine.rb
273
262
  - lib/alf/engine/aggregate.rb
274
263
  - lib/alf/engine/autonum.rb
275
264
  - lib/alf/engine/clip.rb
276
265
  - lib/alf/engine/coerce.rb
277
266
  - lib/alf/engine/cog.rb
267
+ - lib/alf/engine/compact.rb
278
268
  - lib/alf/engine/compact/set.rb
279
269
  - lib/alf/engine/compact/uniq.rb
280
- - lib/alf/engine/compact.rb
281
270
  - lib/alf/engine/concat.rb
282
271
  - lib/alf/engine/defaults.rb
283
272
  - lib/alf/engine/filter.rb
284
273
  - lib/alf/engine/generator.rb
285
- - lib/alf/engine/group/hash.rb
286
274
  - lib/alf/engine/group.rb
275
+ - lib/alf/engine/group/hash.rb
287
276
  - lib/alf/engine/hierarchize.rb
288
277
  - lib/alf/engine/infer_heading.rb
289
- - lib/alf/engine/join/hash.rb
290
278
  - lib/alf/engine/join.rb
279
+ - lib/alf/engine/join/hash.rb
291
280
  - lib/alf/engine/leaf.rb
281
+ - lib/alf/engine/materialize.rb
292
282
  - lib/alf/engine/materialize/array.rb
293
283
  - lib/alf/engine/materialize/hash.rb
294
- - lib/alf/engine/materialize.rb
295
- - lib/alf/engine/quota/cesure.rb
296
284
  - lib/alf/engine/quota.rb
297
- - lib/alf/engine/rank/cesure.rb
285
+ - lib/alf/engine/quota/cesure.rb
298
286
  - lib/alf/engine/rank.rb
287
+ - lib/alf/engine/rank/cesure.rb
299
288
  - lib/alf/engine/rename.rb
300
- - lib/alf/engine/semi/hash.rb
301
289
  - lib/alf/engine/semi.rb
290
+ - lib/alf/engine/semi/hash.rb
302
291
  - lib/alf/engine/set_attr.rb
303
- - lib/alf/engine/sort/in_memory.rb
304
292
  - lib/alf/engine/sort.rb
293
+ - lib/alf/engine/sort/in_memory.rb
294
+ - lib/alf/engine/summarize.rb
305
295
  - lib/alf/engine/summarize/cesure.rb
306
296
  - lib/alf/engine/summarize/hash.rb
307
- - lib/alf/engine/summarize.rb
308
297
  - lib/alf/engine/support/cesure.rb
309
298
  - lib/alf/engine/take.rb
310
299
  - lib/alf/engine/to_array.rb
@@ -312,25 +301,25 @@ files:
312
301
  - lib/alf/engine/ungroup.rb
313
302
  - lib/alf/engine/unwrap.rb
314
303
  - lib/alf/engine/wrap.rb
315
- - lib/alf/engine.rb
316
304
  - lib/alf/errors.rb
305
+ - lib/alf/ext.rb
317
306
  - lib/alf/ext/domain/heading_based.rb
318
307
  - lib/alf/ext/yaml.rb
319
- - lib/alf/ext.rb
320
308
  - lib/alf/facade.rb
309
+ - lib/alf/lang.rb
321
310
  - lib/alf/lang/functional.rb
322
311
  - lib/alf/lang/object_oriented.rb
323
312
  - lib/alf/lang/oo/aggregation_methods.rb
324
313
  - lib/alf/lang/oo/algebra_methods.rb
325
314
  - lib/alf/lang/oo/rendering_methods.rb
315
+ - lib/alf/lang/parser.rb
326
316
  - lib/alf/lang/parser/lispy.rb
327
317
  - lib/alf/lang/parser/safer.rb
328
- - lib/alf/lang/parser.rb
329
318
  - lib/alf/lang/predicates.rb
330
- - lib/alf/lang.rb
319
+ - lib/alf/optimizer.rb
331
320
  - lib/alf/optimizer/project.rb
332
321
  - lib/alf/optimizer/restrict.rb
333
- - lib/alf/optimizer.rb
322
+ - lib/alf/predicate.rb
334
323
  - lib/alf/predicate/factory.rb
335
324
  - lib/alf/predicate/grammar.rb
336
325
  - lib/alf/predicate/grammar.sexp.yml
@@ -353,29 +342,29 @@ files:
353
342
  - lib/alf/predicate/nodes/or.rb
354
343
  - lib/alf/predicate/nodes/qualified_identifier.rb
355
344
  - lib/alf/predicate/nodes/tautology.rb
345
+ - lib/alf/predicate/processors.rb
356
346
  - lib/alf/predicate/processors/qualifier.rb
357
347
  - lib/alf/predicate/processors/renamer.rb
358
348
  - lib/alf/predicate/processors/to_ruby_code.rb
359
- - lib/alf/predicate/processors.rb
360
- - lib/alf/predicate.rb
349
+ - lib/alf/reader.rb
361
350
  - lib/alf/reader/csv.rb
362
351
  - lib/alf/reader/json.rb
363
352
  - lib/alf/reader/rash.rb
364
353
  - lib/alf/reader/ruby.rb
365
354
  - lib/alf/reader/yaml.rb
366
- - lib/alf/reader.rb
367
355
  - lib/alf/relation.rb
356
+ - lib/alf/relvar.rb
368
357
  - lib/alf/relvar/base.rb
369
358
  - lib/alf/relvar/fake.rb
370
359
  - lib/alf/relvar/read_only.rb
371
360
  - lib/alf/relvar/virtual.rb
372
- - lib/alf/relvar.rb
361
+ - lib/alf/renderer.rb
373
362
  - lib/alf/renderer/csv.rb
374
363
  - lib/alf/renderer/json.rb
375
364
  - lib/alf/renderer/rash.rb
376
365
  - lib/alf/renderer/text.rb
377
366
  - lib/alf/renderer/yaml.rb
378
- - lib/alf/renderer.rb
367
+ - lib/alf/support.rb
379
368
  - lib/alf/support/coerce.rb
380
369
  - lib/alf/support/config.rb
381
370
  - lib/alf/support/csv_utils.rb
@@ -388,8 +377,8 @@ files:
388
377
  - lib/alf/support/to_ruby_literal.rb
389
378
  - lib/alf/support/tree.rb
390
379
  - lib/alf/support/tuple_scope.rb
391
- - lib/alf/support.rb
392
380
  - lib/alf/tuple.rb
381
+ - lib/alf/types.rb
393
382
  - lib/alf/types/attr_list.rb
394
383
  - lib/alf/types/attr_name.rb
395
384
  - lib/alf/types/boolean.rb
@@ -404,14 +393,12 @@ files:
404
393
  - lib/alf/types/tuple_computation.rb
405
394
  - lib/alf/types/tuple_expression.rb
406
395
  - lib/alf/types/type_check.rb
407
- - lib/alf/types.rb
396
+ - lib/alf/update.rb
408
397
  - lib/alf/update/deleter.rb
409
398
  - lib/alf/update/inserter.rb
410
399
  - lib/alf/update/updater.rb
411
- - lib/alf/update.rb
412
- - lib/alf/viewpoint/metadata.rb
413
400
  - lib/alf/viewpoint.rb
414
- - lib/alf-core.rb
401
+ - lib/alf/viewpoint/metadata.rb
415
402
  - tasks/clean.rake
416
403
  - tasks/gem.rake
417
404
  - tasks/gh-pages.rake
@@ -419,39 +406,27 @@ files:
419
406
  - tasks/regression_test.rake
420
407
  - tasks/unit_test.rake
421
408
  - tasks/yard.rake
422
- - Rakefile
423
- - CHANGELOG.md
424
- - Gemfile
425
- - Gemfile.lock
426
- - LICENCE.md
427
- - Manifest.txt
428
- - README.md
429
- - TODO.md
430
409
  homepage: http://blambeau.github.com/alf
431
410
  licenses: []
411
+ metadata: {}
432
412
  post_install_message:
433
413
  rdoc_options: []
434
414
  require_paths:
435
415
  - lib
436
416
  required_ruby_version: !ruby/object:Gem::Requirement
437
- none: false
438
417
  requirements:
439
- - - ! '>='
418
+ - - ">="
440
419
  - !ruby/object:Gem::Version
441
420
  version: '0'
442
- segments:
443
- - 0
444
- hash: -1669780167220841644
445
421
  required_rubygems_version: !ruby/object:Gem::Requirement
446
- none: false
447
422
  requirements:
448
- - - ! '>='
423
+ - - ">="
449
424
  - !ruby/object:Gem::Version
450
425
  version: '0'
451
426
  requirements: []
452
427
  rubyforge_project:
453
- rubygems_version: 1.8.25
428
+ rubygems_version: 2.2.2
454
429
  signing_key:
455
- specification_version: 3
430
+ specification_version: 4
456
431
  summary: Relational Algebra at your fingertips
457
432
  test_files: []