paperclip-nginx-upload 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -5
- data/README.md +7 -1
- data/lib/paperclip/nginx/upload/version.rb +1 -1
- data/paperclip-nginx-upload.gemspec +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13c1ae1bda65c59f8229ba2e58219f1ffe2ba2ef51a7e748b03a26d6c1222caf
|
4
|
+
data.tar.gz: b032454954ef587c7ce35c10e67c0a5acf1237c8092f3a52f808e5df901d2dde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edab648241241581b6a402854c0d9a57c4bac5a4fb63ba8d1175f2c8a9c40f381bd312a0a14ebe9816927daa1f9ceec7dec1f73f65d2ce22443bf9fcc7e62b50
|
7
|
+
data.tar.gz: 1af523573d0e4be8d5c82e997ce74f91f6213665ce3e44e518720399ecd7367b938826e3078497847944aadcb37ee779fa310d456f163c4b100ceb45ad10c758
|
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,16 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
### Version
|
3
|
+
### Version 2.0.0
|
4
4
|
|
5
|
-
|
5
|
+
2022-06-28
|
6
6
|
|
7
|
-
[Compare changes](https://github.com/tf/paperclip-nginx-upload/compare/1-
|
7
|
+
[Compare changes](https://github.com/tf/paperclip-nginx-upload/compare/1-x-stable...v2.0.0)
|
8
8
|
|
9
|
-
|
9
|
+
#### Breaking Changes
|
10
|
+
|
11
|
+
- Use kt-paperclip as dependency
|
12
|
+
([#3](https://github.com/tf/paperclip-nginx-upload/pull/3))
|
10
13
|
|
11
14
|
See
|
12
|
-
[1-
|
15
|
+
[1-x-stable branch](https://github.com/tf/paperclip-nginx-upload/blob/1-x-stable/CHANGELOG.md)
|
13
16
|
for previous changes.
|
data/README.md
CHANGED
@@ -22,10 +22,16 @@ parsed from the request body before they are passed to our Rails app.
|
|
22
22
|
|
23
23
|
## Installation
|
24
24
|
|
25
|
-
|
25
|
+
Choose one from two options and add line to your application's Gemfile:
|
26
|
+
|
27
|
+
1.) with [paperclip](https://github.com/thoughtbot/paperclip) dependency, use:
|
26
28
|
|
27
29
|
gem 'paperclip-nginx-upload', '~> 1.0'
|
28
30
|
|
31
|
+
2.) with [kt-paperclip](https://github.com/kreeti/kt-paperclip) dependency, use:
|
32
|
+
|
33
|
+
gem 'paperclip-nginx-upload', '~> 2.0'
|
34
|
+
|
29
35
|
## Usage
|
30
36
|
|
31
37
|
Configure nginx to parse your upload requests. There is an example
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.add_runtime_dependency "paperclip", "
|
20
|
+
spec.add_runtime_dependency "kt-paperclip", "~> 7.0"
|
21
21
|
|
22
22
|
spec.add_development_dependency "semmy", "~> 1.0"
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.3"
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paperclip-nginx-upload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Fischbach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: paperclip
|
14
|
+
name: kt-paperclip
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '7'
|
19
|
+
version: '7.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: '7'
|
26
|
+
version: '7.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: semmy
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,8 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
|
-
|
126
|
-
rubygems_version: 2.7.5
|
125
|
+
rubygems_version: 3.0.8
|
127
126
|
signing_key:
|
128
127
|
specification_version: 4
|
129
128
|
summary: Paperclip IOAdapter for integration with nginx upload module
|