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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ca82b2d632845f77f8e2aa456057a5547acd55c8
4
- data.tar.gz: 0ac9325e8a71615af1c0df525fefcd845f97c7a4
2
+ SHA256:
3
+ metadata.gz: f9f42723c9ba07f306cda04afc088a80c3dad2ea37316233feb7ba3430374538
4
+ data.tar.gz: 8486a3a25d4d9127666b429786b31126f18f5574ed9360b13610e2e10e12643a
5
5
  SHA512:
6
- metadata.gz: 031ba6d554e495df33cd91efc67cac6f99e6b0430837d60cd5996e03ac3554bb42ee71427fbe920cb5e9c411c2684b84ddaf8a25a85c0046f76d66126b611479
7
- data.tar.gz: ffd69da8362ecc3982376f4ef1a95ba019583668f5246af863971a70b149cf804c33673534d249880d9845779e13300386f4f1affc024398e969f750afb80e9c
6
+ metadata.gz: 9a49bea36fe864f19ba549dc3b77c31d56ab01feecaf467aa97aea59bb60e0216f1e51b4c54189f61724486dc2a399401482156bc456a0c6093524c7ebbd0f38
7
+ data.tar.gz: 2f0d009225c85e6b8757168db072db4665c5ce4761ff500c8c96c7a919508b61af1b5b8b5f0daec828f0a7ff406cb50320b702d314b6ac380dc71428508bd93d
@@ -1,4 +1,4 @@
1
1
  rvm:
2
- - 1.9.3
2
+ - 2.3.1
3
3
 
4
4
  script: "bundle exec rspec"
@@ -1,10 +1,13 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.0.0
3
+ ### Version 1.1.0
4
4
 
5
- 2017-07-28
5
+ 2018-08-03
6
6
 
7
- [Compare changes](https://github.com/tf/paperclip-nignx-upload/compare/v0.0.2...v1.0.0)
7
+ [Compare changes](https://github.com/tf/paperclip-nginx-upload/compare/1-0-stable...v1.1.0)
8
8
 
9
- No functional changes compared to version 0.0.2.
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
@@ -24,7 +24,7 @@ parsed from the request body before they are passed to our Rails app.
24
24
 
25
25
  Add this line to your application's Gemfile:
26
26
 
27
- gem 'paperclip-nginx-upload'
27
+ gem 'paperclip-nginx-upload', '~> 1.0'
28
28
 
29
29
  ## Usage
30
30
 
@@ -1,7 +1,7 @@
1
1
  module Paperclip
2
2
  module Nginx
3
3
  module Upload
4
- VERSION = '1.0.0'
4
+ VERSION = '1.1.0'
5
5
  end
6
6
  end
7
7
  end
@@ -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-nignx-upload"
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", "< 6"
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)
@@ -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.0.0
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: 2017-07-28 00:00:00.000000000 Z
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: '6'
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: '6'
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-nignx-upload
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.6.12
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