alf-sequel 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +11 -11
- data/lib/alf/sequel/translator.rb +1 -0
- data/lib/alf/sequel/version.rb +1 -1
- metadata +25 -43
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 695748ef484c83e75d4960773bb13789d56c7aab
|
4
|
+
data.tar.gz: 95a9a5dded4e6c8d79f27fceb3858843545f50eb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3ec8f2e71987bc301c6643fe488ebce063752036e1f807fa4dbce0854cffc106141fc785fc9aa09b0a0f676e4aad7f6442b4c93dc39a7c4548550d588ee40b4f
|
7
|
+
data.tar.gz: f027ec3b9f946882e5094471fe908b8b77dbcb23bd947351ffc87b0fef9e95edb7114f99883b0b7ebb3b547f0a35a7d64608069a27cbf038213e12c16e04a640
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../alf-core
|
3
3
|
specs:
|
4
|
-
alf-core (0.16.
|
4
|
+
alf-core (0.16.1)
|
5
5
|
domain (~> 1.0)
|
6
6
|
myrrha (~> 3.0)
|
7
7
|
path (~> 1.3)
|
@@ -10,31 +10,31 @@ PATH
|
|
10
10
|
PATH
|
11
11
|
remote: ../alf-sql
|
12
12
|
specs:
|
13
|
-
alf-sql (0.16.
|
14
|
-
alf-core (= 0.16.
|
13
|
+
alf-sql (0.16.1)
|
14
|
+
alf-core (= 0.16.1)
|
15
15
|
sexpr (~> 0.6.0)
|
16
16
|
|
17
17
|
GEM
|
18
18
|
remote: http://rubygems.org/
|
19
19
|
specs:
|
20
|
-
diff-lcs (1.2.
|
20
|
+
diff-lcs (1.2.5)
|
21
21
|
domain (1.0.0)
|
22
22
|
myrrha (3.0.0)
|
23
23
|
domain (~> 1.0)
|
24
24
|
path (1.3.3)
|
25
|
-
pg (0.17.
|
26
|
-
rake (10.1
|
25
|
+
pg (0.17.1)
|
26
|
+
rake (10.3.1)
|
27
27
|
rspec (2.14.1)
|
28
28
|
rspec-core (~> 2.14.0)
|
29
29
|
rspec-expectations (~> 2.14.0)
|
30
30
|
rspec-mocks (~> 2.14.0)
|
31
|
-
rspec-core (2.14.
|
32
|
-
rspec-expectations (2.14.
|
31
|
+
rspec-core (2.14.8)
|
32
|
+
rspec-expectations (2.14.5)
|
33
33
|
diff-lcs (>= 1.1.3, < 2.0)
|
34
|
-
rspec-mocks (2.14.
|
35
|
-
sequel (4.
|
34
|
+
rspec-mocks (2.14.6)
|
35
|
+
sequel (4.9.0)
|
36
36
|
sexpr (0.6.0)
|
37
|
-
sqlite3 (1.3.
|
37
|
+
sqlite3 (1.3.9)
|
38
38
|
|
39
39
|
PLATFORMS
|
40
40
|
ruby
|
@@ -28,6 +28,7 @@ module Alf
|
|
28
28
|
|
29
29
|
def on_set_operator(sexpr)
|
30
30
|
left, right = apply(sexpr.left), apply(sexpr.right)
|
31
|
+
left = left.from_self if sexpr.left.set_operator?
|
31
32
|
left.send(sexpr.first, right, all: sexpr.all?, from_self: false)
|
32
33
|
end
|
33
34
|
alias :on_union :on_set_operator
|
data/lib/alf/sequel/version.rb
CHANGED
metadata
CHANGED
@@ -1,96 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alf-sequel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
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-
|
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: sequel
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - ~>
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '4.2'
|
54
48
|
type: :runtime
|
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: '4.2'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: alf-core
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - '='
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.16.
|
61
|
+
version: 0.16.1
|
70
62
|
type: :runtime
|
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
|
-
version: 0.16.
|
68
|
+
version: 0.16.1
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: alf-sql
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - '='
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.16.
|
75
|
+
version: 0.16.1
|
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
|
-
version: 0.16.
|
82
|
+
version: 0.16.1
|
94
83
|
description: This project implements an Alf adapter on top of the awesome sequel toolkit.
|
95
84
|
email:
|
96
85
|
- blambeau at gmail.com
|
@@ -101,27 +90,27 @@ files:
|
|
101
90
|
- CHANGELOG.md
|
102
91
|
- Gemfile
|
103
92
|
- Gemfile.lock
|
93
|
+
- LICENCE.md
|
94
|
+
- Manifest.txt
|
95
|
+
- README.md
|
96
|
+
- Rakefile
|
97
|
+
- lib/alf-sequel.rb
|
98
|
+
- lib/alf/sequel.rb
|
104
99
|
- lib/alf/sequel/adapter.rb
|
105
100
|
- lib/alf/sequel/cog.rb
|
106
101
|
- lib/alf/sequel/compiler.rb
|
102
|
+
- lib/alf/sequel/connection.rb
|
107
103
|
- lib/alf/sequel/connection/connection_methods.rb
|
108
104
|
- lib/alf/sequel/connection/schema_methods.rb
|
109
105
|
- lib/alf/sequel/connection/update_methods.rb
|
110
|
-
- lib/alf/sequel/connection.rb
|
111
106
|
- lib/alf/sequel/loader.rb
|
112
107
|
- lib/alf/sequel/translator.rb
|
108
|
+
- lib/alf/sequel/unit_of_work.rb
|
113
109
|
- lib/alf/sequel/unit_of_work/atomic.rb
|
114
110
|
- lib/alf/sequel/unit_of_work/delete.rb
|
115
111
|
- lib/alf/sequel/unit_of_work/insert.rb
|
116
112
|
- lib/alf/sequel/unit_of_work/update.rb
|
117
|
-
- lib/alf/sequel/unit_of_work.rb
|
118
113
|
- lib/alf/sequel/version.rb
|
119
|
-
- lib/alf/sequel.rb
|
120
|
-
- lib/alf-sequel.rb
|
121
|
-
- LICENCE.md
|
122
|
-
- Manifest.txt
|
123
|
-
- Rakefile
|
124
|
-
- README.md
|
125
114
|
- spec/adapter/test_recognize.rb
|
126
115
|
- spec/connection/test_connection_uri.rb
|
127
116
|
- spec/connection/test_delete.rb
|
@@ -145,32 +134,25 @@ files:
|
|
145
134
|
- tasks/test.rake
|
146
135
|
homepage: http://github.com/blambeau/alf-sequel
|
147
136
|
licenses: []
|
137
|
+
metadata: {}
|
148
138
|
post_install_message:
|
149
139
|
rdoc_options: []
|
150
140
|
require_paths:
|
151
141
|
- lib
|
152
142
|
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
143
|
requirements:
|
155
|
-
- -
|
144
|
+
- - ">="
|
156
145
|
- !ruby/object:Gem::Version
|
157
146
|
version: '0'
|
158
|
-
segments:
|
159
|
-
- 0
|
160
|
-
hash: 3002994660447087397
|
161
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
148
|
requirements:
|
164
|
-
- -
|
149
|
+
- - ">="
|
165
150
|
- !ruby/object:Gem::Version
|
166
151
|
version: '0'
|
167
|
-
segments:
|
168
|
-
- 0
|
169
|
-
hash: 3002994660447087397
|
170
152
|
requirements: []
|
171
153
|
rubyforge_project:
|
172
|
-
rubygems_version:
|
154
|
+
rubygems_version: 2.2.2
|
173
155
|
signing_key:
|
174
|
-
specification_version:
|
156
|
+
specification_version: 4
|
175
157
|
summary: A sequel adapter for alf
|
176
158
|
test_files: []
|