hairtrigger 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/hair_trigger/version.rb +1 -1
- data/lib/tasks/hair_trigger.rake +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df35a372972b565346b0f4264dee37ed064f58a64660d1ab4fc212740a58a9b3
|
4
|
+
data.tar.gz: 7d3a218fcda22368a5097c031a2b92a3e4eea7c1bda5a5700b2088ffb847a416
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0911ca70caeb923782156ac172204c42b35b0965b08fb526530aaeafcf267b4c333361837d602f5126395bec2820bb56623ea5ca4bca4b919c73d38f18969f0c'
|
7
|
+
data.tar.gz: 5b0d721e2898a6ed3902ce04e75be9e139c63d14a11f40ec0611683c00b5c844f171a606e5ba3cad4a4aad33e63ac74f20adad0e2e43aa5157fb5a75ca8f8738
|
data/README.md
CHANGED
@@ -362,8 +362,8 @@ to manage all that w/ automagical gemfiles. So the tl;dr when testing locally is
|
|
362
362
|
|
363
363
|
## Compatibility
|
364
364
|
|
365
|
-
* Ruby
|
366
|
-
* Rails
|
365
|
+
* Ruby 3.0+
|
366
|
+
* Rails 6.1+
|
367
367
|
* PostgreSQL 8.0+
|
368
368
|
* MySQL 5.0.10+
|
369
369
|
* SQLite 3.3.8+
|
@@ -372,4 +372,4 @@ to manage all that w/ automagical gemfiles. So the tl;dr when testing locally is
|
|
372
372
|
|
373
373
|
## Copyright
|
374
374
|
|
375
|
-
Copyright (c) 2011-
|
375
|
+
Copyright (c) 2011-2024 Jon Jensen. See LICENSE.txt for further details.
|
data/lib/hair_trigger/version.rb
CHANGED
data/lib/tasks/hair_trigger.rake
CHANGED
@@ -11,7 +11,8 @@ namespace :db do
|
|
11
11
|
namespace :schema do
|
12
12
|
desc "Create a db/schema.rb file that can be portably used against any DB supported by AR"
|
13
13
|
task :dump => :environment do
|
14
|
-
|
14
|
+
format = ActiveRecord.respond_to?(:schema_format) ? ActiveRecord.schema_format : ActiveRecord::Base.schema_format
|
15
|
+
next unless format == :ruby
|
15
16
|
|
16
17
|
require 'active_record/schema_dumper'
|
17
18
|
|
@@ -43,7 +44,7 @@ namespace :db do
|
|
43
44
|
|
44
45
|
# code adopted from activerecord/lib/active_record/tasks/database_tasks.rb#L441
|
45
46
|
def dump_filename(db_config_name)
|
46
|
-
format = ActiveRecord::Base.schema_format
|
47
|
+
format = ActiveRecord.respond_to?(:schema_format) ? ActiveRecord.schema_format : ActiveRecord::Base.schema_format
|
47
48
|
filename = if ActiveRecord::Base.configurations.primary?(db_config_name)
|
48
49
|
schema_file_type(format)
|
49
50
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hairtrigger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Jensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|