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.
- checksums.yaml +5 -13
- data/.rubocop.yml +80 -0
- data/.rubocop_todo.yml +28 -0
- data/.travis.yml +25 -8
- data/CHANGELOG.markdown +117 -0
- data/Gemfile +7 -1
- data/README.markdown +69 -21
- data/image_size.gemspec +12 -4
- data/lib/image_size.rb +205 -87
- data/spec/image_size_spec.rb +79 -71
- data/spec/{test2.bmp → images/bmp/v2.42x50.bmp} +0 -0
- data/spec/{test3b.bmp → images/bmp/v3-bottom2top.42x50.bmp} +0 -0
- data/spec/{test3t.bmp → images/bmp/v3-top2bottom.42x50.bmp} +0 -0
- data/spec/images/cur/32x256.cur +0 -0
- data/spec/{test.gif → images/gif/668x481.gif} +0 -0
- data/spec/images/ico/32x256.ico +0 -0
- data/spec/images/jp2/163x402.jp2 +0 -0
- data/spec/images/jp2/176x373.jpx +0 -0
- data/spec/images/jp2/224x293.j2c +0 -0
- data/spec/images/jpeg/436x429.jpeg +0 -0
- data/spec/images/jpeg/extraneous-bytes.436x429.jpeg +0 -0
- data/spec/images/mng/61x42.mng +0 -0
- data/spec/{test.pcx → images/pcx/70x60.pcx} +0 -0
- data/spec/images/png/192x110.apng +0 -0
- data/spec/{test.png → images/png/640x532.png} +0 -0
- data/spec/images/pnm/22x25.pam +8 -0
- data/spec/images/pnm/22x25.pbm +0 -0
- data/spec/images/pnm/22x25.pgm +4 -0
- data/spec/images/pnm/22x25.ppm +4 -0
- data/spec/images/pnm/ascii.22x25.pbm +27 -0
- data/spec/images/pnm/ascii.22x25.pgm +28 -0
- data/spec/images/pnm/ascii.22x25.ppm +28 -0
- data/spec/{test.psd → images/psd/16x20.psd} +0 -0
- data/spec/{test.svg → images/svg/72x100.svg} +0 -0
- data/spec/{test.swf → images/swf/450x200.swf} +0 -0
- data/spec/images/tiff/big-endian.68x49.tiff +0 -0
- data/spec/images/tiff/little-endian.40x68.tiff +0 -0
- data/spec/images/webp/extended.16x32.webp +0 -0
- data/spec/images/webp/lossless.16x32.webp +0 -0
- data/spec/images/webp/lossy.16x32.webp +0 -0
- data/spec/{test.xbm → images/xbm/16x32.xbm} +0 -0
- data/spec/{test.xpm → images/xpm/24x32.xpm} +0 -0
- metadata +108 -55
- data/spec/test.cur +0 -0
- data/spec/test.ico +0 -0
- data/spec/test.jpg +0 -0
- data/spec/test.pbm +0 -0
- data/spec/test.pgm +0 -5
- data/spec/test.tif +0 -0
- data/spec/test2.jpg +0 -0
data/spec/test.cur
DELETED
Binary file
|
data/spec/test.ico
DELETED
Binary file
|
data/spec/test.jpg
DELETED
Binary file
|
data/spec/test.pbm
DELETED
Binary file
|
data/spec/test.pgm
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
P5
|
2
|
-
#Created with The GIMP
|
3
|
-
90 55
|
4
|
-
255
|
5
|
-
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
|
data/spec/test.tif
DELETED
Binary file
|
data/spec/test2.jpg
DELETED
Binary file
|