sequel 3.7.0 → 3.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +50 -0
- data/doc/advanced_associations.rdoc +4 -3
- data/doc/release_notes/3.7.0.txt +2 -2
- data/doc/release_notes/3.8.0.txt +151 -0
- data/lib/sequel/adapters/jdbc.rb +10 -2
- data/lib/sequel/adapters/jdbc/h2.rb +14 -0
- data/lib/sequel/adapters/mysql.rb +36 -26
- data/lib/sequel/adapters/postgres.rb +27 -19
- data/lib/sequel/adapters/shared/mssql.rb +12 -4
- data/lib/sequel/adapters/shared/mysql.rb +16 -0
- data/lib/sequel/connection_pool.rb +178 -57
- data/lib/sequel/database.rb +60 -12
- data/lib/sequel/database/schema_generator.rb +1 -2
- data/lib/sequel/dataset.rb +10 -1
- data/lib/sequel/dataset/actions.rb +4 -8
- data/lib/sequel/dataset/convenience.rb +9 -2
- data/lib/sequel/dataset/query.rb +2 -5
- data/lib/sequel/dataset/sql.rb +0 -1
- data/lib/sequel/exceptions.rb +3 -3
- data/lib/sequel/metaprogramming.rb +4 -18
- data/lib/sequel/model/associations.rb +2 -2
- data/lib/sequel/model/base.rb +15 -18
- data/lib/sequel/model/default_inflections.rb +0 -1
- data/lib/sequel/model/plugins.rb +3 -2
- data/lib/sequel/plugins/boolean_readers.rb +3 -2
- data/lib/sequel/plugins/identity_map.rb +9 -0
- data/lib/sequel/plugins/validation_helpers.rb +8 -1
- data/lib/sequel/sql.rb +21 -11
- data/lib/sequel/version.rb +1 -1
- data/spec/adapters/mssql_spec.rb +7 -1
- data/spec/adapters/mysql_spec.rb +22 -0
- data/spec/core/connection_pool_spec.rb +211 -3
- data/spec/core/core_sql_spec.rb +7 -0
- data/spec/core/database_spec.rb +159 -7
- data/spec/core/dataset_spec.rb +33 -0
- data/spec/core/spec_helper.rb +1 -0
- data/spec/extensions/boolean_readers_spec.rb +6 -0
- data/spec/extensions/identity_map_spec.rb +29 -1
- data/spec/extensions/inflector_spec.rb +0 -1
- data/spec/extensions/validation_helpers_spec.rb +23 -0
- data/spec/integration/type_test.rb +1 -1
- metadata +131 -129
data/spec/core/dataset_spec.rb
CHANGED
@@ -1534,19 +1534,28 @@ context "Dataset#from_self" do
|
|
1534
1534
|
before do
|
1535
1535
|
@ds = Sequel::Dataset.new(nil).from(:test).select(:name).limit(1)
|
1536
1536
|
end
|
1537
|
+
|
1537
1538
|
specify "should set up a default alias" do
|
1538
1539
|
@ds.from_self.sql.should == 'SELECT * FROM (SELECT name FROM test LIMIT 1) AS t1'
|
1539
1540
|
end
|
1541
|
+
|
1540
1542
|
specify "should modify only the new dataset" do
|
1541
1543
|
@ds.from_self.select(:bogus).sql.should == 'SELECT bogus FROM (SELECT name FROM test LIMIT 1) AS t1'
|
1542
1544
|
end
|
1545
|
+
|
1543
1546
|
specify "should use the user-specified alias" do
|
1544
1547
|
@ds.from_self(:alias=>:some_name).sql.should == 'SELECT * FROM (SELECT name FROM test LIMIT 1) AS some_name'
|
1545
1548
|
end
|
1549
|
+
|
1546
1550
|
specify "should use the user-specified alias for joins" do
|
1547
1551
|
@ds.from_self(:alias=>:some_name).inner_join(:posts, :alias=>:name).sql.should == \
|
1548
1552
|
'SELECT * FROM (SELECT name FROM test LIMIT 1) AS some_name INNER JOIN posts ON (posts.alias = some_name.name)'
|
1549
1553
|
end
|
1554
|
+
|
1555
|
+
specify "should not options such as server" do
|
1556
|
+
@ds.server(:blah).from_self(:alias=>:some_name).opts[:server].should == :blah
|
1557
|
+
end
|
1558
|
+
|
1550
1559
|
end
|
1551
1560
|
|
1552
1561
|
context "Dataset#join_table" do
|
@@ -3060,6 +3069,30 @@ context "Sequel::Dataset#server" do
|
|
3060
3069
|
end
|
3061
3070
|
end
|
3062
3071
|
|
3072
|
+
context "Sequel::Dataset#each_server" do
|
3073
|
+
before do
|
3074
|
+
@db = Sequel::Database.new(:servers=>{:s=>{}, :i=>{}})
|
3075
|
+
@ds = @db[:items]
|
3076
|
+
sqls = @sqls = []
|
3077
|
+
@db.meta_def(:execute) do |sql, opts|
|
3078
|
+
sqls << [sql, opts[:server]]
|
3079
|
+
end
|
3080
|
+
def @ds.fetch_rows(sql, &block)
|
3081
|
+
execute(sql)
|
3082
|
+
end
|
3083
|
+
end
|
3084
|
+
|
3085
|
+
specify "should yield a dataset for each server" do
|
3086
|
+
@ds.each_server do |ds|
|
3087
|
+
ds.should be_a_kind_of(Sequel::Dataset)
|
3088
|
+
ds.should_not == @ds
|
3089
|
+
ds.sql.should == @ds.sql
|
3090
|
+
ds.all
|
3091
|
+
end
|
3092
|
+
@sqls.sort_by{|sql, s| s.to_s}.should == [['SELECT * FROM items', :default], ['SELECT * FROM items', :i], ['SELECT * FROM items', :s]]
|
3093
|
+
end
|
3094
|
+
end
|
3095
|
+
|
3063
3096
|
context "Sequel::Dataset #set_defaults" do
|
3064
3097
|
before do
|
3065
3098
|
@ds = Sequel::Dataset.new(nil).from(:items).set_defaults(:x=>1)
|
data/spec/core/spec_helper.rb
CHANGED
@@ -83,4 +83,10 @@ describe Sequel::Model, "BooleanReaders plugin" do
|
|
83
83
|
o.y?.should == nil
|
84
84
|
proc{o.b?}.should raise_error(NoMethodError)
|
85
85
|
end
|
86
|
+
|
87
|
+
specify "should handle cases where getting the columns raises an error" do
|
88
|
+
@c.meta_def(:columns){raise Sequel::Error}
|
89
|
+
proc{@c.plugin(:boolean_readers)}.should_not raise_error
|
90
|
+
proc{@c.new.b?}.should raise_error(NoMethodError)
|
91
|
+
end
|
86
92
|
end
|
@@ -4,6 +4,7 @@ describe "Sequel::Plugins::IdentityMap" do
|
|
4
4
|
before do
|
5
5
|
class ::IdentityMapModel < Sequel::Model
|
6
6
|
plugin :identity_map
|
7
|
+
attr_accessor :foo
|
7
8
|
columns :id
|
8
9
|
ds = dataset
|
9
10
|
def ds.fetch_rows(sql)
|
@@ -103,10 +104,37 @@ describe "Sequel::Plugins::IdentityMap" do
|
|
103
104
|
MODEL_DB.sqls.length.should == 0
|
104
105
|
o = @c[1]
|
105
106
|
MODEL_DB.sqls.length.should == 1
|
107
|
+
o.foo = 1
|
108
|
+
@c[1].foo.should == o.foo
|
109
|
+
MODEL_DB.sqls.length.should == 1
|
110
|
+
@c[2].foo.should_not == o.foo
|
111
|
+
MODEL_DB.sqls.length.should == 2
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
it "should remove instances from the identity map if they are deleted or destroyed" do
|
116
|
+
@c.with_identity_map do
|
117
|
+
MODEL_DB.sqls.length.should == 0
|
118
|
+
o = @c[1]
|
119
|
+
MODEL_DB.sqls.length.should == 1
|
120
|
+
o.foo = 1
|
106
121
|
@c[1].should == o
|
107
122
|
MODEL_DB.sqls.length.should == 1
|
108
|
-
|
123
|
+
o.destroy
|
124
|
+
MODEL_DB.sqls.length.should == 2
|
125
|
+
@c[1].foo.should_not == o.foo
|
126
|
+
MODEL_DB.sqls.length.should == 3
|
127
|
+
|
128
|
+
MODEL_DB.reset
|
129
|
+
o = @c[2]
|
130
|
+
MODEL_DB.sqls.length.should == 1
|
131
|
+
o.foo = 1
|
132
|
+
@c[2].should == o
|
133
|
+
MODEL_DB.sqls.length.should == 1
|
134
|
+
o.delete
|
109
135
|
MODEL_DB.sqls.length.should == 2
|
136
|
+
@c[2].foo.should_not == o.foo
|
137
|
+
MODEL_DB.sqls.length.should == 3
|
110
138
|
end
|
111
139
|
end
|
112
140
|
|
@@ -258,6 +258,29 @@ describe "Sequel::Plugins::ValidationHelpers" do
|
|
258
258
|
@m.should be_valid
|
259
259
|
@m.value = '.0123'
|
260
260
|
end
|
261
|
+
|
262
|
+
specify "should support validates_type" do
|
263
|
+
@c.set_validations{validates_type(Integer, :value)}
|
264
|
+
@m.value = 123
|
265
|
+
@m.should be_valid
|
266
|
+
@m.value = '123'
|
267
|
+
@m.should_not be_valid
|
268
|
+
@m.errors.full_messages.should == ['value is not a Integer']
|
269
|
+
|
270
|
+
@c.set_validations{validates_type(:String, :value)}
|
271
|
+
@m.value = '123'
|
272
|
+
@m.should be_valid
|
273
|
+
@m.value = 123
|
274
|
+
@m.should_not be_valid
|
275
|
+
@m.errors.full_messages.should == ['value is not a String']
|
276
|
+
|
277
|
+
@c.set_validations{validates_type('Integer', :value)}
|
278
|
+
@m.value = 123
|
279
|
+
@m.should be_valid
|
280
|
+
@m.value = 123.05
|
281
|
+
@m.should_not be_valid
|
282
|
+
@m.errors.full_messages.should == ['value is not a Integer']
|
283
|
+
end
|
261
284
|
|
262
285
|
specify "should support validates_presence" do
|
263
286
|
@c.set_validations{validates_presence(:value)}
|
@@ -78,7 +78,7 @@ describe "Supported types" do
|
|
78
78
|
ds.first[:tim].strftime('%Y%m%d%H%M%S').should == t.strftime('%Y%m%d%H%M%S')
|
79
79
|
end
|
80
80
|
|
81
|
-
cspecify "should support generic file type", [:do],
|
81
|
+
cspecify "should support generic file type", [:do], [:odbc, :mssql] do
|
82
82
|
ds = create_items_table_with_column(:name, File)
|
83
83
|
ds.insert(:name => ("a\0"*300).to_sequel_blob)
|
84
84
|
ds.all.should == [{:name=>("a\0"*300).to_sequel_blob}]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Evans
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-04 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -23,7 +23,6 @@ extra_rdoc_files:
|
|
23
23
|
- README.rdoc
|
24
24
|
- CHANGELOG
|
25
25
|
- COPYING
|
26
|
-
- doc/advanced_associations.rdoc
|
27
26
|
- doc/cheat_sheet.rdoc
|
28
27
|
- doc/dataset_filtering.rdoc
|
29
28
|
- doc/opening_databases.rdoc
|
@@ -31,8 +30,9 @@ extra_rdoc_files:
|
|
31
30
|
- doc/reflection.rdoc
|
32
31
|
- doc/schema.rdoc
|
33
32
|
- doc/sharding.rdoc
|
33
|
+
- doc/advanced_associations.rdoc
|
34
34
|
- doc/virtual_rows.rdoc
|
35
|
-
- doc/release_notes/
|
35
|
+
- doc/release_notes/3.8.0.txt
|
36
36
|
- doc/release_notes/1.1.txt
|
37
37
|
- doc/release_notes/1.3.txt
|
38
38
|
- doc/release_notes/1.4.0.txt
|
@@ -56,6 +56,7 @@ extra_rdoc_files:
|
|
56
56
|
- doc/release_notes/3.3.0.txt
|
57
57
|
- doc/release_notes/3.4.0.txt
|
58
58
|
- doc/release_notes/3.5.0.txt
|
59
|
+
- doc/release_notes/1.0.txt
|
59
60
|
- doc/release_notes/3.6.0.txt
|
60
61
|
- doc/release_notes/3.7.0.txt
|
61
62
|
files:
|
@@ -64,13 +65,7 @@ files:
|
|
64
65
|
- README.rdoc
|
65
66
|
- Rakefile
|
66
67
|
- bin/sequel
|
67
|
-
- doc/
|
68
|
-
- doc/cheat_sheet.rdoc
|
69
|
-
- doc/dataset_filtering.rdoc
|
70
|
-
- doc/opening_databases.rdoc
|
71
|
-
- doc/prepared_statements.rdoc
|
72
|
-
- doc/reflection.rdoc
|
73
|
-
- doc/release_notes/1.0.txt
|
68
|
+
- doc/release_notes/3.8.0.txt
|
74
69
|
- doc/release_notes/1.1.txt
|
75
70
|
- doc/release_notes/1.3.txt
|
76
71
|
- doc/release_notes/1.4.0.txt
|
@@ -94,20 +89,31 @@ files:
|
|
94
89
|
- doc/release_notes/3.3.0.txt
|
95
90
|
- doc/release_notes/3.4.0.txt
|
96
91
|
- doc/release_notes/3.5.0.txt
|
92
|
+
- doc/release_notes/1.0.txt
|
97
93
|
- doc/release_notes/3.6.0.txt
|
98
94
|
- doc/release_notes/3.7.0.txt
|
95
|
+
- doc/cheat_sheet.rdoc
|
96
|
+
- doc/dataset_filtering.rdoc
|
97
|
+
- doc/opening_databases.rdoc
|
98
|
+
- doc/prepared_statements.rdoc
|
99
|
+
- doc/reflection.rdoc
|
99
100
|
- doc/schema.rdoc
|
100
101
|
- doc/sharding.rdoc
|
102
|
+
- doc/advanced_associations.rdoc
|
101
103
|
- doc/virtual_rows.rdoc
|
102
|
-
- spec/
|
103
|
-
- spec/
|
104
|
-
- spec/
|
105
|
-
- spec/
|
106
|
-
- spec/
|
107
|
-
- spec/
|
108
|
-
- spec/
|
109
|
-
- spec/
|
110
|
-
- spec/
|
104
|
+
- spec/model/validations_spec.rb
|
105
|
+
- spec/model/associations_spec.rb
|
106
|
+
- spec/model/base_spec.rb
|
107
|
+
- spec/model/dataset_methods_spec.rb
|
108
|
+
- spec/model/eager_loading_spec.rb
|
109
|
+
- spec/model/hooks_spec.rb
|
110
|
+
- spec/model/inflector_spec.rb
|
111
|
+
- spec/model/model_spec.rb
|
112
|
+
- spec/model/plugins_spec.rb
|
113
|
+
- spec/model/record_spec.rb
|
114
|
+
- spec/model/spec_helper.rb
|
115
|
+
- spec/model/association_reflection_spec.rb
|
116
|
+
- spec/core/version_spec.rb
|
111
117
|
- spec/core/core_sql_spec.rb
|
112
118
|
- spec/core/database_spec.rb
|
113
119
|
- spec/core/dataset_spec.rb
|
@@ -116,166 +122,162 @@ files:
|
|
116
122
|
- spec/core/schema_generator_spec.rb
|
117
123
|
- spec/core/schema_spec.rb
|
118
124
|
- spec/core/spec_helper.rb
|
119
|
-
- spec/core/
|
125
|
+
- spec/core/connection_pool_spec.rb
|
126
|
+
- spec/extensions/validation_helpers_spec.rb
|
127
|
+
- spec/extensions/association_dependencies_spec.rb
|
128
|
+
- spec/extensions/association_proxies_spec.rb
|
120
129
|
- spec/extensions/blank_spec.rb
|
130
|
+
- spec/extensions/boolean_readers_spec.rb
|
121
131
|
- spec/extensions/caching_spec.rb
|
132
|
+
- spec/extensions/class_table_inheritance_spec.rb
|
133
|
+
- spec/extensions/force_encoding_spec.rb
|
122
134
|
- spec/extensions/hook_class_methods_spec.rb
|
123
135
|
- spec/extensions/identity_map_spec.rb
|
124
136
|
- spec/extensions/inflector_spec.rb
|
137
|
+
- spec/extensions/instance_hooks_spec.rb
|
125
138
|
- spec/extensions/lazy_attributes_spec.rb
|
126
|
-
- spec/extensions/
|
139
|
+
- spec/extensions/looser_typecasting_spec.rb
|
140
|
+
- spec/extensions/query_spec.rb
|
127
141
|
- spec/extensions/migration_spec.rb
|
142
|
+
- spec/extensions/many_through_many_spec.rb
|
143
|
+
- spec/extensions/named_timezones_spec.rb
|
144
|
+
- spec/extensions/nested_attributes_spec.rb
|
128
145
|
- spec/extensions/pagination_spec.rb
|
129
146
|
- spec/extensions/pretty_table_spec.rb
|
130
|
-
- spec/extensions/query_spec.rb
|
131
147
|
- spec/extensions/schema_dumper_spec.rb
|
132
148
|
- spec/extensions/schema_spec.rb
|
133
149
|
- spec/extensions/serialization_spec.rb
|
134
150
|
- spec/extensions/single_table_inheritance_spec.rb
|
135
151
|
- spec/extensions/spec_helper.rb
|
152
|
+
- spec/extensions/sql_expr_spec.rb
|
136
153
|
- spec/extensions/string_date_time_spec.rb
|
154
|
+
- spec/extensions/subclasses_spec.rb
|
137
155
|
- spec/extensions/tactical_eager_loading_spec.rb
|
138
|
-
- spec/extensions/validation_class_methods_spec.rb
|
139
|
-
- spec/extensions/validation_helpers_spec.rb
|
140
|
-
- spec/extensions/association_proxies_spec.rb
|
141
156
|
- spec/extensions/timestamps_spec.rb
|
142
|
-
- spec/extensions/
|
143
|
-
- spec/extensions/
|
144
|
-
- spec/extensions/nested_attributes_spec.rb
|
145
|
-
- spec/extensions/looser_typecasting_spec.rb
|
157
|
+
- spec/extensions/thread_local_timezones_spec.rb
|
158
|
+
- spec/extensions/touch_spec.rb
|
146
159
|
- spec/extensions/typecast_on_load_spec.rb
|
147
|
-
- spec/extensions/
|
160
|
+
- spec/extensions/validation_class_methods_spec.rb
|
148
161
|
- spec/extensions/active_model_spec.rb
|
149
|
-
- spec/
|
150
|
-
- spec/extensions/sql_expr_spec.rb
|
151
|
-
- spec/extensions/touch_spec.rb
|
152
|
-
- spec/extensions/named_timezones_spec.rb
|
153
|
-
- spec/extensions/thread_local_timezones_spec.rb
|
154
|
-
- spec/extensions/force_encoding_spec.rb
|
155
|
-
- spec/extensions/class_table_inheritance_spec.rb
|
162
|
+
- spec/integration/type_test.rb
|
156
163
|
- spec/integration/database_test.rb
|
157
164
|
- spec/integration/dataset_test.rb
|
158
165
|
- spec/integration/eager_loader_test.rb
|
166
|
+
- spec/integration/model_test.rb
|
167
|
+
- spec/integration/plugin_test.rb
|
159
168
|
- spec/integration/prepared_statement_test.rb
|
160
169
|
- spec/integration/schema_test.rb
|
161
170
|
- spec/integration/spec_helper.rb
|
162
|
-
- spec/integration/transaction_test.rb
|
163
|
-
- spec/integration/type_test.rb
|
164
171
|
- spec/integration/timezone_test.rb
|
165
|
-
- spec/integration/
|
172
|
+
- spec/integration/transaction_test.rb
|
166
173
|
- spec/integration/associations_test.rb
|
167
|
-
- spec/
|
168
|
-
- spec/
|
169
|
-
- spec/
|
170
|
-
- spec/
|
171
|
-
- spec/
|
172
|
-
- spec/
|
173
|
-
- spec/
|
174
|
-
- spec/
|
175
|
-
- spec/model/model_spec.rb
|
176
|
-
- spec/model/plugins_spec.rb
|
177
|
-
- spec/model/record_spec.rb
|
178
|
-
- spec/model/spec_helper.rb
|
179
|
-
- spec/model/validations_spec.rb
|
174
|
+
- spec/adapters/sqlite_spec.rb
|
175
|
+
- spec/adapters/informix_spec.rb
|
176
|
+
- spec/adapters/mssql_spec.rb
|
177
|
+
- spec/adapters/mysql_spec.rb
|
178
|
+
- spec/adapters/oracle_spec.rb
|
179
|
+
- spec/adapters/postgres_spec.rb
|
180
|
+
- spec/adapters/spec_helper.rb
|
181
|
+
- spec/adapters/firebird_spec.rb
|
180
182
|
- spec/rcov.opts
|
181
|
-
- spec/spec_config.rb
|
182
183
|
- spec/spec_config.rb.example
|
183
|
-
-
|
184
|
-
- lib/sequel/adapters/ado.rb
|
185
|
-
- lib/sequel/adapters/amalgalite.rb
|
186
|
-
- lib/sequel/adapters/db2.rb
|
187
|
-
- lib/sequel/adapters/dbi.rb
|
188
|
-
- lib/sequel/adapters/do.rb
|
189
|
-
- lib/sequel/adapters/do/mysql.rb
|
190
|
-
- lib/sequel/adapters/do/postgres.rb
|
191
|
-
- lib/sequel/adapters/do/sqlite.rb
|
192
|
-
- lib/sequel/adapters/firebird.rb
|
193
|
-
- lib/sequel/adapters/informix.rb
|
194
|
-
- lib/sequel/adapters/jdbc.rb
|
195
|
-
- lib/sequel/adapters/jdbc/h2.rb
|
196
|
-
- lib/sequel/adapters/jdbc/mysql.rb
|
197
|
-
- lib/sequel/adapters/jdbc/oracle.rb
|
198
|
-
- lib/sequel/adapters/jdbc/postgresql.rb
|
199
|
-
- lib/sequel/adapters/jdbc/sqlite.rb
|
200
|
-
- lib/sequel/adapters/jdbc/mssql.rb
|
201
|
-
- lib/sequel/adapters/mysql.rb
|
202
|
-
- lib/sequel/adapters/odbc.rb
|
203
|
-
- lib/sequel/adapters/openbase.rb
|
204
|
-
- lib/sequel/adapters/oracle.rb
|
205
|
-
- lib/sequel/adapters/postgres.rb
|
206
|
-
- lib/sequel/adapters/shared/mssql.rb
|
207
|
-
- lib/sequel/adapters/shared/mysql.rb
|
208
|
-
- lib/sequel/adapters/shared/oracle.rb
|
209
|
-
- lib/sequel/adapters/shared/postgres.rb
|
210
|
-
- lib/sequel/adapters/shared/progress.rb
|
211
|
-
- lib/sequel/adapters/shared/sqlite.rb
|
212
|
-
- lib/sequel/adapters/sqlite.rb
|
213
|
-
- lib/sequel/adapters/utils/stored_procedures.rb
|
214
|
-
- lib/sequel/adapters/ado/mssql.rb
|
215
|
-
- lib/sequel/adapters/odbc/mssql.rb
|
216
|
-
- lib/sequel/connection_pool.rb
|
217
|
-
- lib/sequel/core.rb
|
218
|
-
- lib/sequel/core_sql.rb
|
219
|
-
- lib/sequel/database.rb
|
184
|
+
- spec/spec_config.rb
|
220
185
|
- lib/sequel/database/schema_generator.rb
|
221
186
|
- lib/sequel/database/schema_methods.rb
|
222
187
|
- lib/sequel/database/schema_sql.rb
|
223
|
-
- lib/sequel/dataset.rb
|
224
|
-
- lib/sequel/dataset/convenience.rb
|
225
|
-
- lib/sequel/dataset/graph.rb
|
226
|
-
- lib/sequel/dataset/prepared_statements.rb
|
227
|
-
- lib/sequel/dataset/sql.rb
|
228
|
-
- lib/sequel/dataset/actions.rb
|
229
|
-
- lib/sequel/dataset/features.rb
|
230
|
-
- lib/sequel/dataset/query.rb
|
231
|
-
- lib/sequel/exceptions.rb
|
232
|
-
- lib/sequel/extensions/blank.rb
|
233
|
-
- lib/sequel/extensions/inflector.rb
|
234
|
-
- lib/sequel/extensions/migration.rb
|
235
|
-
- lib/sequel/extensions/pagination.rb
|
236
|
-
- lib/sequel/extensions/pretty_table.rb
|
237
|
-
- lib/sequel/extensions/query.rb
|
238
|
-
- lib/sequel/extensions/schema_dumper.rb
|
239
|
-
- lib/sequel/extensions/string_date_time.rb
|
240
|
-
- lib/sequel/extensions/looser_typecasting.rb
|
241
|
-
- lib/sequel/extensions/sql_expr.rb
|
242
|
-
- lib/sequel/extensions/named_timezones.rb
|
243
|
-
- lib/sequel/extensions/thread_local_timezones.rb
|
244
|
-
- lib/sequel/metaprogramming.rb
|
245
|
-
- lib/sequel/model.rb
|
246
|
-
- lib/sequel/model/associations.rb
|
247
|
-
- lib/sequel/model/base.rb
|
248
188
|
- lib/sequel/model/errors.rb
|
189
|
+
- lib/sequel/model/base.rb
|
190
|
+
- lib/sequel/model/default_inflections.rb
|
191
|
+
- lib/sequel/model/associations.rb
|
249
192
|
- lib/sequel/model/exceptions.rb
|
250
193
|
- lib/sequel/model/inflections.rb
|
251
194
|
- lib/sequel/model/plugins.rb
|
252
|
-
- lib/sequel/
|
195
|
+
- lib/sequel/plugins/validation_helpers.rb
|
196
|
+
- lib/sequel/plugins/association_dependencies.rb
|
197
|
+
- lib/sequel/plugins/association_proxies.rb
|
198
|
+
- lib/sequel/plugins/boolean_readers.rb
|
253
199
|
- lib/sequel/plugins/caching.rb
|
200
|
+
- lib/sequel/plugins/class_table_inheritance.rb
|
201
|
+
- lib/sequel/plugins/force_encoding.rb
|
254
202
|
- lib/sequel/plugins/hook_class_methods.rb
|
255
203
|
- lib/sequel/plugins/identity_map.rb
|
204
|
+
- lib/sequel/plugins/instance_hooks.rb
|
256
205
|
- lib/sequel/plugins/lazy_attributes.rb
|
257
206
|
- lib/sequel/plugins/many_through_many.rb
|
207
|
+
- lib/sequel/plugins/nested_attributes.rb
|
258
208
|
- lib/sequel/plugins/schema.rb
|
259
209
|
- lib/sequel/plugins/serialization.rb
|
260
210
|
- lib/sequel/plugins/single_table_inheritance.rb
|
211
|
+
- lib/sequel/plugins/subclasses.rb
|
261
212
|
- lib/sequel/plugins/tactical_eager_loading.rb
|
262
|
-
- lib/sequel/plugins/validation_class_methods.rb
|
263
|
-
- lib/sequel/plugins/validation_helpers.rb
|
264
|
-
- lib/sequel/plugins/association_proxies.rb
|
265
213
|
- lib/sequel/plugins/timestamps.rb
|
266
|
-
- lib/sequel/plugins/boolean_readers.rb
|
267
|
-
- lib/sequel/plugins/instance_hooks.rb
|
268
|
-
- lib/sequel/plugins/nested_attributes.rb
|
269
214
|
- lib/sequel/plugins/touch.rb
|
270
215
|
- lib/sequel/plugins/typecast_on_load.rb
|
271
|
-
- lib/sequel/plugins/
|
216
|
+
- lib/sequel/plugins/validation_class_methods.rb
|
272
217
|
- lib/sequel/plugins/active_model.rb
|
273
|
-
- lib/sequel/
|
274
|
-
- lib/sequel/
|
275
|
-
- lib/sequel/
|
218
|
+
- lib/sequel/extensions/thread_local_timezones.rb
|
219
|
+
- lib/sequel/extensions/inflector.rb
|
220
|
+
- lib/sequel/extensions/looser_typecasting.rb
|
221
|
+
- lib/sequel/extensions/migration.rb
|
222
|
+
- lib/sequel/extensions/named_timezones.rb
|
223
|
+
- lib/sequel/extensions/pagination.rb
|
224
|
+
- lib/sequel/extensions/pretty_table.rb
|
225
|
+
- lib/sequel/extensions/query.rb
|
226
|
+
- lib/sequel/extensions/schema_dumper.rb
|
227
|
+
- lib/sequel/extensions/sql_expr.rb
|
228
|
+
- lib/sequel/extensions/string_date_time.rb
|
229
|
+
- lib/sequel/extensions/blank.rb
|
230
|
+
- lib/sequel/dataset/graph.rb
|
231
|
+
- lib/sequel/dataset/convenience.rb
|
232
|
+
- lib/sequel/dataset/features.rb
|
233
|
+
- lib/sequel/dataset/actions.rb
|
234
|
+
- lib/sequel/dataset/prepared_statements.rb
|
235
|
+
- lib/sequel/dataset/query.rb
|
236
|
+
- lib/sequel/dataset/sql.rb
|
237
|
+
- lib/sequel/adapters/do/mysql.rb
|
238
|
+
- lib/sequel/adapters/do/postgres.rb
|
239
|
+
- lib/sequel/adapters/do/sqlite.rb
|
240
|
+
- lib/sequel/adapters/ado/mssql.rb
|
241
|
+
- lib/sequel/adapters/shared/mssql.rb
|
242
|
+
- lib/sequel/adapters/shared/mysql.rb
|
243
|
+
- lib/sequel/adapters/shared/oracle.rb
|
244
|
+
- lib/sequel/adapters/shared/postgres.rb
|
245
|
+
- lib/sequel/adapters/shared/progress.rb
|
246
|
+
- lib/sequel/adapters/shared/sqlite.rb
|
247
|
+
- lib/sequel/adapters/odbc/mssql.rb
|
248
|
+
- lib/sequel/adapters/jdbc/h2.rb
|
249
|
+
- lib/sequel/adapters/jdbc/mssql.rb
|
250
|
+
- lib/sequel/adapters/jdbc/mysql.rb
|
251
|
+
- lib/sequel/adapters/jdbc/oracle.rb
|
252
|
+
- lib/sequel/adapters/jdbc/postgresql.rb
|
253
|
+
- lib/sequel/adapters/jdbc/sqlite.rb
|
254
|
+
- lib/sequel/adapters/utils/stored_procedures.rb
|
255
|
+
- lib/sequel/adapters/ado.rb
|
256
|
+
- lib/sequel/adapters/firebird.rb
|
257
|
+
- lib/sequel/adapters/informix.rb
|
258
|
+
- lib/sequel/adapters/jdbc.rb
|
259
|
+
- lib/sequel/adapters/dbi.rb
|
260
|
+
- lib/sequel/adapters/mysql.rb
|
261
|
+
- lib/sequel/adapters/odbc.rb
|
262
|
+
- lib/sequel/adapters/db2.rb
|
263
|
+
- lib/sequel/adapters/openbase.rb
|
264
|
+
- lib/sequel/adapters/oracle.rb
|
265
|
+
- lib/sequel/adapters/postgres.rb
|
266
|
+
- lib/sequel/adapters/amalgalite.rb
|
267
|
+
- lib/sequel/adapters/sqlite.rb
|
268
|
+
- lib/sequel/adapters/do.rb
|
269
|
+
- lib/sequel/exceptions.rb
|
270
|
+
- lib/sequel/metaprogramming.rb
|
271
|
+
- lib/sequel/model.rb
|
276
272
|
- lib/sequel/sql.rb
|
277
|
-
- lib/sequel/version.rb
|
278
273
|
- lib/sequel/timezones.rb
|
274
|
+
- lib/sequel/version.rb
|
275
|
+
- lib/sequel/connection_pool.rb
|
276
|
+
- lib/sequel/core.rb
|
277
|
+
- lib/sequel/core_sql.rb
|
278
|
+
- lib/sequel/database.rb
|
279
|
+
- lib/sequel/dataset.rb
|
280
|
+
- lib/sequel.rb
|
279
281
|
- lib/sequel_core.rb
|
280
282
|
- lib/sequel_model.rb
|
281
283
|
has_rdoc: true
|