refinerycms-dragonfly 1.0.1 → 1.0.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 +4 -4
- data/lib/refinery/dragonfly/dragonfly.rb +6 -0
- data/refinerycms-dragonfly.gemspec +1 -6
- metadata +4 -34
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e627011d10036c5d6c3520d3a3e2c8a446c72a86134ef5f3b2b66b7ddc4db7c
|
|
4
|
+
data.tar.gz: ada8291d87eaa63ef780f211d58482497e33100cde25bbd6b10b99c30f34844d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2feccd669d92dd5e69918f52da35ffb9a064f200b650549d660d94f812d7a5d3fca98c61912facb77773023f366be3f1dc733026fb824fc60acb367562040ae0
|
|
7
|
+
data.tar.gz: 58133f0d26dc9a1e3cdaff457f938d0a7cbdf356928d794f560b0358d73451db41413135601bee13ab1c0962386e536b167495ac7c57236b031bf41cd679c953
|
|
@@ -28,6 +28,12 @@ module Refinery
|
|
|
28
28
|
|
|
29
29
|
response_header extension.dragonfly_response_header
|
|
30
30
|
|
|
31
|
+
if extension.respond_to?(:content_disposition) && extension.content_disposition.to_s == 'attachment'
|
|
32
|
+
response_header 'Content-Disposition' do |job, _request, _headers|
|
|
33
|
+
%(attachment; filename="#{job.name || 'file'}")
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
31
37
|
verify_urls extension.dragonfly_verify_urls
|
|
32
38
|
|
|
33
39
|
# These options require a name and block
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.platform = Gem::Platform::RUBY
|
|
6
6
|
s.name = %q{refinerycms-dragonfly}
|
|
7
|
-
s.version = '1.0.
|
|
7
|
+
s.version = '1.0.2'
|
|
8
8
|
s.summary = %q{Dragonfly interface for Refinery CMS}
|
|
9
9
|
s.description = %q{Allows Refinery to use dragonfly for file storage and processing}
|
|
10
10
|
s.email = %q{anita@joli.com.au}
|
|
@@ -18,9 +18,4 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
|
|
19
19
|
s.add_dependency 'dragonfly', '~> 1.1'
|
|
20
20
|
s.add_dependency 'dragonfly-s3_data_store'
|
|
21
|
-
|
|
22
|
-
s.cert_chain = [File.expand_path("../../certs/parndt.pem", __FILE__)]
|
|
23
|
-
if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__)
|
|
24
|
-
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
|
|
25
|
-
end
|
|
26
21
|
end
|
metadata
CHANGED
|
@@ -1,43 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: refinerycms-dragonfly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Philip Arndt
|
|
8
8
|
- Uģis Ozols
|
|
9
9
|
- Rob Yurkowski
|
|
10
10
|
- Anita Graham
|
|
11
|
-
autorequire:
|
|
12
11
|
bindir: bin
|
|
13
|
-
cert_chain:
|
|
14
|
-
-
|
|
15
|
-
-----BEGIN CERTIFICATE-----
|
|
16
|
-
MIIEMjCCApqgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhnZW1z
|
|
17
|
-
L0RDPXAvREM9YXJuZHQvREM9aW8wHhcNMTgxMDI5MDk0MjQ5WhcNMTkxMDI5MDk0
|
|
18
|
-
MjQ5WjAjMSEwHwYDVQQDDBhnZW1zL0RDPXAv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h/ftB
|
|
33
|
-
64QhOWuk2CuGlt+tLMGbjR65W3SppBkvVd4yYHArbl4Z0qPG+TVrVrj2JEjo82rT
|
|
34
|
-
jIUDLkdUlQ/FmH5fHhbrtn5PMCXjto414YBC7aQUxQsiNCN2qhsjwiyzVBbBTjnA
|
|
35
|
-
1sA043YnGOd1XylVtnrARK5eT7DhFGrMGMp/KvOg+T7q19+65jaopvHH4zFXzBcY
|
|
36
|
-
MxlH/7tMQ5+DdHcqbu3SOAe1/VaaRk28J0CdPZS6Y60YuRqL17Zg2WOODiBkA9WE
|
|
37
|
-
JjcyzdERZXsSPh+DT5PrllEbTNTZPbBcnAWjqdEWLtBIxD3JpgZHTmYP4I2ExAeu
|
|
38
|
-
2Oqsxsw30MIZnh2Cw/xLRkc1I50luA==
|
|
39
|
-
-----END CERTIFICATE-----
|
|
40
|
-
date: 2018-11-30 00:00:00.000000000 Z
|
|
12
|
+
cert_chain: []
|
|
13
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
41
14
|
dependencies:
|
|
42
15
|
- !ruby/object:Gem::Dependency
|
|
43
16
|
name: dragonfly
|
|
@@ -94,7 +67,6 @@ homepage: http://refinerycms.com
|
|
|
94
67
|
licenses:
|
|
95
68
|
- MIT
|
|
96
69
|
metadata: {}
|
|
97
|
-
post_install_message:
|
|
98
70
|
rdoc_options: []
|
|
99
71
|
require_paths:
|
|
100
72
|
- lib
|
|
@@ -109,9 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
81
|
- !ruby/object:Gem::Version
|
|
110
82
|
version: '0'
|
|
111
83
|
requirements: []
|
|
112
|
-
|
|
113
|
-
rubygems_version: 2.7.6
|
|
114
|
-
signing_key:
|
|
84
|
+
rubygems_version: 4.0.20
|
|
115
85
|
specification_version: 4
|
|
116
86
|
summary: Dragonfly interface for Refinery CMS
|
|
117
87
|
test_files:
|
checksums.yaml.gz.sig
DELETED
|
Binary file
|
data.tar.gz.sig
DELETED
|
Binary file
|
metadata.gz.sig
DELETED
|
Binary file
|