bulk_dependency_eraser 1.0.5 → 1.1.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: cbea15215c816eca6790c1d7c3cbf4f4f68534fc3ff18cc38e8c26dc7e94513d
4
- data.tar.gz: 532a711c1290ea4fea4200acc75d9916eb18a2451207b89d1163372d7372028d
3
+ metadata.gz: dc49b9b507510ed728ba6434832c29c44d76fe144ee4b738a7f5ade224caf0d2
4
+ data.tar.gz: 3437d5c44ca6ae2aaaf6d5e283da42d7267e5df2f378ef7abf7a72b63662cc5e
5
5
  SHA512:
6
- metadata.gz: e5639d23e7fbad812f11db05ad4b4dc3e88cd8823b3623ec38c892ed144ca6002b2e6bf56a826cca62aa2e87312fc676ac0668d1d6301a66496f91a62c7896fe
7
- data.tar.gz: 20f81c4ddae6e875de07849088493f21095a567ccf2e1e39bfe21bbe1486dbfaa76ad06bc53f247724ca0f5e79a7f7af699e480345c2b5a800f617c06bb83844
6
+ metadata.gz: 8f15ccf36462a1fa821843dd5b05144e078be9a624620b297c02b0bb9e4252b997c0db56ae7546962163559a4f141eeaa2c3be571e1edafb5faa41cb1c83c563
7
+ data.tar.gz: 6a72116ef8842358a7de07f461cae3a3fbb2b6bfce2a0b725dd373534480a84fd69e81c18838178bea8d65788039671244c76df2d1669bc470687354929c130d
@@ -48,7 +48,8 @@ module BulkDependencyEraser
48
48
  'ActiveRecord::Reflection::HasAndBelongsToManyReflection'
49
49
  ].freeze
50
50
 
51
- attr_reader :deletion_list, :nullification_list
51
+ # write access so that these can be edited in-place by end-users who might need to manually adjust deletion order.
52
+ attr_accessor :deletion_list, :nullification_list
52
53
  attr_reader :ignore_table_deletion_list, :ignore_table_nullification_list
53
54
 
54
55
  def initialize query:, opts: {}
@@ -0,0 +1,3 @@
1
+ module BulkDependencyEraser
2
+ VERSION = "1.1.0".freeze
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulk_dependency_eraser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - benjamin.dana.software.dev@gmail.com
@@ -148,6 +148,7 @@ files:
148
148
  - lib/bulk_dependency_eraser/deleter.rb
149
149
  - lib/bulk_dependency_eraser/manager.rb
150
150
  - lib/bulk_dependency_eraser/nullifier.rb
151
+ - lib/bulk_dependency_eraser/version.rb
151
152
  homepage: https://github.com/danabr75/bulk_dependency_eraser
152
153
  licenses:
153
154
  - LGPL-3.0-only