sequel_fast_columns 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -4,7 +4,7 @@ module Sequel
4
4
  return @columns if @columns
5
5
  @columns = if opts[:select]
6
6
  if opts[:select].map(&:class).any? {|x| x == Sequel::LiteralString } ||
7
- (opts[:joins] && opts[:select].any? {|x| x == :* })
7
+ (opts[:join] && opts[:select].any? {|x| x == :* })
8
8
  query_db_for_columns
9
9
  else
10
10
  opts[:select].map do |column|
@@ -25,7 +25,7 @@ module Sequel
25
25
  end.flatten
26
26
  end
27
27
  else
28
- if opts[:joins]
28
+ if opts[:join]
29
29
  query_db_for_columns
30
30
  else
31
31
  get_all_columns opts[:from]
@@ -0,0 +1,56 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{sequel_fast_columns}
8
+ s.version = "0.0.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Roland Swingler"]
12
+ s.date = %q{2010-09-20}
13
+ s.description = %q{A non-db-query implementation of Dataset#columns}
14
+ s.email = %q{roland.swingler@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "lib/sequel/fast_columns.rb",
27
+ "lib/sequel_fast_columns.rb",
28
+ "sequel_fast_columns.gemspec",
29
+ "spec/sequel_fast_columns_spec.rb",
30
+ "spec/spec.opts",
31
+ "spec/spec_helper.rb"
32
+ ]
33
+ s.homepage = %q{http://github.com/knaveofdiamonds/sequel_fast_columns}
34
+ s.rdoc_options = ["--charset=UTF-8"]
35
+ s.require_paths = ["lib"]
36
+ s.rubygems_version = %q{1.3.6}
37
+ s.summary = %q{A non-db-query implementation of Dataset#columns}
38
+ s.test_files = [
39
+ "spec/sequel_fast_columns_spec.rb",
40
+ "spec/spec_helper.rb"
41
+ ]
42
+
43
+ if s.respond_to? :specification_version then
44
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
45
+ s.specification_version = 3
46
+
47
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
48
+ s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
49
+ else
50
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
51
+ end
52
+ else
53
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
54
+ end
55
+ end
56
+
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Roland Swingler
@@ -49,6 +49,7 @@ files:
49
49
  - VERSION
50
50
  - lib/sequel/fast_columns.rb
51
51
  - lib/sequel_fast_columns.rb
52
+ - sequel_fast_columns.gemspec
52
53
  - spec/sequel_fast_columns_spec.rb
53
54
  - spec/spec.opts
54
55
  - spec/spec_helper.rb