sequel_oracle_extensions 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.5
1
+ 0.6.6
@@ -104,8 +104,10 @@ module Sequel
104
104
  b = filter_expr((Array===b && b.size==1) ? b.first : b)
105
105
  a ? SQL::BooleanExpression.new(:AND, a, b) : b
106
106
  end
107
- @opts[:insert] = @opts[:defaults].merge(@opts[:insert]) if @opts[:defaults]
108
- @opts[:insert] = @opts[:insert].merge(@opts[:overrides]) if @opts[:overrides]
107
+ if Hash === @opts[:insert]
108
+ @opts[:insert] = @opts[:defaults].merge(@opts[:insert]) if @opts[:defaults]
109
+ @opts[:insert] = @opts[:insert].merge(@opts[:overrides]) if @opts[:overrides]
110
+ end
109
111
  [:insert, :update, :delete].each do |k|
110
112
  @opts[k] = _merge_expressions @opts[k], k!=:delete || nil
111
113
  end
@@ -27,7 +27,7 @@ module Sequel
27
27
  #
28
28
  def table_metadata(table,options={})
29
29
  columns = schema table, options
30
- attributes = columns.instance_eval{ remove_instance_variable :@features }
30
+ attributes = columns.instance_variable_get :@features
31
31
  attributes[:columns] = columns
32
32
 
33
33
  # Collect table partitioning information, if applicable.
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{sequel_oracle_extensions}
8
- s.version = "0.6.5"
7
+ s.name = "sequel_oracle_extensions"
8
+ s.version = "0.6.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{Joe Khoobyar}]
12
- s.date = %q{2011-08-26}
13
- s.description = %q{Oracle extensions for Sequel, including MERGE statements, optimizer hints, and schema extensions.}
14
- s.email = %q{joe@ankhcraft.com}
11
+ s.authors = ["Joe Khoobyar"]
12
+ s.date = "2011-08-31"
13
+ s.description = "Oracle extensions for Sequel, including MERGE statements, optimizer hints, and schema extensions."
14
+ s.email = "joe@ankhcraft.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
17
  "README.rdoc"
@@ -33,10 +33,10 @@ Gem::Specification.new do |s|
33
33
  "spec/sequel/oracle_extensions/merge_spec.rb",
34
34
  "spec/spec_helper.rb"
35
35
  ]
36
- s.homepage = %q{http://github.com/joekhoobyar/sequel_oracle_extensions}
37
- s.require_paths = [%q{lib}]
38
- s.rubygems_version = %q{1.8.8}
39
- s.summary = %q{Oracle MERGE, optimizer hints, and schema extensions for Sequel}
36
+ s.homepage = "http://github.com/joekhoobyar/sequel_oracle_extensions"
37
+ s.require_paths = ["lib"]
38
+ s.rubygems_version = "1.8.10"
39
+ s.summary = "Oracle MERGE, optimizer hints, and schema extensions for Sequel"
40
40
 
41
41
  if s.respond_to? :specification_version then
42
42
  s.specification_version = 3
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel_oracle_extensions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 5
10
- version: 0.6.5
9
+ - 6
10
+ version: 0.6.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joe Khoobyar
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-26 00:00:00 Z
18
+ date: 2011-08-31 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: sequel
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements: []
104
104
 
105
105
  rubyforge_project:
106
- rubygems_version: 1.8.8
106
+ rubygems_version: 1.8.10
107
107
  signing_key:
108
108
  specification_version: 3
109
109
  summary: Oracle MERGE, optimizer hints, and schema extensions for Sequel