tapsoob 0.5.9-java → 0.5.12-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21f38fe5d4ac7903850d7cc2cc842f021e1bb5dc629acb444cf86ed0f6ecf7c6
4
- data.tar.gz: 3228087f1c183c497c2253103ed0fd4df41e7ff06dce33dd459c87e2c75dba7a
3
+ metadata.gz: 3ef797cf07d277030f96dcd1b67a6709ea9cba6cb360c5740a10c702b9b06943
4
+ data.tar.gz: 2a85904b22d37629e9956a4bf77265f5b17407e297fc192b16dee3b31739016f
5
5
  SHA512:
6
- metadata.gz: 47c85f2bef469271736a8f6d79560879b669323265df4d3a0ff1cf1f40194e47b5a25d11ad08ef1a81ecaa32690c1e5b80241f16c026c4a6f143123162e1a530
7
- data.tar.gz: 949f4edd242cac23eb3fec8a7b1d4ad17ffea6ed60afaa5a0a72b67df2009fad6c3e38bc382084b8db2385bb303ce2c1b8d94b4a8fbf2d1585c999964c9aa77d
6
+ metadata.gz: da4484d162167a62adf168a61110331b518b73fbd9a6a162012afc74e4e64b996491f3a87f4605590752d51392a971adbca0216fbd5490253a917e17da7d3d39
7
+ data.tar.gz: 020c21fbc83cab7f8dbba8dbc4c3cd2d14da3f71f0090ff9d7b2fd60f641d0e46ecc4c7597656ccf56eadca2fa65cf045b141e976ccaac0d013a236c447c470b
@@ -118,6 +118,7 @@ module Tapsoob
118
118
 
119
119
  def db
120
120
  @db ||= Sequel.connect(database_url)
121
+ @db.extension :schema_dumper
121
122
  @db.loggers << Tapsoob.log if opts[:debug]
122
123
 
123
124
  # Set parameters
@@ -296,7 +297,7 @@ module Tapsoob
296
297
  end
297
298
 
298
299
  def fetch_tables_info
299
- tables = db.tables
300
+ tables = db.send(:sort_dumped_tables, db.tables, {})
300
301
 
301
302
  data = {}
302
303
  apply_table_filter(tables).each do |table_name|
@@ -21,7 +21,7 @@ Class.new(Sequel::Migration) do
21
21
  end
22
22
 
23
23
  def down
24
- <% db.tables.each do |table| %>
24
+ <% db.send(:sort_dumped_tables, db.tables, {}).reverse.each do |table| %>
25
25
  drop_table("<%= table %>", if_exists: true)
26
26
  <% end %>
27
27
  end
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Tapsoob
3
- VERSION = "0.5.9".freeze
3
+ VERSION = "0.5.12".freeze
4
4
  end
data/tapsoob.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
 
22
22
  # Dependencies
23
23
  s.add_dependency "ripl", "~> 0.7.1"
24
- s.add_dependency "sequel", "~> 5.55.0"
24
+ s.add_dependency "sequel", "~> 5.59.0"
25
25
  s.add_dependency "thor", "~> 1.2.1"
26
26
 
27
27
  if (RUBY_PLATFORM =~ /java/).nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tapsoob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.12
5
5
  platform: java
6
6
  authors:
7
7
  - Félix Bellanger
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-04-26 00:00:00.000000000 Z
12
+ date: 2022-08-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  requirement: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 5.55.0
33
+ version: 5.59.0
34
34
  name: sequel
35
35
  prerelease: false
36
36
  type: :runtime
@@ -38,7 +38,7 @@ dependencies:
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 5.55.0
41
+ version: 5.59.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
151
  requirements: []
152
- rubygems_version: 3.2.29
152
+ rubygems_version: 3.1.6
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Simple tool to import/export databases.