kt-paperclip 6.4.2 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) 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 +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/interpolations.rb +6 -2
  22. data/lib/paperclip/media_type_spoof_detector.rb +2 -0
  23. data/lib/paperclip/schema.rb +1 -1
  24. data/lib/paperclip/storage/filesystem.rb +1 -1
  25. data/lib/paperclip/storage/fog.rb +1 -1
  26. data/lib/paperclip/storage/s3.rb +18 -4
  27. data/lib/paperclip/validators/attachment_file_name_validator.rb +1 -1
  28. data/lib/paperclip/validators/attachment_size_validator.rb +3 -2
  29. data/lib/paperclip/version.rb +1 -1
  30. data/lib/paperclip.rb +1 -2
  31. data/paperclip.gemspec +2 -2
  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/storage/filesystem_spec.rb +23 -0
  36. data/spec/paperclip/storage/fog_spec.rb +46 -0
  37. data/spec/paperclip/storage/s3_spec.rb +69 -0
  38. data/spec/paperclip/validators_spec.rb +21 -6
  39. data/spec/support/fixtures/sample.xlsm +0 -0
  40. metadata +118 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cff96583dd89dcd0254140d27f4b8043137acd917c804d7710367d719342119
4
- data.tar.gz: 27c6a63b58e72a52ec6ea87e82267d0a3ddb87815333295618d8d179c5c52d45
3
+ metadata.gz: ada7e8b864e1b23b9bd7064be5e30202ce2f89869de43d136df1a915951fc97d
4
+ data.tar.gz: fbe391dc1f775274f4e3f6972991c2883fc30c5d4970c925b43a48c651c6f9e3
5
5
  SHA512:
6
- metadata.gz: c37f46113c6c74e4e862b287174873f58d467adcfaee18766738c87eaa1757deac8363810883b3b0ae604d4cfa8b1223ec7edbe3af9687972c7ba53cc62578ab
7
- data.tar.gz: 8cc931814748df871550746bb8798cc06bc018285659f4ddf07632d24d72fa374f867b840a7aa776da957821755cbe869a130abd77ce75636b71a6f5a9df14ed
6
+ metadata.gz: bb686418ce534696a30cb0610b7af967b608a889c2f1efb68ce577ab65334df366177674887cadb98be6739b54c06158cae9de7d98a8adaf011d23e245128ed8
7
+ data.tar.gz: b19cd6cd395d65fa25d90f63f597fbe4585890a2c257d0636791613410ea53b6d9df441512e581160e4c16e2d3e0e8dff55910038165449516a3c00067a99eb3
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]