image_size 1.4.2 → 2.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.
Files changed (50) hide show
  1. checksums.yaml +5 -13
  2. data/.rubocop.yml +80 -0
  3. data/.rubocop_todo.yml +28 -0
  4. data/.travis.yml +25 -8
  5. data/CHANGELOG.markdown +117 -0
  6. data/Gemfile +7 -1
  7. data/README.markdown +69 -21
  8. data/image_size.gemspec +12 -4
  9. data/lib/image_size.rb +205 -87
  10. data/spec/image_size_spec.rb +79 -71
  11. data/spec/{test2.bmp → images/bmp/v2.42x50.bmp} +0 -0
  12. data/spec/{test3b.bmp → images/bmp/v3-bottom2top.42x50.bmp} +0 -0
  13. data/spec/{test3t.bmp → images/bmp/v3-top2bottom.42x50.bmp} +0 -0
  14. data/spec/images/cur/32x256.cur +0 -0
  15. data/spec/{test.gif → images/gif/668x481.gif} +0 -0
  16. data/spec/images/ico/32x256.ico +0 -0
  17. data/spec/images/jp2/163x402.jp2 +0 -0
  18. data/spec/images/jp2/176x373.jpx +0 -0
  19. data/spec/images/jp2/224x293.j2c +0 -0
  20. data/spec/images/jpeg/436x429.jpeg +0 -0
  21. data/spec/images/jpeg/extraneous-bytes.436x429.jpeg +0 -0
  22. data/spec/images/mng/61x42.mng +0 -0
  23. data/spec/{test.pcx → images/pcx/70x60.pcx} +0 -0
  24. data/spec/images/png/192x110.apng +0 -0
  25. data/spec/{test.png → images/png/640x532.png} +0 -0
  26. data/spec/images/pnm/22x25.pam +8 -0
  27. data/spec/images/pnm/22x25.pbm +0 -0
  28. data/spec/images/pnm/22x25.pgm +4 -0
  29. data/spec/images/pnm/22x25.ppm +4 -0
  30. data/spec/images/pnm/ascii.22x25.pbm +27 -0
  31. data/spec/images/pnm/ascii.22x25.pgm +28 -0
  32. data/spec/images/pnm/ascii.22x25.ppm +28 -0
  33. data/spec/{test.psd → images/psd/16x20.psd} +0 -0
  34. data/spec/{test.svg → images/svg/72x100.svg} +0 -0
  35. data/spec/{test.swf → images/swf/450x200.swf} +0 -0
  36. data/spec/images/tiff/big-endian.68x49.tiff +0 -0
  37. data/spec/images/tiff/little-endian.40x68.tiff +0 -0
  38. data/spec/images/webp/extended.16x32.webp +0 -0
  39. data/spec/images/webp/lossless.16x32.webp +0 -0
  40. data/spec/images/webp/lossy.16x32.webp +0 -0
  41. data/spec/{test.xbm → images/xbm/16x32.xbm} +0 -0
  42. data/spec/{test.xpm → images/xpm/24x32.xpm} +0 -0
  43. metadata +108 -55
  44. data/spec/test.cur +0 -0
  45. data/spec/test.ico +0 -0
  46. data/spec/test.jpg +0 -0
  47. data/spec/test.pbm +0 -0
  48. data/spec/test.pgm +0 -5
  49. data/spec/test.tif +0 -0
  50. data/spec/test2.jpg +0 -0
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +0,0 @@
1
- P5
2
- #Created with The GIMP
3
- 90 55
4
- 255
5
- ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Binary file
Binary file