refinerycms-dragonfly 1.0.0 → 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 +18 -12
- data/refinerycms-dragonfly.gemspec +2 -8
- metadata +7 -51
- 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
|
|
@@ -55,18 +61,18 @@ module Refinery
|
|
|
55
61
|
if extension.s3_datastore
|
|
56
62
|
require 'dragonfly/s3_data_store'
|
|
57
63
|
datastore :s3,{
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
access_key_id: extension.s3_access_key_id,
|
|
65
|
+
datastore: extension.s3_datastore,
|
|
66
|
+
bucket_name: extension.s3_bucket_name,
|
|
67
|
+
fog_storage_options: extension.s3_fog_storage_options,
|
|
68
|
+
region: extension.s3_region,
|
|
69
|
+
root_path: extension.s3_root_path,
|
|
70
|
+
secret_access_key: extension.s3_secret_access_key,
|
|
71
|
+
storage_path: extension.s3_storage_path,
|
|
72
|
+
storage_headers: extension.s3_storage_headers,
|
|
73
|
+
url_host: extension.s3_url_host,
|
|
74
|
+
url_scheme: extension.s3_url_scheme,
|
|
75
|
+
use_iam_profile: extension.s3_use_iam_profile
|
|
70
76
|
}
|
|
71
77
|
end
|
|
72
78
|
|
|
@@ -4,12 +4,12 @@
|
|
|
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}
|
|
11
11
|
s.homepage = %q{http://refinerycms.com}
|
|
12
|
-
s.authors = ['
|
|
12
|
+
s.authors = ['Philip Arndt', 'Uģis Ozols', 'Rob Yurkowski', 'Anita Graham']
|
|
13
13
|
s.license = %q{MIT}
|
|
14
14
|
s.require_paths = %w(lib)
|
|
15
15
|
|
|
@@ -18,10 +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
|
-
s.add_dependency 'refinerycms-core', ['~> 4.0', '>= 4.0.2']
|
|
22
|
-
|
|
23
|
-
s.cert_chain = [File.expand_path("../../certs/parndt.pem", __FILE__)]
|
|
24
|
-
if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__)
|
|
25
|
-
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
|
|
26
|
-
end
|
|
27
21
|
end
|
metadata
CHANGED
|
@@ -1,37 +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
|
-
- Anita Graham
|
|
8
7
|
- Philip Arndt
|
|
9
|
-
|
|
8
|
+
- Uģis Ozols
|
|
9
|
+
- Rob Yurkowski
|
|
10
|
+
- Anita Graham
|
|
10
11
|
bindir: bin
|
|
11
|
-
cert_chain:
|
|
12
|
-
-
|
|
13
|
-
-----BEGIN CERTIFICATE-----
|
|
14
|
-
MIIDhjCCAm6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBNMQ0wCwYDVQQDDARnZW1z
|
|
15
|
-
MREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixkARkWBWFybmR0MRIwEAYK
|
|
16
|
-
CZImiZPyLGQBGRYCaW8wHhcNMTcwNzI1MTMxMjIwWhcNMTgwNzI1MTMxMjIwWjBN
|
|
17
|
-
MQ0wCwYDVQQDDARnZW1zMREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixk
|
|
18
|
-
ARkWBWFybmR0MRIwEAYKCZImiZPyLGQBGRYCaW8wggEiMA0GCSqGSIb3DQEBAQUA
|
|
19
|
-
A4IBDwAwggEKAoIBAQDrjwB8be48TFEvGweP7BwWFnmsL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|
12
|
+
cert_chain: []
|
|
13
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
35
14
|
dependencies:
|
|
36
15
|
- !ruby/object:Gem::Dependency
|
|
37
16
|
name: dragonfly
|
|
@@ -61,26 +40,6 @@ dependencies:
|
|
|
61
40
|
- - ">="
|
|
62
41
|
- !ruby/object:Gem::Version
|
|
63
42
|
version: '0'
|
|
64
|
-
- !ruby/object:Gem::Dependency
|
|
65
|
-
name: refinerycms-core
|
|
66
|
-
requirement: !ruby/object:Gem::Requirement
|
|
67
|
-
requirements:
|
|
68
|
-
- - "~>"
|
|
69
|
-
- !ruby/object:Gem::Version
|
|
70
|
-
version: '4.0'
|
|
71
|
-
- - ">="
|
|
72
|
-
- !ruby/object:Gem::Version
|
|
73
|
-
version: 4.0.2
|
|
74
|
-
type: :runtime
|
|
75
|
-
prerelease: false
|
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
77
|
-
requirements:
|
|
78
|
-
- - "~>"
|
|
79
|
-
- !ruby/object:Gem::Version
|
|
80
|
-
version: '4.0'
|
|
81
|
-
- - ">="
|
|
82
|
-
- !ruby/object:Gem::Version
|
|
83
|
-
version: 4.0.2
|
|
84
43
|
description: Allows Refinery to use dragonfly for file storage and processing
|
|
85
44
|
email: anita@joli.com.au
|
|
86
45
|
executables: []
|
|
@@ -108,7 +67,6 @@ homepage: http://refinerycms.com
|
|
|
108
67
|
licenses:
|
|
109
68
|
- MIT
|
|
110
69
|
metadata: {}
|
|
111
|
-
post_install_message:
|
|
112
70
|
rdoc_options: []
|
|
113
71
|
require_paths:
|
|
114
72
|
- lib
|
|
@@ -123,9 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
123
81
|
- !ruby/object:Gem::Version
|
|
124
82
|
version: '0'
|
|
125
83
|
requirements: []
|
|
126
|
-
|
|
127
|
-
rubygems_version: 2.7.6
|
|
128
|
-
signing_key:
|
|
84
|
+
rubygems_version: 4.0.20
|
|
129
85
|
specification_version: 4
|
|
130
86
|
summary: Dragonfly interface for Refinery CMS
|
|
131
87
|
test_files:
|
checksums.yaml.gz.sig
DELETED
|
Binary file
|
data.tar.gz.sig
DELETED
|
Binary file
|
metadata.gz.sig
DELETED
|
Binary file
|