uploadcare-rails 5.0.0 → 5.0.1

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: 6236e99b256e9622e9e4a806dc2e909fe43a6ef59b25ae013ce5e2b7826fff1b
4
- data.tar.gz: de2380e25b4493e825359eb162e85fc38ccdbc32f8aeed38d31add0ec0a2a329
3
+ metadata.gz: 79ccaf67f09fa687590ea3d3d4eb394aa259ed9ebef5b34179f9a7deba1ea0b5
4
+ data.tar.gz: 3ee7734f5538da3e95d600bcf2c359b0fa4a7654cff3eb22da54bc64e0f68e2a
5
5
  SHA512:
6
- metadata.gz: eced3cce170c1e69bc1616617cf66357c0d37e96f75e0e27b905a45d791cd8d058ceebf02e0c8300e8cc27e562664f135719311743c3c6c141d8c29157207fd3
7
- data.tar.gz: 627150f81723e25667c88cd250b43f677048431e0da359f4cfdc0b187f2d62ddab0c209b245548baf0444f703b62a9140b70b65ada26cb846014cbb0faab3217
6
+ metadata.gz: 9d3c79d19c9d2b2e8c0510cb8dc6e7b94338bc4575f01abb97d61f169668556b05832157a9b5ffb585813c2d352bbf1009dc7853ec374c09de807ae77bbc4bad
7
+ data.tar.gz: 5a27847f42b057b47dbab7b0ca15a205ce19f3bd062e5eacb80cb951ca1a97df3278aa29ecaef0b84420d310f1f31bcbc4a2c41a71a4fa3366069bcc52b569ef
data/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 5.0.1 - 2026-06-22
10
+
11
+ ### Fixed
12
+
13
+ * Fixed Rails engine helper loading by qualifying top-level `ActionView::Base`
14
+ * Fixed configuration loading when `config/uploadcare.yml` exists but
15
+ `config_for(:uploadcare)` returns no settings for the current environment
16
+
9
17
  ## 5.0.0 - 2026-05-17
10
18
 
11
19
  This is the stable release of the v5 rewrite.
@@ -22,8 +22,8 @@ module Uploadcare
22
22
  require "uploadcare/rails/internal/uploader_field_helpers"
23
23
  require "uploadcare/rails/action_view/form_builder"
24
24
 
25
- ActionView::Base.include Uploadcare::Rails::ActionView::UploadcareIncludeTags
26
- ActionView::Base.include Uploadcare::Rails::Internal::UploaderFieldHelpers
25
+ ::ActionView::Base.include Uploadcare::Rails::ActionView::UploadcareIncludeTags
26
+ ::ActionView::Base.include Uploadcare::Rails::Internal::UploaderFieldHelpers
27
27
  end
28
28
 
29
29
  ActiveSupport.on_load :active_record do
@@ -77,6 +77,8 @@ module Uploadcare
77
77
  end
78
78
 
79
79
  def merge_uploadcare_settings!(target, source)
80
+ return if source.nil?
81
+
80
82
  source.each do |key, value|
81
83
  target[key] = value
82
84
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Uploadcare
4
4
  module Rails
5
- VERSION = "5.0.0"
5
+ VERSION = "5.0.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uploadcare-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@dmitrijivanchenko (Dmitrij Ivanchenko), @T0mbery (Andrey Aksenov)"