image_optim_pack 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +8 -8
  2. data/.gitignore +1 -1
  3. data/.rubocop.yml +3 -0
  4. data/.travis.yml +12 -9
  5. data/Makefile +39 -12
  6. data/README.markdown +14 -9
  7. data/Vagrantfile +45 -7
  8. data/boxes/.gitignore +3 -0
  9. data/boxes/.rubocop.yml +10 -0
  10. data/boxes/Gemfile +6 -0
  11. data/boxes/Rakefile +143 -0
  12. data/boxes/definitions/centos-amd64/definition.rb +30 -0
  13. data/boxes/definitions/centos-amd64/ks.cfg +37 -0
  14. data/boxes/definitions/centos-i386/definition.rb +30 -0
  15. data/boxes/definitions/centos-i386/ks.cfg +37 -0
  16. data/boxes/definitions/centos-postinstall.sh +33 -0
  17. data/boxes/definitions/freebsd-amd64/definition.rb +38 -0
  18. data/boxes/definitions/freebsd-amd64/install.sh +66 -0
  19. data/boxes/definitions/freebsd-i386/definition.rb +38 -0
  20. data/boxes/definitions/freebsd-i386/install.sh +66 -0
  21. data/boxes/definitions/freebsd-postinstall.sh +38 -0
  22. data/boxes/definitions/openbsd-amd64/definition.rb +71 -0
  23. data/boxes/definitions/openbsd-i386/definition.rb +71 -0
  24. data/boxes/definitions/openbsd-postinstall.sh +29 -0
  25. data/image_optim_pack.gemspec +2 -4
  26. data/lib/image_optim/pack.rb +2 -3
  27. data/script/livecheck +29 -2
  28. data/script/run +32 -6
  29. data/script/update_versions +2 -0
  30. data/spec/image_optim/pack_spec.rb +2 -2
  31. data/vendor/{darwin/i386 → darwin-i386}/advpng +0 -0
  32. data/vendor/{darwin/i386 → darwin-i386}/gifsicle +0 -0
  33. data/vendor/{darwin/i386 → darwin-i386}/jhead +0 -0
  34. data/vendor/{darwin/i386 → darwin-i386}/jpeg-recompress +0 -0
  35. data/vendor/{darwin/i386 → darwin-i386}/jpegoptim +0 -0
  36. data/vendor/{darwin/i386 → darwin-i386}/jpegtran +0 -0
  37. data/vendor/{darwin/i386 → darwin-i386}/libjpeg.dylib +0 -0
  38. data/vendor/{darwin/i386 → darwin-i386}/libpng.dylib +0 -0
  39. data/vendor/{darwin/i386 → darwin-i386}/libz.dylib +0 -0
  40. data/vendor/{darwin/i386 → darwin-i386}/optipng +0 -0
  41. data/vendor/darwin-i386/pngcrush +0 -0
  42. data/vendor/{darwin/i386 → darwin-i386}/pngquant +0 -0
  43. data/vendor/{darwin/x86_64 → darwin-x86_64}/advpng +0 -0
  44. data/vendor/{darwin/x86_64 → darwin-x86_64}/gifsicle +0 -0
  45. data/vendor/{darwin/x86_64 → darwin-x86_64}/jhead +0 -0
  46. data/vendor/{darwin/x86_64 → darwin-x86_64}/jpeg-recompress +0 -0
  47. data/vendor/{darwin/x86_64 → darwin-x86_64}/jpegoptim +0 -0
  48. data/vendor/{darwin/x86_64 → darwin-x86_64}/jpegtran +0 -0
  49. data/vendor/{darwin/x86_64 → darwin-x86_64}/libjpeg.dylib +0 -0
  50. data/vendor/{darwin/x86_64 → darwin-x86_64}/libpng.dylib +0 -0
  51. data/vendor/{darwin/x86_64 → darwin-x86_64}/libz.dylib +0 -0
  52. data/vendor/{darwin/x86_64 → darwin-x86_64}/optipng +0 -0
  53. data/vendor/darwin-x86_64/pngcrush +0 -0
  54. data/vendor/{darwin/x86_64 → darwin-x86_64}/pngquant +0 -0
  55. data/vendor/freebsd-amd64/advpng +0 -0
  56. data/vendor/freebsd-amd64/gifsicle +0 -0
  57. data/vendor/freebsd-amd64/jhead +0 -0
  58. data/vendor/freebsd-amd64/jpeg-recompress +0 -0
  59. data/vendor/freebsd-amd64/jpegoptim +0 -0
  60. data/vendor/freebsd-amd64/jpegtran +0 -0
  61. data/vendor/freebsd-amd64/libjpeg.so +0 -0
  62. data/vendor/freebsd-amd64/libpng.so +0 -0
  63. data/vendor/freebsd-amd64/libz.so +0 -0
  64. data/vendor/freebsd-amd64/optipng +0 -0
  65. data/vendor/freebsd-amd64/pngcrush +0 -0
  66. data/vendor/freebsd-amd64/pngquant +0 -0
  67. data/vendor/freebsd-i386/advpng +0 -0
  68. data/vendor/freebsd-i386/gifsicle +0 -0
  69. data/vendor/freebsd-i386/jhead +0 -0
  70. data/vendor/freebsd-i386/jpeg-recompress +0 -0
  71. data/vendor/freebsd-i386/jpegoptim +0 -0
  72. data/vendor/freebsd-i386/jpegtran +0 -0
  73. data/vendor/freebsd-i386/libjpeg.so +0 -0
  74. data/vendor/freebsd-i386/libpng.so +0 -0
  75. data/vendor/freebsd-i386/libz.so +0 -0
  76. data/vendor/freebsd-i386/optipng +0 -0
  77. data/vendor/freebsd-i386/pngcrush +0 -0
  78. data/vendor/freebsd-i386/pngquant +0 -0
  79. data/vendor/{linux/i686 → linux-i686}/advpng +0 -0
  80. data/vendor/{linux/i686 → linux-i686}/gifsicle +0 -0
  81. data/vendor/{linux/i686 → linux-i686}/jhead +0 -0
  82. data/vendor/{linux/i686 → linux-i686}/jpeg-recompress +0 -0
  83. data/vendor/{linux/i686 → linux-i686}/jpegoptim +0 -0
  84. data/vendor/{linux/i686 → linux-i686}/jpegtran +0 -0
  85. data/vendor/{linux/i686 → linux-i686}/libjpeg.so +0 -0
  86. data/vendor/{linux/i686 → linux-i686}/libpng.so +0 -0
  87. data/vendor/{linux/i686 → linux-i686}/libz.so +0 -0
  88. data/vendor/{linux/i686 → linux-i686}/optipng +0 -0
  89. data/vendor/linux-i686/pngcrush +0 -0
  90. data/vendor/{linux/i686 → linux-i686}/pngquant +0 -0
  91. data/vendor/{linux/x86_64 → linux-x86_64}/advpng +0 -0
  92. data/vendor/{linux/x86_64 → linux-x86_64}/gifsicle +0 -0
  93. data/vendor/{linux/x86_64 → linux-x86_64}/jhead +0 -0
  94. data/vendor/{linux/x86_64 → linux-x86_64}/jpeg-recompress +0 -0
  95. data/vendor/{linux/x86_64 → linux-x86_64}/jpegoptim +0 -0
  96. data/vendor/{linux/x86_64 → linux-x86_64}/jpegtran +0 -0
  97. data/vendor/{linux/x86_64 → linux-x86_64}/libjpeg.so +0 -0
  98. data/vendor/{linux/x86_64 → linux-x86_64}/libpng.so +0 -0
  99. data/vendor/{linux/x86_64 → linux-x86_64}/libz.so +0 -0
  100. data/vendor/{linux/x86_64 → linux-x86_64}/optipng +0 -0
  101. data/vendor/linux-x86_64/pngcrush +0 -0
  102. data/vendor/{linux/x86_64 → linux-x86_64}/pngquant +0 -0
  103. data/vendor/openbsd-amd64/advpng +0 -0
  104. data/vendor/openbsd-amd64/gifsicle +0 -0
  105. data/vendor/openbsd-amd64/jhead +0 -0
  106. data/vendor/openbsd-amd64/jpeg-recompress +0 -0
  107. data/vendor/openbsd-amd64/jpegoptim +0 -0
  108. data/vendor/openbsd-amd64/jpegtran +0 -0
  109. data/vendor/openbsd-amd64/libjpeg.so +0 -0
  110. data/vendor/openbsd-amd64/libpng.so +0 -0
  111. data/vendor/openbsd-amd64/libz.so +0 -0
  112. data/vendor/openbsd-amd64/optipng +0 -0
  113. data/vendor/openbsd-amd64/pngcrush +0 -0
  114. data/vendor/openbsd-amd64/pngquant +0 -0
  115. data/vendor/openbsd-i386/advpng +0 -0
  116. data/vendor/openbsd-i386/gifsicle +0 -0
  117. data/vendor/openbsd-i386/jhead +0 -0
  118. data/vendor/openbsd-i386/jpeg-recompress +0 -0
  119. data/vendor/openbsd-i386/jpegoptim +0 -0
  120. data/vendor/openbsd-i386/jpegtran +0 -0
  121. data/vendor/openbsd-i386/libjpeg.so +0 -0
  122. data/vendor/openbsd-i386/libpng.so +0 -0
  123. data/vendor/openbsd-i386/libz.so +0 -0
  124. data/vendor/openbsd-i386/optipng +0 -0
  125. data/vendor/openbsd-i386/pngcrush +0 -0
  126. data/vendor/openbsd-i386/pngquant +0 -0
  127. metadata +115 -93
  128. data/script/vm_init +0 -30
  129. data/vendor/darwin/i386/pngcrush +0 -0
  130. data/vendor/darwin/x86_64/pngcrush +0 -0
  131. data/vendor/linux/i686/pngcrush +0 -0
  132. data/vendor/linux/x86_64/pngcrush +0 -0
File without changes
Binary file
File without changes
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_optim_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-09 00:00:00.000000000 Z
11
+ date: 2016-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: image_optim
@@ -44,34 +44,6 @@ dependencies:
44
44
  - - <
45
45
  - !ruby/object:Gem::Version
46
46
  version: '4'
47
- - !ruby/object:Gem::Dependency
48
- name: versionomy
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 0.4.4
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - ~>
59
- - !ruby/object:Gem::Version
60
- version: 0.4.4
61
- - !ruby/object:Gem::Dependency
62
- name: blockenspiel
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ~>
66
- - !ruby/object:Gem::Version
67
- version: 0.4.0
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - ~>
73
- - !ruby/object:Gem::Version
74
- version: 0.4.0
75
47
  - !ruby/object:Gem::Dependency
76
48
  name: rspec
77
49
  requirement: !ruby/object:Gem::Requirement
@@ -86,20 +58,6 @@ dependencies:
86
58
  - - ~>
87
59
  - !ruby/object:Gem::Version
88
60
  version: '3.0'
89
- - !ruby/object:Gem::Dependency
90
- name: rubocop
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - ~>
94
- - !ruby/object:Gem::Version
95
- version: '0.36'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - ~>
101
- - !ruby/object:Gem::Version
102
- version: '0.36'
103
61
  description:
104
62
  email:
105
63
  executables: []
@@ -137,64 +95,128 @@ files:
137
95
  - acknowledgements/zlib.txt
138
96
  - acknowledgements/zopfli-contributors.txt
139
97
  - acknowledgements/zopfli.txt
98
+ - boxes/.gitignore
99
+ - boxes/.rubocop.yml
100
+ - boxes/Gemfile
101
+ - boxes/Rakefile
102
+ - boxes/definitions/centos-amd64/definition.rb
103
+ - boxes/definitions/centos-amd64/ks.cfg
104
+ - boxes/definitions/centos-i386/definition.rb
105
+ - boxes/definitions/centos-i386/ks.cfg
106
+ - boxes/definitions/centos-postinstall.sh
107
+ - boxes/definitions/freebsd-amd64/definition.rb
108
+ - boxes/definitions/freebsd-amd64/install.sh
109
+ - boxes/definitions/freebsd-i386/definition.rb
110
+ - boxes/definitions/freebsd-i386/install.sh
111
+ - boxes/definitions/freebsd-postinstall.sh
112
+ - boxes/definitions/openbsd-amd64/definition.rb
113
+ - boxes/definitions/openbsd-i386/definition.rb
114
+ - boxes/definitions/openbsd-postinstall.sh
140
115
  - image_optim_pack.gemspec
141
116
  - lib/image_optim/pack.rb
142
117
  - lib/image_optim_pack.rb
143
118
  - script/livecheck
144
119
  - script/run
145
120
  - script/update_versions
146
- - script/vm_init
147
121
  - spec/image_optim/pack_spec.rb
148
122
  - spec/image_optim_spec.rb
149
123
  - spec/spec_helper.rb
150
- - vendor/darwin/i386/advpng
151
- - vendor/darwin/i386/gifsicle
152
- - vendor/darwin/i386/jhead
153
- - vendor/darwin/i386/jpeg-recompress
154
- - vendor/darwin/i386/jpegoptim
155
- - vendor/darwin/i386/jpegtran
156
- - vendor/darwin/i386/libjpeg.dylib
157
- - vendor/darwin/i386/libpng.dylib
158
- - vendor/darwin/i386/libz.dylib
159
- - vendor/darwin/i386/optipng
160
- - vendor/darwin/i386/pngcrush
161
- - vendor/darwin/i386/pngquant
162
- - vendor/darwin/x86_64/advpng
163
- - vendor/darwin/x86_64/gifsicle
164
- - vendor/darwin/x86_64/jhead
165
- - vendor/darwin/x86_64/jpeg-recompress
166
- - vendor/darwin/x86_64/jpegoptim
167
- - vendor/darwin/x86_64/jpegtran
168
- - vendor/darwin/x86_64/libjpeg.dylib
169
- - vendor/darwin/x86_64/libpng.dylib
170
- - vendor/darwin/x86_64/libz.dylib
171
- - vendor/darwin/x86_64/optipng
172
- - vendor/darwin/x86_64/pngcrush
173
- - vendor/darwin/x86_64/pngquant
174
- - vendor/linux/i686/advpng
175
- - vendor/linux/i686/gifsicle
176
- - vendor/linux/i686/jhead
177
- - vendor/linux/i686/jpeg-recompress
178
- - vendor/linux/i686/jpegoptim
179
- - vendor/linux/i686/jpegtran
180
- - vendor/linux/i686/libjpeg.so
181
- - vendor/linux/i686/libpng.so
182
- - vendor/linux/i686/libz.so
183
- - vendor/linux/i686/optipng
184
- - vendor/linux/i686/pngcrush
185
- - vendor/linux/i686/pngquant
186
- - vendor/linux/x86_64/advpng
187
- - vendor/linux/x86_64/gifsicle
188
- - vendor/linux/x86_64/jhead
189
- - vendor/linux/x86_64/jpeg-recompress
190
- - vendor/linux/x86_64/jpegoptim
191
- - vendor/linux/x86_64/jpegtran
192
- - vendor/linux/x86_64/libjpeg.so
193
- - vendor/linux/x86_64/libpng.so
194
- - vendor/linux/x86_64/libz.so
195
- - vendor/linux/x86_64/optipng
196
- - vendor/linux/x86_64/pngcrush
197
- - vendor/linux/x86_64/pngquant
124
+ - vendor/darwin-i386/advpng
125
+ - vendor/darwin-i386/gifsicle
126
+ - vendor/darwin-i386/jhead
127
+ - vendor/darwin-i386/jpeg-recompress
128
+ - vendor/darwin-i386/jpegoptim
129
+ - vendor/darwin-i386/jpegtran
130
+ - vendor/darwin-i386/libjpeg.dylib
131
+ - vendor/darwin-i386/libpng.dylib
132
+ - vendor/darwin-i386/libz.dylib
133
+ - vendor/darwin-i386/optipng
134
+ - vendor/darwin-i386/pngcrush
135
+ - vendor/darwin-i386/pngquant
136
+ - vendor/darwin-x86_64/advpng
137
+ - vendor/darwin-x86_64/gifsicle
138
+ - vendor/darwin-x86_64/jhead
139
+ - vendor/darwin-x86_64/jpeg-recompress
140
+ - vendor/darwin-x86_64/jpegoptim
141
+ - vendor/darwin-x86_64/jpegtran
142
+ - vendor/darwin-x86_64/libjpeg.dylib
143
+ - vendor/darwin-x86_64/libpng.dylib
144
+ - vendor/darwin-x86_64/libz.dylib
145
+ - vendor/darwin-x86_64/optipng
146
+ - vendor/darwin-x86_64/pngcrush
147
+ - vendor/darwin-x86_64/pngquant
148
+ - vendor/freebsd-amd64/advpng
149
+ - vendor/freebsd-amd64/gifsicle
150
+ - vendor/freebsd-amd64/jhead
151
+ - vendor/freebsd-amd64/jpeg-recompress
152
+ - vendor/freebsd-amd64/jpegoptim
153
+ - vendor/freebsd-amd64/jpegtran
154
+ - vendor/freebsd-amd64/libjpeg.so
155
+ - vendor/freebsd-amd64/libpng.so
156
+ - vendor/freebsd-amd64/libz.so
157
+ - vendor/freebsd-amd64/optipng
158
+ - vendor/freebsd-amd64/pngcrush
159
+ - vendor/freebsd-amd64/pngquant
160
+ - vendor/freebsd-i386/advpng
161
+ - vendor/freebsd-i386/gifsicle
162
+ - vendor/freebsd-i386/jhead
163
+ - vendor/freebsd-i386/jpeg-recompress
164
+ - vendor/freebsd-i386/jpegoptim
165
+ - vendor/freebsd-i386/jpegtran
166
+ - vendor/freebsd-i386/libjpeg.so
167
+ - vendor/freebsd-i386/libpng.so
168
+ - vendor/freebsd-i386/libz.so
169
+ - vendor/freebsd-i386/optipng
170
+ - vendor/freebsd-i386/pngcrush
171
+ - vendor/freebsd-i386/pngquant
172
+ - vendor/linux-i686/advpng
173
+ - vendor/linux-i686/gifsicle
174
+ - vendor/linux-i686/jhead
175
+ - vendor/linux-i686/jpeg-recompress
176
+ - vendor/linux-i686/jpegoptim
177
+ - vendor/linux-i686/jpegtran
178
+ - vendor/linux-i686/libjpeg.so
179
+ - vendor/linux-i686/libpng.so
180
+ - vendor/linux-i686/libz.so
181
+ - vendor/linux-i686/optipng
182
+ - vendor/linux-i686/pngcrush
183
+ - vendor/linux-i686/pngquant
184
+ - vendor/linux-x86_64/advpng
185
+ - vendor/linux-x86_64/gifsicle
186
+ - vendor/linux-x86_64/jhead
187
+ - vendor/linux-x86_64/jpeg-recompress
188
+ - vendor/linux-x86_64/jpegoptim
189
+ - vendor/linux-x86_64/jpegtran
190
+ - vendor/linux-x86_64/libjpeg.so
191
+ - vendor/linux-x86_64/libpng.so
192
+ - vendor/linux-x86_64/libz.so
193
+ - vendor/linux-x86_64/optipng
194
+ - vendor/linux-x86_64/pngcrush
195
+ - vendor/linux-x86_64/pngquant
196
+ - vendor/openbsd-amd64/advpng
197
+ - vendor/openbsd-amd64/gifsicle
198
+ - vendor/openbsd-amd64/jhead
199
+ - vendor/openbsd-amd64/jpeg-recompress
200
+ - vendor/openbsd-amd64/jpegoptim
201
+ - vendor/openbsd-amd64/jpegtran
202
+ - vendor/openbsd-amd64/libjpeg.so
203
+ - vendor/openbsd-amd64/libpng.so
204
+ - vendor/openbsd-amd64/libz.so
205
+ - vendor/openbsd-amd64/optipng
206
+ - vendor/openbsd-amd64/pngcrush
207
+ - vendor/openbsd-amd64/pngquant
208
+ - vendor/openbsd-i386/advpng
209
+ - vendor/openbsd-i386/gifsicle
210
+ - vendor/openbsd-i386/jhead
211
+ - vendor/openbsd-i386/jpeg-recompress
212
+ - vendor/openbsd-i386/jpegoptim
213
+ - vendor/openbsd-i386/jpegtran
214
+ - vendor/openbsd-i386/libjpeg.so
215
+ - vendor/openbsd-i386/libpng.so
216
+ - vendor/openbsd-i386/libz.so
217
+ - vendor/openbsd-i386/optipng
218
+ - vendor/openbsd-i386/pngcrush
219
+ - vendor/openbsd-i386/pngquant
198
220
  homepage: http://github.com/toy/image_optim_pack
199
221
  licenses:
200
222
  - MIT
data/script/vm_init DELETED
@@ -1,30 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- present(){
4
- local missing=0
5
- for name in "$@"; do
6
- if command -v "$name" >/dev/null 2>&1; then
7
- echo "got $name"
8
- else
9
- echo "no $name"
10
- missing=1
11
- fi
12
- done
13
- [ $missing -eq 0 ] || return 127
14
- }
15
-
16
- if ! present make wget gcc g++ chrpath perl pkg-config autoconf automake libtool nasm; then
17
- if present apt-get; then
18
- apt-get -y install make wget gcc g++ chrpath perl pkg-config autoconf automake libtool nasm
19
- elif present yum; then
20
- yum -y install make wget gcc gcc-c++ chrpath perl pkg-config autoconf automake libtool nasm
21
- else
22
- echo 'unknown package manager'
23
- exit 1
24
- fi
25
- fi
26
-
27
- if ! make --version 2>&1 | grep -q 'GNU Make'; then
28
- echo 'non gnu make'
29
- exit 1
30
- fi
Binary file
Binary file
Binary file
Binary file