paperclip-nginx-upload 1.0.0 → 1.1.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 +5 -5
- data/.travis.yml +1 -1
- data/CHANGELOG.md +7 -4
- data/README.md +1 -1
- data/lib/paperclip/nginx/upload/version.rb +1 -1
- data/paperclip-nginx-upload.gemspec +2 -2
- data/spec/paperclip/nginx/upload/io_adapter_spec.rb +2 -1
- data/spec/spec_helper.rb +1 -0
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: f9f42723c9ba07f306cda04afc088a80c3dad2ea37316233feb7ba3430374538
|
|
4
|
+
data.tar.gz: 8486a3a25d4d9127666b429786b31126f18f5574ed9360b13610e2e10e12643a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a49bea36fe864f19ba549dc3b77c31d56ab01feecaf467aa97aea59bb60e0216f1e51b4c54189f61724486dc2a399401482156bc456a0c6093524c7ebbd0f38
|
|
7
|
+
data.tar.gz: 2f0d009225c85e6b8757168db072db4665c5ce4761ff500c8c96c7a919508b61af1b5b8b5f0daec828f0a7ff406cb50320b702d314b6ac380dc71428508bd93d
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
-
### Version 1.
|
|
3
|
+
### Version 1.1.0
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
2018-08-03
|
|
6
6
|
|
|
7
|
-
[Compare changes](https://github.com/tf/paperclip-
|
|
7
|
+
[Compare changes](https://github.com/tf/paperclip-nginx-upload/compare/1-0-stable...v1.1.0)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
- Allow usage with Paperclip 6.x
|
|
10
10
|
|
|
11
|
+
See
|
|
12
|
+
[1-0-stable branch](https://github.com/tf/paperclip-nginx-upload/blob/1-0-stable/CHANGELOG.md)
|
|
13
|
+
for previous changes.
|
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["Tim Fischbach"]
|
|
10
10
|
spec.email = ["tfischbach@codevise.de"]
|
|
11
11
|
spec.summary = "Paperclip IOAdapter for integration with nginx upload module"
|
|
12
|
-
spec.homepage = "https://github.com/tf/paperclip-
|
|
12
|
+
spec.homepage = "https://github.com/tf/paperclip-nginx-upload"
|
|
13
13
|
spec.license = "MIT"
|
|
14
14
|
|
|
15
15
|
spec.files = `git ls-files`.split($/)
|
|
@@ -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 "paperclip", "< 7"
|
|
21
21
|
|
|
22
22
|
spec.add_development_dependency "semmy", "~> 1.0"
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.3"
|
|
@@ -14,7 +14,8 @@ describe Paperclip::Nginx::Upload::IOAdapter do
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
options = {
|
|
17
|
-
:tmp_path_whitelist => [File.join(PROJECT_ROOT, 'spec', 'tmp', '**')]
|
|
17
|
+
:tmp_path_whitelist => [File.join(PROJECT_ROOT, 'spec', 'tmp', '**')],
|
|
18
|
+
:hash_digest => Digest::MD5
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
Paperclip::Nginx::Upload::IOAdapter.new(nginx_upload_hash, options)
|
data/spec/spec_helper.rb
CHANGED
|
@@ -3,6 +3,7 @@ require 'rspec'
|
|
|
3
3
|
PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')).freeze
|
|
4
4
|
$LOAD_PATH << File.join(PROJECT_ROOT, 'lib')
|
|
5
5
|
|
|
6
|
+
require 'active_support/core_ext/module'
|
|
6
7
|
require 'paperclip/nginx/upload'
|
|
7
8
|
|
|
8
9
|
Dir[File.join(PROJECT_ROOT, 'spec', 'support', '**', '*.rb')].each { |file| require(file) }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: paperclip-nginx-upload
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.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: 2018-08-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: paperclip
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "<"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '7'
|
|
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: '
|
|
26
|
+
version: '7'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: semmy
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -103,7 +103,7 @@ files:
|
|
|
103
103
|
- spec/paperclip/nginx/upload/io_adapter_spec.rb
|
|
104
104
|
- spec/spec_helper.rb
|
|
105
105
|
- spec/support/fixture_file.rb
|
|
106
|
-
homepage: https://github.com/tf/paperclip-
|
|
106
|
+
homepage: https://github.com/tf/paperclip-nginx-upload
|
|
107
107
|
licenses:
|
|
108
108
|
- MIT
|
|
109
109
|
metadata: {}
|
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
123
123
|
version: '0'
|
|
124
124
|
requirements: []
|
|
125
125
|
rubyforge_project:
|
|
126
|
-
rubygems_version: 2.
|
|
126
|
+
rubygems_version: 2.7.5
|
|
127
127
|
signing_key:
|
|
128
128
|
specification_version: 4
|
|
129
129
|
summary: Paperclip IOAdapter for integration with nginx upload module
|