alf 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.9.2 / 2011.07.13
2
+
3
+ * Bug fixes
4
+
5
+ * Fixed the "alf show" command (undefined method `chain')
6
+
1
7
  # 0.9.1 / 2011.07.13
2
8
 
3
9
  * Enhancements (public APIs)
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- alf (0.9.1)
5
- quickl (~> 0.2.1)
4
+ alf (0.9.2)
5
+ quickl (~> 0.2.2)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
data/alf.gemspec CHANGED
@@ -130,7 +130,7 @@ Gem::Specification.new do |s|
130
130
  s.add_development_dependency("bluecloth", "~> 2.0.9")
131
131
  s.add_development_dependency("wlang", "~> 0.10.1")
132
132
  s.add_development_dependency("noe", "~> 1.3.0")
133
- s.add_dependency("quickl", "~> 0.2.1")
133
+ s.add_dependency("quickl", "~> 0.2.2")
134
134
 
135
135
  # The version of ruby required by this gem
136
136
  #
data/alf.noespec CHANGED
@@ -7,7 +7,7 @@ variables:
7
7
  upper:
8
8
  Alf
9
9
  version:
10
- 0.9.1
10
+ 0.9.2
11
11
  summary: |-
12
12
  Relational Algebra at your fingertips
13
13
  description: |-
@@ -21,6 +21,7 @@ variables:
21
21
  links:
22
22
  - http://rubydoc.info/github/blambeau/alf/master/frames
23
23
  - http://github.com/blambeau/alf
24
+ - http://rubygems.org/gems/alf
24
25
  dependencies:
25
26
  - {name: rake, version: "~> 0.9.2", groups: [development]}
26
27
  - {name: bundler, version: "~> 1.0", groups: [development]}
@@ -29,7 +30,7 @@ variables:
29
30
  - {name: bluecloth, version: "~> 2.0.9", groups: [development]}
30
31
  - {name: wlang, version: "~> 0.10.1", groups: [development]}
31
32
  - {name: noe, version: "~> 1.3.0", groups: [development]}
32
- - {name: quickl, version: "~> 0.2.1", groups: [runtime]}
33
+ - {name: quickl, version: "~> 0.2.2", groups: [runtime]}
33
34
  rake_tasks:
34
35
  spec_test:
35
36
  pattern: "spec/**/test_*.rb"
data/lib/alf.rb CHANGED
@@ -1031,16 +1031,16 @@ module Alf
1031
1031
  # Output input tuples through a specific renderer (text, yaml, ...)
1032
1032
  #
1033
1033
  # SYNOPSIS
1034
- # #{program_name} #{command_name} [DATASET...]
1034
+ # #{program_name} #{command_name} DATASET
1035
1035
  #
1036
1036
  # OPTIONS
1037
1037
  # #{summarized_options}
1038
1038
  #
1039
1039
  # DESCRIPTION
1040
1040
  #
1041
- # When dataset names are specified as commandline args, request the environment
1042
- # to provide those datasets and print them. Otherwise, take what comes on standard
1043
- # input.
1041
+ # When a dataset name is specified as commandline arg, request the
1042
+ # environment to provide this dataset and prints it. Otherwise, take what
1043
+ # comes on standard input.
1044
1044
  #
1045
1045
  # Note that this command is not an operator and should not be piped anymore.
1046
1046
  #
@@ -1059,7 +1059,7 @@ module Alf
1059
1059
  def execute(args)
1060
1060
  requester.renderer = @renderer
1061
1061
  args = [ $stdin ] if args.empty?
1062
- requester.send(:chain,*args)
1062
+ args.first
1063
1063
  end
1064
1064
 
1065
1065
  end # class Show
data/lib/alf/version.rb CHANGED
@@ -3,7 +3,7 @@ module Alf
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 9
6
- TINY = 1
6
+ TINY = 2
7
7
 
8
8
  def self.to_s
9
9
  [ MAJOR, MINOR, TINY ].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-07-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &73619970 !ruby/object:Gem::Requirement
16
+ requirement: &88021380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.9.2
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *73619970
24
+ version_requirements: *88021380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &73619720 !ruby/object:Gem::Requirement
27
+ requirement: &88021130 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '1.0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *73619720
35
+ version_requirements: *88021130
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &73619490 !ruby/object:Gem::Requirement
38
+ requirement: &88080750 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.6.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *73619490
46
+ version_requirements: *88080750
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: yard
49
- requirement: &73619260 !ruby/object:Gem::Requirement
49
+ requirement: &88080520 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.7.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *73619260
57
+ version_requirements: *88080520
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: bluecloth
60
- requirement: &73619030 !ruby/object:Gem::Requirement
60
+ requirement: &88080290 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 2.0.9
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *73619030
68
+ version_requirements: *88080290
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: wlang
71
- requirement: &73618800 !ruby/object:Gem::Requirement
71
+ requirement: &88080060 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.10.1
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *73618800
79
+ version_requirements: *88080060
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: noe
82
- requirement: &73618570 !ruby/object:Gem::Requirement
82
+ requirement: &88079830 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,18 +87,18 @@ dependencies:
87
87
  version: 1.3.0
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *73618570
90
+ version_requirements: *88079830
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: quickl
93
- requirement: &73618340 !ruby/object:Gem::Requirement
93
+ requirement: &88079600 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
97
97
  - !ruby/object:Gem::Version
98
- version: 0.2.1
98
+ version: 0.2.2
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *73618340
101
+ version_requirements: *88079600
102
102
  description: ! "Alf brings the relational algebra both in Shell and in Ruby. In Shell,
103
103
  because \nmanipulating any relation-like data source should be as straightforward
104
104
  as a \none-liner. In Ruby, because I've never understood why programming languages
@@ -236,7 +236,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
236
236
  version: '0'
237
237
  segments:
238
238
  - 0
239
- hash: 861666799
239
+ hash: 845446095
240
240
  required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  none: false
242
242
  requirements:
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
245
  version: '0'
246
246
  segments:
247
247
  - 0
248
- hash: 861666799
248
+ hash: 845446095
249
249
  requirements: []
250
250
  rubyforge_project:
251
251
  rubygems_version: 1.8.5