alf-sequel 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +3 -3
- data/lib/alf-sequel.rb +1 -1
- data/lib/alf/sequel/cog.rb +5 -1
- data/lib/alf/sequel/connection/update_methods.rb +2 -2
- data/lib/alf/sequel/loader.rb +2 -2
- data/lib/alf/sequel/version.rb +2 -2
- metadata +17 -17
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# 0.16.0 / 2014-02-18
|
2
|
+
|
3
|
+
* Connection#in_transaction now correctly delegates arguments to Sequel's
|
4
|
+
transaction method.
|
5
|
+
|
6
|
+
# 0.15.0 / 2013-11-01
|
7
|
+
|
8
|
+
* Entirely refactored to use alf-sql instead of hard-coded compilation.
|
9
|
+
|
1
10
|
# 0.14.0 / 2013-10-01
|
2
11
|
|
3
12
|
* Added SQL implementation of `page` and `frame`
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../alf-core
|
3
3
|
specs:
|
4
|
-
alf-core (0.
|
4
|
+
alf-core (0.16.0)
|
5
5
|
domain (~> 1.0)
|
6
6
|
myrrha (~> 3.0)
|
7
7
|
path (~> 1.3)
|
@@ -10,8 +10,8 @@ PATH
|
|
10
10
|
PATH
|
11
11
|
remote: ../alf-sql
|
12
12
|
specs:
|
13
|
-
alf-sql (0.
|
14
|
-
alf-core (
|
13
|
+
alf-sql (0.16.0)
|
14
|
+
alf-core (= 0.16.0)
|
15
15
|
sexpr (~> 0.6.0)
|
16
16
|
|
17
17
|
GEM
|
data/lib/alf-sequel.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require_relative "alf/sequel"
|
1
|
+
require_relative "alf/sequel"
|
data/lib/alf/sequel/cog.rb
CHANGED
@@ -37,7 +37,11 @@ module Alf
|
|
37
37
|
|
38
38
|
def each(&bl)
|
39
39
|
return to_enum unless block_given?
|
40
|
-
|
40
|
+
if sexpr.is_table_dee?
|
41
|
+
Alf::Engine::Clip.new(dataset, AttrList[:is_table_dee], true).each(&bl)
|
42
|
+
else
|
43
|
+
dataset.each(&bl)
|
44
|
+
end
|
41
45
|
end
|
42
46
|
|
43
47
|
end # class Cog
|
data/lib/alf/sequel/loader.rb
CHANGED
data/lib/alf/sequel/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alf-sequel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -44,13 +44,13 @@ dependencies:
|
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '2.14'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
47
|
+
name: sequel
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
50
|
requirements:
|
51
51
|
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: '4.2'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,39 +58,39 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '4.2'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
|
-
name: alf-
|
63
|
+
name: alf-core
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
none: false
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 0.16.0
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
77
|
+
version: 0.16.0
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
|
-
name:
|
79
|
+
name: alf-sql
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
81
81
|
none: false
|
82
82
|
requirements:
|
83
|
-
- -
|
83
|
+
- - '='
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
85
|
+
version: 0.16.0
|
86
86
|
type: :runtime
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
89
|
none: false
|
90
90
|
requirements:
|
91
|
-
- -
|
91
|
+
- - '='
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
93
|
+
version: 0.16.0
|
94
94
|
description: This project implements an Alf adapter on top of the awesome sequel toolkit.
|
95
95
|
email:
|
96
96
|
- blambeau at gmail.com
|
@@ -157,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
segments:
|
159
159
|
- 0
|
160
|
-
hash:
|
160
|
+
hash: 3002994660447087397
|
161
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
162
|
none: false
|
163
163
|
requirements:
|
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
version: '0'
|
167
167
|
segments:
|
168
168
|
- 0
|
169
|
-
hash:
|
169
|
+
hash: 3002994660447087397
|
170
170
|
requirements: []
|
171
171
|
rubyforge_project:
|
172
172
|
rubygems_version: 1.8.25
|