activestorage 6.0.0.rc2 → 6.0.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 716b00e8dcc27ec9df016cff558ecce99f31470d58bbc7efe3a495b7ab272722
|
|
4
|
+
data.tar.gz: 2986c8c1b288f85025be8fc2f768c6c4370c36b593a81ff68599e1d3e691d7b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c51640d41c7223552bdf418f1993af9fc49f73c24f002323e7deefcb8610dfddad022a566fb60a8c608081ae39d563e5940f092c291304c8074a0f8d0572120a
|
|
7
|
+
data.tar.gz: c3c6b78ab356d557188ddd05dd8c033bdb2e55b7bde8c0443d0d9b4373d8da081b7f450c2edc1efb0f312d69f5cbd7b8517c6b249160c3719172dc473be88a3f
|
data/CHANGELOG.md
CHANGED
|
@@ -31,7 +31,7 @@ module ActiveStorage
|
|
|
31
31
|
if record.persisted? && !record.changed?
|
|
32
32
|
record.update(name => blobs + attachables.flatten)
|
|
33
33
|
else
|
|
34
|
-
record.public_send("#{name}=", blobs + attachables.flatten)
|
|
34
|
+
record.public_send("#{name}=", (change&.attachables || blobs) + attachables.flatten)
|
|
35
35
|
end
|
|
36
36
|
end
|
|
37
37
|
|
|
@@ -84,8 +84,12 @@ module ActiveStorage
|
|
|
84
84
|
purpose: :blob_key }
|
|
85
85
|
)
|
|
86
86
|
|
|
87
|
+
current_uri = URI.parse(current_host)
|
|
88
|
+
|
|
87
89
|
generated_url = url_helpers.rails_disk_service_url(verified_key_with_expiration,
|
|
88
|
-
|
|
90
|
+
protocol: current_uri.scheme,
|
|
91
|
+
host: current_uri.host,
|
|
92
|
+
port: current_uri.port,
|
|
89
93
|
disposition: content_disposition,
|
|
90
94
|
content_type: content_type,
|
|
91
95
|
filename: filename
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activestorage
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.0.0
|
|
4
|
+
version: 6.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionpack
|
|
@@ -16,42 +16,42 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 6.0.0
|
|
19
|
+
version: 6.0.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 6.0.0
|
|
26
|
+
version: 6.0.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: activejob
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 6.0.0
|
|
33
|
+
version: 6.0.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - '='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 6.0.0
|
|
40
|
+
version: 6.0.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: activerecord
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 6.0.0
|
|
47
|
+
version: 6.0.0
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 6.0.0
|
|
54
|
+
version: 6.0.0
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: marcel
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -150,8 +150,8 @@ homepage: https://rubyonrails.org
|
|
|
150
150
|
licenses:
|
|
151
151
|
- MIT
|
|
152
152
|
metadata:
|
|
153
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.0.0
|
|
154
|
-
changelog_uri: https://github.com/rails/rails/blob/v6.0.0
|
|
153
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.0.0/activestorage
|
|
154
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.0.0/activestorage/CHANGELOG.md
|
|
155
155
|
post_install_message:
|
|
156
156
|
rdoc_options: []
|
|
157
157
|
require_paths:
|
|
@@ -163,9 +163,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
163
163
|
version: 2.5.0
|
|
164
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
165
|
requirements:
|
|
166
|
-
- - "
|
|
166
|
+
- - ">="
|
|
167
167
|
- !ruby/object:Gem::Version
|
|
168
|
-
version:
|
|
168
|
+
version: '0'
|
|
169
169
|
requirements: []
|
|
170
170
|
rubygems_version: 3.0.1
|
|
171
171
|
signing_key:
|