Skip to content

Commit e1f1fc5

Browse files
committed
v1.3.1
1 parent 5343afa commit e1f1fc5

9 files changed

+20
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22

33
## 1.3.x
44

5+
### 1.3.1
6+
7+
- support custom adapters ([#135](https://github.com/jenseng/hair_trigger/pull/135)
8+
9+
## 1.3.x
10+
511
### 1.3.0
612

713
- support rails 8 ([#131](https://github.com/jenseng/hair_trigger/pull/131), [#133](https://github.com/jenseng/hair_trigger/pull/133))
814

9-
1015
## 1.2.x
1116

1217
### 1.2.0

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,13 @@ ignore. Note that this behavior [may change](https://github.com/jenseng/hair_tri
338338
in a future release, meaning you'll first need to explicitly drop the
339339
existing trigger if you wish to redefine it.
340340

341+
## Custom adapters
342+
343+
Out of the box, HairTrigger supports the standard adapters for PostgreSQL, MySQL, and SQLite, plus several common variations (`postgis`, `mysql2rgeo`, `trilogy`, and `litedb`). If you would like to use HairTrigger with another compatible variation, you can dynamically add it to `HairTrigger.hair_trigger_configuration`, for example:
344+
```ruby
345+
HairTrigger.hair_trigger_configuration.postgresql_adapters << :postgresql_proxy
346+
```
347+
341348
## Gotchas
342349

343350
* As is the case with `ActiveRecord::Base.update_all` or any direct SQL you do,

gemfiles/activerecord_6.1.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
hairtrigger (1.3.0)
4+
hairtrigger (1.3.1)
55
activerecord (>= 6.0, < 9)
66
ruby2ruby (~> 2.4)
77
ruby_parser (~> 3.10)

gemfiles/activerecord_7.0.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
hairtrigger (1.3.0)
4+
hairtrigger (1.3.1)
55
activerecord (>= 6.0, < 9)
66
ruby2ruby (~> 2.4)
77
ruby_parser (~> 3.10)

gemfiles/activerecord_7.1.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
hairtrigger (1.3.0)
4+
hairtrigger (1.3.1)
55
activerecord (>= 6.0, < 9)
66
ruby2ruby (~> 2.4)
77
ruby_parser (~> 3.10)

gemfiles/activerecord_7.2.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
hairtrigger (1.3.0)
4+
hairtrigger (1.3.1)
55
activerecord (>= 6.0, < 9)
66
ruby2ruby (~> 2.4)
77
ruby_parser (~> 3.10)

gemfiles/activerecord_8.0.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
hairtrigger (1.3.0)
4+
hairtrigger (1.3.1)
55
activerecord (>= 6.0, < 9)
66
ruby2ruby (~> 2.4)
77
ruby_parser (~> 3.10)

gemfiles/activerecord_edge.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ GIT
2929
PATH
3030
remote: ..
3131
specs:
32-
hairtrigger (1.3.0)
32+
hairtrigger (1.3.1)
3333
activerecord (>= 6.0, < 9)
3434
ruby2ruby (~> 2.4)
3535
ruby_parser (~> 3.10)

lib/hair_trigger/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module HairTrigger
2-
VERSION = "1.3.0"
2+
VERSION = "1.3.1"
33

44
def VERSION.<=>(other)
55
split(/\./).map(&:to_i) <=> other.split(/\./).map(&:to_i)

0 commit comments

Comments
 (0)