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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/uploadcare/rails/engine.rb +4 -2
- data/lib/uploadcare/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79ccaf67f09fa687590ea3d3d4eb394aa259ed9ebef5b34179f9a7deba1ea0b5
|
|
4
|
+
data.tar.gz: 3ee7734f5538da3e95d600bcf2c359b0fa4a7654cff3eb22da54bc64e0f68e2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|