db-purger 0.2.10 → 0.3.0

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: 2fc223dbeccc5fbcaa19d25e1c2a63741e15ce013d07a99d33c6fe4d2b95f220
4
- data.tar.gz: 834d39435ebd2c96dafe5158a38e48930bc75bcf64b785cbf60b13184cdca69d
3
+ metadata.gz: 2ac1b663ae7d26d1849f088f3b91c9a1dd73adb78349d6fcacd803205537914e
4
+ data.tar.gz: 8c9136065832feb04a1623d747df5b1b4c4188c7afe992ac4f8436fa28826414
5
5
  SHA512:
6
- metadata.gz: 2c6a503a148ed02a2e1d852d28c930b7801fba387352ff2c825dab45cef2706e8715461842f8ea4e55c45b7a0ba56e72fe96ab9685e8a928f3a8920aa9b3644c
7
- data.tar.gz: 6518a0adbf0cd1594c3f2ae9c0eed233fb0648a55c5981a8319f135c7f1f00455fbbc2b6d5b21f29f82855c9b3ecf37e4c145b13c6bd30c658016f20ffa05c06
6
+ metadata.gz: 5713935ec867d652903785d4aba0d5e08ae7b0ddaba85f2991a991c8a5a17f2bcc8bdcfc557d80acb5e57ca265a9af9d2320924b6ef2f1d6c181bf3c8be8cfcf
7
+ data.tar.gz: 2443a1d69c9462bc9bcdbb9e185a0a44a1558d8854c042db97eab06110fab54280ba0067b9eb42d5a25b57a47fae8a3260ceba19a25cfb4c5170e29d5c260904
@@ -47,6 +47,7 @@ module DBPurger
47
47
  purge_nested_tables(batch) if @table.nested_tables?
48
48
  delete_records(batch)
49
49
  end
50
+ purge_parent_tables
50
51
  end
51
52
 
52
53
  def next_batch(start_id)
@@ -11,7 +11,6 @@ module DBPurger
11
11
 
12
12
  def purge_nested_tables(batch)
13
13
  purge_child_tables(batch) unless @table.nested_plan.child_tables.empty?
14
- purge_parent_tables
15
14
  end
16
15
 
17
16
  def purge_child_tables(batch)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: db-purger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-27 00:00:00.000000000 Z
11
+ date: 2020-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dynamic-active-model
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.0.3
79
+ rubygems_version: 3.0.8
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: DB Purger by top level id