kt-paperclip 6.4.0 → 7.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) 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 +32 -0
  10. data/README.md +8 -7
  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 +10 -5
  21. data/lib/paperclip/geometry_detector_factory.rb +1 -1
  22. data/lib/paperclip/glue.rb +3 -2
  23. data/lib/paperclip/interpolations.rb +6 -2
  24. data/lib/paperclip/io_adapters/uri_adapter.rb +13 -3
  25. data/lib/paperclip/locales/gd.yml +20 -0
  26. data/lib/paperclip/media_type_spoof_detector.rb +4 -1
  27. data/lib/paperclip/schema.rb +1 -1
  28. data/lib/paperclip/storage/filesystem.rb +1 -1
  29. data/lib/paperclip/storage/fog.rb +1 -1
  30. data/lib/paperclip/storage/s3.rb +18 -4
  31. data/lib/paperclip/validators/attachment_content_type_validator.rb +1 -1
  32. data/lib/paperclip/validators/attachment_file_name_validator.rb +2 -2
  33. data/lib/paperclip/validators/attachment_presence_validator.rb +1 -1
  34. data/lib/paperclip/validators/attachment_size_validator.rb +3 -2
  35. data/lib/paperclip/version.rb +1 -1
  36. data/lib/paperclip.rb +1 -2
  37. data/paperclip.gemspec +3 -3
  38. data/spec/paperclip/content_type_detector_spec.rb +7 -0
  39. data/spec/paperclip/geometry_detector_spec.rb +9 -0
  40. data/spec/paperclip/geometry_spec.rb +16 -4
  41. data/spec/paperclip/glue_spec.rb +21 -0
  42. data/spec/paperclip/io_adapters/abstract_adapter_spec.rb +1 -1
  43. data/spec/paperclip/io_adapters/file_adapter_spec.rb +1 -1
  44. data/spec/paperclip/io_adapters/uri_adapter_spec.rb +13 -3
  45. data/spec/paperclip/media_type_spoof_detector_spec.rb +10 -4
  46. data/spec/paperclip/paperclip_spec.rb +1 -1
  47. data/spec/paperclip/storage/filesystem_spec.rb +23 -0
  48. data/spec/paperclip/storage/fog_spec.rb +46 -0
  49. data/spec/paperclip/storage/s3_spec.rb +179 -47
  50. data/spec/paperclip/validators_spec.rb +21 -6
  51. data/spec/support/fixtures/sample.xlsm +0 -0
  52. metadata +121 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff919875bc708cb71a8aa4d23b799de1d78db5bcc9b3ea67681d3a8bde2b52f8
4
- data.tar.gz: 4c68f86a643f7dd52ed167a8e1b447770fdd8bea4c9a462265e42fefca235125
3
+ metadata.gz: 206e4e7dd6b6f2ad56c7a0395e9b845a8033c7efa20f19f4ef5c33d09edcbf39
4
+ data.tar.gz: 492bfb36e312bd31c4511a91f6b0b4d779d31b5d098f616cb75871c2a6a4e527
5
5
  SHA512:
6
- metadata.gz: 7646e2ae1e2770a48d322d765ace1b0afcea3d4d0da1c2cceab6d97a70e2c562d6c115532373723152f2bd2a2e028a4c68739d5ef5b3e699d9a502c148c0bdc2
7
- data.tar.gz: c6cebbef6816c9b987a4806a7a1581b213e882d7f8179fb19845f80650622253f27e2a85412ca61743153295ccd09863ac676bbec2a7771555eb750703458a20
6
+ metadata.gz: 86a39461732fd83389253cc444168d30a9af957362d90694e04852d86619e3d4ac4a84ea71db0d904784de74d5c5e019bdcec86fc18484fce2e26568cf390d55
7
+ data.tar.gz: 9506c9fc401cb9ccee3dcfe9186ec8787df2abdc3472f947592d7a79a2e6c32e917cc3eae2de1bfc49f366129a67f793c436b69ecafe501aee0fb7c265662bdc
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]