mozjpeg 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c709616826cf24e650f7bb809a722d8da2c8591
4
- data.tar.gz: 2368cb79b6bbd669b11fe9028a6b079d321cf2f3
3
+ metadata.gz: a5c2c2d287a4272e5e9d30f17516d42270b1b5bc
4
+ data.tar.gz: 7cca1369dfc955c4da8ee073d5b900d6c25055e9
5
5
  SHA512:
6
- metadata.gz: 168ff707986aade6c2f7ad1f633d13d6943de5a7458adfbdc264bb4d1fee2dc0cbf2f7fb5a53a12d72b2c9da7351ed7efea628ed49cd77bd6f57510fada8188f
7
- data.tar.gz: 83a6c85119b2002401dc4eb3ca971de9f4e4eaa975dc495363dd8042a05c8f07abfd763106b0d162000d28cd0b522f376a31ac607921e1e473d9cbb05a415e91
6
+ metadata.gz: 1e01d7cec845cbad8c15983aadcea945e27a61619f45f687ce74c19aad1abe1839b73e5f29b5f0dcf0038f05b8e7215abc347e9e1114f622f571bfc693e13910
7
+ data.tar.gz: febef914fd2e345aa6ad9b8dfc11be89ebc9169926b9955e04992ae270233fe5a2bf8884addf4a3b052f53b38d3cb682c813790c33881d6cbe0d300237c79cbb
data/README.md CHANGED
@@ -10,7 +10,7 @@ This gem was successfully tested on the following systems: (test for binaries in
10
10
  * Linux CentOS 6 - ruby 2.2.2
11
11
  * Windows XP - ruby 2.0.0p645
12
12
 
13
- Please report other systems that work, any problems or questions opening and issue on Github.
13
+ Please report other systems that work, any problems or questions opening an issue on GitHub.
14
14
 
15
15
  ## Installation
16
16
 
@@ -39,7 +39,7 @@ Mozjpeg.cjpeg_path
39
39
  # => /path/to/gems/bundled/cjpeg
40
40
  # raises error if not supported
41
41
 
42
- # compress JPEG file (accepts instances of `File`)
42
+ # compress JPEG file (accepts instances of File)
43
43
  large_image = File.new('large.jpeg')
44
44
  tiny_image = File.new('tiny.jpeg')
45
45
 
@@ -52,12 +52,14 @@ Mozjpeg.compress large_image, tiny_image, arguments: '-quality 70 -quant-table 2
52
52
 
53
53
  ## [Paperclip](https://github.com/thoughtbot/paperclip)
54
54
 
55
- This gem was made to be used with the `paperclip-mozjpeg` gem, which adds file processor to compress JPEG images uploaded using the [paperclip](https://github.com/thoughtbot/paperclip) gem.
55
+ This gem was made to be used with the [`paperclip-mozjpeg`](https://github.com/svoboda-jan/paperclip-mozjpeg) gem, which adds file processor to compress JPEG images uploaded using the [`paperclip`](https://github.com/thoughtbot/paperclip) gem.
56
56
 
57
57
  ## License
58
58
 
59
59
  This gem is licensed under the MIT license.
60
+
60
61
  [MozJPEG license](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.txt)
62
+
61
63
  The included JPEG fixture photo for tests is licenced under Creative Commons - CC0.
62
64
 
63
65
  ## Contributing
@@ -15,7 +15,7 @@ module Mozjpeg
15
15
  'win/cjpeg.exe'
16
16
  elsif OS.mac? && OS.bits == 64
17
17
  'darwin/cjpeg'
18
- elsif OS.linux? && os.bits == 64
18
+ elsif OS.linux? && OS.bits == 64
19
19
  'linux/cjpeg'
20
20
  else
21
21
  raise "MozJPEG for your platform was not found."
@@ -1,3 +1,3 @@
1
1
  module Mozjpeg
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mozjpeg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Svoboda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-11 00:00:00.000000000 Z
11
+ date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler