dscf-payment 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 510fd8007681aac5a20434463cc546f4b9c108a7e5e53b8fa09c81f939267c6c
4
- data.tar.gz: b0f00ba8049489d151673e54f2c5a73f4d3307750a2e65a84f969d5c537fcb43
3
+ metadata.gz: cdc3c422665978500c8592369b3bd13eb444599314a0f897ec6acd755471a6d7
4
+ data.tar.gz: baa4499377ec9f9bd4257879f541fc0a7f88f85689c1572322ee6f11ac4beb47
5
5
  SHA512:
6
- metadata.gz: d87c868934387b69afceb4ed91f78ce1d5a3a7b808ca0d61fdc1201054f33409bcb50166c551d2b88e3acc946c510a9524bf72206a7a540cb4cd028e68ca7362
7
- data.tar.gz: fb6b47a296c410f4d8ffdef7d2ed39c189458629f76c8c10010dd3755f2bcc6d489b8891bb2286c3e650705d10b9842ca9ce18a3f0c9f9d71f42ff462a476343
6
+ metadata.gz: 169487fbea58cb6ecf31b56cc91b037d0fe7b66ae6355989235cc0e173d29e44156fa525cdd04d3d012d4fc266c17c6dc0b69a4a7cc42280a57c3af5810c71cd
7
+ data.tar.gz: 2ac598842babd2b936939be10d82337919d10dcb1bfe74d72a2b13e4c039a453d27bdcf0a16dc02e5575e11b4f2a1afd479b6ef9fe6af1bc819bdb980462b8cc
@@ -13,17 +13,9 @@ module Dscf
13
13
  require "dscf/credit"
14
14
  end
15
15
 
16
- # Ensure dependent engine migrations are available in test environment
17
- initializer :append_dependent_migrations, after: :load_dependent_engines do |app|
18
- # Append migrations from dependent engines
19
- if defined?(Dscf::Core::Engine)
20
- app.config.paths["db/migrate"].concat(Dscf::Core::Engine.config.paths["db/migrate"].expanded)
21
- end
22
- if defined?(Dscf::Banking::Engine)
23
- app.config.paths["db/migrate"].concat(Dscf::Banking::Engine.config.paths["db/migrate"].expanded)
24
- end
25
- if defined?(Dscf::Credit::Engine)
26
- app.config.paths["db/migrate"].concat(Dscf::Credit::Engine.config.paths["db/migrate"].expanded)
16
+ initializer :append_migrations do |app|
17
+ unless app.root.to_s.match?(root.to_s + File::SEPARATOR)
18
+ app.config.paths["db/migrate"].concat(config.paths["db/migrate"].expanded)
27
19
  end
28
20
  end
29
21
  end
@@ -1,5 +1,5 @@
1
1
  module Dscf
2
2
  module Payment
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dscf-payment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Asrat