image_optimizer 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc1965ff20a12b495be3c4b0bf4e312e4a81eddb
4
- data.tar.gz: 1df870fc21e4a638420c7df2fad7a16b7d151d1b
3
+ metadata.gz: 4b3565bc486b1461c702bb3ee612b49e37f7b93c
4
+ data.tar.gz: 9bbfdb3742662c8fec9f0b70a79cf677fcf60d2a
5
5
  SHA512:
6
- metadata.gz: 9bbb9fc93085a14e99ea772bdf15aa802f0f541f6e3dea65d669b5595f67276c1bb14d2175e87aeac08e6af3ab4c43fcc55e3005ea83f2432312954552451c95
7
- data.tar.gz: f2e8eec48adb796e0089d34188820aa1f75da6cbda3af71837b150675e09d5df67e16eff7efed256e4229ca128695f94f6d5b838efdca02f3628be3502217fb2
6
+ metadata.gz: 3cd3ee2a99e823b2df4e4108724d8e28456f95e2f0b5d290b50b95a7a009631ba7a460aef666ae4d3a18abc3984063ab201e0246223fe921deb8fc375892c380
7
+ data.tar.gz: c8389fa53dd8c10169957c83bbaa83ff12c3823bb6d722b6871a11fdd5efb7626d4cbf7997836605b309a25da50784d13cbe0493486a12b37c3a1ffcdefbe3a2
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1 @@
1
+ 5309b2c440fe4ab6663280a7ce32790c9d03164048f94ef7ea06c06921e91045c2f013fe61be461e935f1208368bbf4ecdcacdba77afd49e5f5240ffc21a2e2c
@@ -9,7 +9,7 @@ class ImageOptimizer
9
9
  end
10
10
 
11
11
  def level
12
- options[:level] || 1
12
+ options[:gif_level] || 1
13
13
  end
14
14
 
15
15
  def type
@@ -1,3 +1,3 @@
1
1
  class ImageOptimizer
2
- VERSION = '1.6.0'
2
+ VERSION = '1.6.1'
3
3
  end
@@ -33,14 +33,14 @@ describe ImageOptimizer::GIFOptimizer do
33
33
  end
34
34
 
35
35
  context 'without optimization parameter' do
36
- it 'optimizes the gif with level 7 optimization' do
36
+ it 'optimizes the gif with level 1 optimization' do
37
37
  expect(gif_optimizer).to receive(:system).with('/usr/local/bin/gifsicle', '-b', '-O1', '/path/to/file.gif')
38
38
  subject
39
39
  end
40
40
  end
41
41
 
42
42
  context 'with optimization parameter' do
43
- let(:options) { { level: 2 } }
43
+ let(:options) { { gif_level: 2 } }
44
44
  it 'optimizes the gif with the requested optimization level' do
45
45
  expect(gif_optimizer).to receive(:system).with('/usr/local/bin/gifsicle', '-b', '-O2', '/path/to/file.gif')
46
46
  subject
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_optimizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Tescher
@@ -30,7 +30,7 @@ cert_chain:
30
30
  8lVFrLvGNGPCLQmEf498hBYT99EVYiuiI0F7YlTmBdzL1uwTMk5le/b0NguYdSJ7
31
31
  qKlUP9usSwMVc+qmaOg1EYfPGYvt63qS
32
32
  -----END CERTIFICATE-----
33
- date: 2016-09-26 00:00:00.000000000 Z
33
+ date: 2016-10-06 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rspec
@@ -126,6 +126,7 @@ files:
126
126
  - checksum/image_optimizer-1.4.0.gem.sha512
127
127
  - checksum/image_optimizer-1.5.0.gem.sha512
128
128
  - checksum/image_optimizer-1.6.0.gem.sha512
129
+ - checksum/image_optimizer-1.6.1.gem.sha512
129
130
  - image_optimizer.gemspec
130
131
  - lib/image_optimizer.rb
131
132
  - lib/image_optimizer/gif_optimizer.rb
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- �φzީ"�0Rs��Kb����e�Q)�x� S͡_��q_6���K�1R �S8����� ��b��%5�9��k��\E�<��sn*5�|ѐx]�f������ ��'a^@)hl�������;�c�]PD܍�Jr0|v��AT�q���ȃ9|��=�M��O^����^�<3 w���t']���lSQ0���D�+1'|�$�(p>�����G_VX2Ѷ&T�`��t���/��Fo�5��g/�ܦv�jY3�
1
+ ���ԛ"񰈗f87����>/^<'C%��z�݌��yN��HG��E�j�8u��g`�!�,��02P�.]@o���0(Oue��ʀq�i���F��emA��X/v�E- ��Bf���ť�N����o-;b}09�����نa;�ݼ̓��D ���"
2
+ O`c31��tb��?RT�A��ޘ