kt-paperclip 6.4.0 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.github/FUNDING.yml +1 -1
  3. data/.hound.yml +3 -1057
  4. data/.rubocop.yml +1059 -1
  5. data/.travis.yml +5 -5
  6. data/Appraisals +6 -0
  7. data/CONTRIBUTING.md +4 -5
  8. data/Gemfile +2 -2
  9. data/NEWS +31 -0
  10. data/README.md +5 -4
  11. data/features/step_definitions/attachment_steps.rb +11 -1
  12. data/gemfiles/4.2.gemfile +1 -1
  13. data/gemfiles/5.0.gemfile +1 -1
  14. data/gemfiles/5.1.gemfile +1 -1
  15. data/gemfiles/5.2.gemfile +1 -1
  16. data/gemfiles/6.0.gemfile +1 -1
  17. data/gemfiles/6.1.gemfile +21 -0
  18. data/gemfiles/7.0.gemfile +21 -0
  19. data/lib/paperclip/attachment.rb +1 -1
  20. data/lib/paperclip/content_type_detector.rb +9 -5
  21. data/lib/paperclip/io_adapters/uri_adapter.rb +13 -3
  22. data/lib/paperclip/storage/filesystem.rb +1 -1
  23. data/lib/paperclip/storage/fog.rb +1 -1
  24. data/lib/paperclip/storage/s3.rb +1 -1
  25. data/lib/paperclip/validators/attachment_content_type_validator.rb +1 -1
  26. data/lib/paperclip/validators/attachment_file_name_validator.rb +2 -2
  27. data/lib/paperclip/validators/attachment_presence_validator.rb +1 -1
  28. data/lib/paperclip/validators/attachment_size_validator.rb +4 -3
  29. data/lib/paperclip/version.rb +1 -1
  30. data/lib/paperclip.rb +1 -2
  31. data/paperclip.gemspec +3 -3
  32. data/spec/paperclip/content_type_detector_spec.rb +7 -0
  33. data/spec/paperclip/io_adapters/abstract_adapter_spec.rb +1 -1
  34. data/spec/paperclip/io_adapters/file_adapter_spec.rb +1 -1
  35. data/spec/paperclip/io_adapters/uri_adapter_spec.rb +13 -3
  36. data/spec/paperclip/storage/filesystem_spec.rb +23 -0
  37. data/spec/paperclip/storage/fog_spec.rb +46 -0
  38. data/spec/paperclip/storage/s3_spec.rb +13 -0
  39. data/spec/paperclip/validators_spec.rb +21 -6
  40. data/spec/support/fixtures/sample.xlsm +0 -0
  41. metadata +10 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff919875bc708cb71a8aa4d23b799de1d78db5bcc9b3ea67681d3a8bde2b52f8
4
- data.tar.gz: 4c68f86a643f7dd52ed167a8e1b447770fdd8bea4c9a462265e42fefca235125
3
+ metadata.gz: 157a08d6afe54c6a2b058e2a1fb8f9f8b11b19c49e565d28fba6e9bda226ba8e
4
+ data.tar.gz: 07a4071fdde88ed97090788de2ee932c61478517952f79f59d0f2bea437706a6
5
5
  SHA512:
6
- metadata.gz: 7646e2ae1e2770a48d322d765ace1b0afcea3d4d0da1c2cceab6d97a70e2c562d6c115532373723152f2bd2a2e028a4c68739d5ef5b3e699d9a502c148c0bdc2
7
- data.tar.gz: c6cebbef6816c9b987a4806a7a1581b213e882d7f8179fb19845f80650622253f27e2a85412ca61743153295ccd09863ac676bbec2a7771555eb750703458a20
6
+ metadata.gz: 95a1f25661bbeae438168c7145fe36662b5926b7a9bf6ebddeec6a7d2424995764cd3875ca8eb224cbeb0ddf3b8f764ab3d646518cf1b19b031e684edc249894
7
+ data.tar.gz: 34263d2e70b9698db8a90dd547e1225451a664ac6e3a5aa44cc17287b80d00d9ca8216740fe9ab4c9f808df0757d228b1a29d8e3ef46954b0ee835321d49581f
data/.github/FUNDING.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  # These are supported funding model platforms
2
2
 
3
- github: [ssinghi, shalinibhawsingka-kreeti]
3
+ github: [ssinghi, sbhawsingka]