paperclip-nginx-upload 1.1.0 → 2.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: f9f42723c9ba07f306cda04afc088a80c3dad2ea37316233feb7ba3430374538
4
- data.tar.gz: 8486a3a25d4d9127666b429786b31126f18f5574ed9360b13610e2e10e12643a
3
+ metadata.gz: 13c1ae1bda65c59f8229ba2e58219f1ffe2ba2ef51a7e748b03a26d6c1222caf
4
+ data.tar.gz: b032454954ef587c7ce35c10e67c0a5acf1237c8092f3a52f808e5df901d2dde
5
5
  SHA512:
6
- metadata.gz: 9a49bea36fe864f19ba549dc3b77c31d56ab01feecaf467aa97aea59bb60e0216f1e51b4c54189f61724486dc2a399401482156bc456a0c6093524c7ebbd0f38
7
- data.tar.gz: 2f0d009225c85e6b8757168db072db4665c5ce4761ff500c8c96c7a919508b61af1b5b8b5f0daec828f0a7ff406cb50320b702d314b6ac380dc71428508bd93d
6
+ metadata.gz: edab648241241581b6a402854c0d9a57c4bac5a4fb63ba8d1175f2c8a9c40f381bd312a0a14ebe9816927daa1f9ceec7dec1f73f65d2ce22443bf9fcc7e62b50
7
+ data.tar.gz: 1af523573d0e4be8d5c82e997ce74f91f6213665ce3e44e518720399ecd7367b938826e3078497847944aadcb37ee779fa310d456f163c4b100ceb45ad10c758
data/CHANGELOG.md CHANGED
@@ -1,13 +1,16 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.1.0
3
+ ### Version 2.0.0
4
4
 
5
- 2018-08-03
5
+ 2022-06-28
6
6
 
7
- [Compare changes](https://github.com/tf/paperclip-nginx-upload/compare/1-0-stable...v1.1.0)
7
+ [Compare changes](https://github.com/tf/paperclip-nginx-upload/compare/1-x-stable...v2.0.0)
8
8
 
9
- - Allow usage with Paperclip 6.x
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-0-stable branch](https://github.com/tf/paperclip-nginx-upload/blob/1-0-stable/CHANGELOG.md)
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
- Add this line to your application's Gemfile:
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
@@ -1,7 +1,7 @@
1
1
  module Paperclip
2
2
  module Nginx
3
3
  module Upload
4
- VERSION = '1.1.0'
4
+ VERSION = '2.0.0'
5
5
  end
6
6
  end
7
7
  end
@@ -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", "< 7"
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: 1.1.0
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: 2018-08-03 00:00:00.000000000 Z
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
- rubyforge_project:
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