dscf-banking 0.3.2 → 0.3.3

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: 3fa3382a78ae55e56af91175d4424c127b7c4cab6a8ef3cca07a8190a3ead702
4
- data.tar.gz: 63c941cab18e37c4e15f840f4e8a367051ac19e10e6894be2f34231f770e0007
3
+ metadata.gz: af9cf7825df29b9ee3c8fd34d588ff6794d01da578a6d1edab25ed0d3f95109b
4
+ data.tar.gz: 7e60e0b55cc74d933bfee965d7ba30e59058962a99ed739c59476cf112765c2a
5
5
  SHA512:
6
- metadata.gz: 7b868f0427e4b12f1ca7a6344373edfbeb3463134fed8c273b4489c3e1a3781031ea928874de007db5cfbb47d5d55fbc0a2598ec668494a8c02850f1fad969ac
7
- data.tar.gz: bf8571523c56bab9629716b9579c268e94d82efeac38c4fbfffbd8c68aace600e7848d32e6965ca1d4d91b9a6203f629cef2d0daab4b1d548d12c0dd25d44451
6
+ metadata.gz: 8789c6b6649f347c0afa7a52e2b486578d9c9b823c9267891d835d70055bb08a5123cc52d35a6f8a291fa00c214d284ec1d1da81d2c6451a1c4bc310dcf0d452
7
+ data.tar.gz: f05eaba3272cd1a0383cc5f1dc81bb2cf9b5a1fde77f73b548d742ecbfd837c168e89b8d9f8f96ae7be604cc2cae1715934bed6521e4e31f53824fef3612fa08
@@ -6,11 +6,11 @@ module Dscf::Banking
6
6
  return [] unless object.files.attached?
7
7
 
8
8
  if Rails.env.production?
9
- ActiveStorage::Current.set(url_options: { host: "dscf.bitscollege.edu.et", protocol: "https", script_name: "/api/banking" }) do
9
+ ActiveStorage::Current.set(url_options: { host: "dscf.bitscollege.edu.et", protocol: "https" }) do
10
10
  object.files.map(&:url)
11
11
  end
12
12
  else
13
- ActiveStorage::Current.set(url_options: { host: "localhost:3000", protocol: "http", script_name: "/api/banking" }) do
13
+ ActiveStorage::Current.set(url_options: { host: "localhost:3000", protocol: "http" }) do
14
14
  object.files.map(&:url)
15
15
  end
16
16
  end
@@ -1,5 +1,5 @@
1
1
  module Dscf
2
2
  module Banking
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dscf-banking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eyosiyas Mekbib