sequel-rails 1.2.0 → 1.2.1
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.
- checksums.yaml +4 -4
- data/History.md +12 -0
- data/README.md +9 -1
- data/lib/sequel_rails/railtie.rb +1 -1
- data/lib/sequel_rails/railties/log_subscriber.rb +3 -3
- data/lib/sequel_rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37ac0c145b51b35609a915883a48ecdb9ae674f19957d207afcc7b4cc2aae940
|
4
|
+
data.tar.gz: 7cd0b568d5dec00df8765f93ad4f3fbb78dd95bc011ac6c32c426af21817324d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e480c41227765090b3e7a3a658a423150f1396568eac643eafb515d7359f33541d88f2a30dd3fb59c5e43f0d3407bdcbacb06ff8dfa0cb79622dde4e602621c1
|
7
|
+
data.tar.gz: 9014c2201df4e0a829c3a86d7d81e50209a3b3b20a794ff78b86707b6698bac8e5635c4b9bb4eebc3876fcedc0da74187c333e4fe413511d86a7c371ddf0c0af
|
data/History.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
1.2.1 (2023-10-18)
|
2
|
+
==================
|
3
|
+
|
4
|
+
* Fix Rails 7.1 beta1 deprecation warning in log subscriber (@rwojnarowski)
|
5
|
+
[#196](https://github.com/TalentBox/sequel-rails/pull/196)
|
6
|
+
* Improve documentation about loading `Sequel` extensions (@elbouillon)
|
7
|
+
[#192](https://github.com/TalentBox/sequel-rails/pull/192)
|
8
|
+
* Fix `rails db:create`/`rails db:create:all` (@tycooon)
|
9
|
+
[#190](https://github.com/TalentBox/sequel-rails/pull/190)
|
10
|
+
* Update github pages (Stefan Vermaas)
|
11
|
+
[#189](https://github.com/TalentBox/sequel-rails/pull/189)
|
12
|
+
|
1
13
|
1.2.0 (2022-04-15)
|
2
14
|
==================
|
3
15
|
|
data/README.md
CHANGED
@@ -197,6 +197,8 @@ You can configure some options with the usual rails mechanism, in
|
|
197
197
|
# Configure what should happend after SequelRails will create new connection with Sequel (applicable only for the first new connection)
|
198
198
|
# config.sequel.after_connect = proc do
|
199
199
|
# Sequel::Model.plugin :timestamps, update_on_create: true
|
200
|
+
# Sequel::Model.db.extension :pg_array, :pg_hstore # database specific extension
|
201
|
+
# Sequel.extension :pg_hstore_ops # sequel specific extension
|
200
202
|
# end
|
201
203
|
|
202
204
|
# Configure what should happend after new connection in connection pool is created (applicable only for all connections)
|
@@ -278,6 +280,8 @@ There are 2 options how to set after_connect hooks in `config/application.rb`
|
|
278
280
|
```ruby
|
279
281
|
config.sequel.after_connect = proc do
|
280
282
|
Sequel::Model.plugin :timestamps, update_on_create: true
|
283
|
+
Sequel::Model.db.extension :pg_array, :pg_hstore # database specific extension
|
284
|
+
Sequel.extension :pg_hstore_ops # sequel specific extension
|
281
285
|
end
|
282
286
|
```
|
283
287
|
|
@@ -450,6 +454,10 @@ Improvements have been made by those awesome contributors:
|
|
450
454
|
* Adrián Mugnolo (@xymbol)
|
451
455
|
* Ivan (@AnotherRegularDude)
|
452
456
|
* kamilpavlicko (@kamilpavlicko)
|
457
|
+
* Stefan Vermaas (@stefanvermaas)
|
458
|
+
* Yuri Smirnov (@tycooon)
|
459
|
+
* Mickael Kurmann (@elbouillon)
|
460
|
+
* Radoslaw Wojnarowski (@rwojnarowski)
|
453
461
|
|
454
462
|
Credits
|
455
463
|
=======
|
@@ -459,4 +467,4 @@ The [dm-rails](http://github.com/datamapper/dm-rails) team wrote most of the ori
|
|
459
467
|
Copyright
|
460
468
|
=========
|
461
469
|
|
462
|
-
Copyright (c) 2010-2022 The sequel-rails team. See [LICENSE](http://github.com/
|
470
|
+
Copyright (c) 2010-2022 The sequel-rails team. See [LICENSE](http://github.com/TalentBox/sequel-rails/blob/master/LICENSE) for details.
|
data/lib/sequel_rails/railtie.rb
CHANGED
@@ -47,10 +47,10 @@ module SequelRails
|
|
47
47
|
end
|
48
48
|
|
49
49
|
if odd?
|
50
|
-
name = color(name, :cyan, true)
|
51
|
-
sql = color(sql, nil, true)
|
50
|
+
name = color(name, :cyan, :bold => true)
|
51
|
+
sql = color(sql, nil, :bold => true)
|
52
52
|
else
|
53
|
-
name = color(name, :magenta, true)
|
53
|
+
name = color(name, :magenta, :bold => true)
|
54
54
|
end
|
55
55
|
|
56
56
|
debug " #{name} #{sql}#{binds}"
|
data/lib/sequel_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brasten Sager (brasten)
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-10-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|
@@ -304,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
304
304
|
- !ruby/object:Gem::Version
|
305
305
|
version: 1.8.11
|
306
306
|
requirements: []
|
307
|
-
rubygems_version: 3.
|
307
|
+
rubygems_version: 3.4.10
|
308
308
|
signing_key:
|
309
309
|
specification_version: 4
|
310
310
|
summary: Use Sequel with Rails (3.x and 4.x)
|