zopfli-bin 0.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 (55) hide show
  1. checksums.yaml +7 -0
  2. data/.document +5 -0
  3. data/.gitmodules +3 -0
  4. data/.testguardrc +1 -0
  5. data/Gemfile +17 -0
  6. data/Gemfile.lock +111 -0
  7. data/LICENSE.txt +20 -0
  8. data/README.rdoc +19 -0
  9. data/Rakefile +39 -0
  10. data/VERSION +1 -0
  11. data/ext/Makefile +8 -0
  12. data/ext/extconf.rb +4 -0
  13. data/lib/zopfli-bin.rb +5 -0
  14. data/lib/zopfli/bin.rb +34 -0
  15. data/test/helper.rb +19 -0
  16. data/test/test_zopfli-bin.rb +33 -0
  17. data/vendor/zopfli/CONTRIBUTORS +7 -0
  18. data/vendor/zopfli/COPYING +201 -0
  19. data/vendor/zopfli/Makefile +37 -0
  20. data/vendor/zopfli/README +32 -0
  21. data/vendor/zopfli/README.zopflipng +35 -0
  22. data/vendor/zopfli/src/zopfli/blocksplitter.c +342 -0
  23. data/vendor/zopfli/src/zopfli/blocksplitter.h +77 -0
  24. data/vendor/zopfli/src/zopfli/cache.c +119 -0
  25. data/vendor/zopfli/src/zopfli/cache.h +66 -0
  26. data/vendor/zopfli/src/zopfli/deflate.c +866 -0
  27. data/vendor/zopfli/src/zopfli/deflate.h +86 -0
  28. data/vendor/zopfli/src/zopfli/gzip_container.c +117 -0
  29. data/vendor/zopfli/src/zopfli/gzip_container.h +50 -0
  30. data/vendor/zopfli/src/zopfli/hash.c +135 -0
  31. data/vendor/zopfli/src/zopfli/hash.h +70 -0
  32. data/vendor/zopfli/src/zopfli/katajainen.c +251 -0
  33. data/vendor/zopfli/src/zopfli/katajainen.h +42 -0
  34. data/vendor/zopfli/src/zopfli/lz77.c +482 -0
  35. data/vendor/zopfli/src/zopfli/lz77.h +129 -0
  36. data/vendor/zopfli/src/zopfli/squeeze.c +546 -0
  37. data/vendor/zopfli/src/zopfli/squeeze.h +60 -0
  38. data/vendor/zopfli/src/zopfli/tree.c +101 -0
  39. data/vendor/zopfli/src/zopfli/tree.h +51 -0
  40. data/vendor/zopfli/src/zopfli/util.c +213 -0
  41. data/vendor/zopfli/src/zopfli/util.h +175 -0
  42. data/vendor/zopfli/src/zopfli/zlib_container.c +79 -0
  43. data/vendor/zopfli/src/zopfli/zlib_container.h +50 -0
  44. data/vendor/zopfli/src/zopfli/zopfli.h +97 -0
  45. data/vendor/zopfli/src/zopfli/zopfli_bin.c +203 -0
  46. data/vendor/zopfli/src/zopfli/zopfli_lib.c +42 -0
  47. data/vendor/zopfli/src/zopflipng/lodepng/lodepng.cpp +6260 -0
  48. data/vendor/zopfli/src/zopflipng/lodepng/lodepng.h +1716 -0
  49. data/vendor/zopfli/src/zopflipng/lodepng/lodepng_util.cpp +656 -0
  50. data/vendor/zopfli/src/zopflipng/lodepng/lodepng_util.h +151 -0
  51. data/vendor/zopfli/src/zopflipng/zopflipng_bin.cc +407 -0
  52. data/vendor/zopfli/src/zopflipng/zopflipng_lib.cc +425 -0
  53. data/vendor/zopfli/src/zopflipng/zopflipng_lib.h +79 -0
  54. data/zopfli-bin.gemspec +119 -0
  55. metadata +225 -0
@@ -0,0 +1,119 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: zopfli-bin 0.1.0 ruby lib
6
+ # stub: ext/extconf.rb
7
+
8
+ Gem::Specification.new do |s|
9
+ s.name = "zopfli-bin"
10
+ s.version = "0.1.0"
11
+
12
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
+ s.require_paths = ["lib"]
14
+ s.authors = ["Chetan Sarva"]
15
+ s.date = "2014-10-21"
16
+ s.description = "A thin wrapper around the zopfli binary (included and built as an ext)"
17
+ s.email = "chetan@pixelcop.net"
18
+ s.extensions = ["ext/extconf.rb"]
19
+ s.extra_rdoc_files = [
20
+ "LICENSE.txt",
21
+ "README.rdoc"
22
+ ]
23
+ s.files = [
24
+ ".document",
25
+ ".gitmodules",
26
+ ".testguardrc",
27
+ "Gemfile",
28
+ "Gemfile.lock",
29
+ "LICENSE.txt",
30
+ "README.rdoc",
31
+ "Rakefile",
32
+ "VERSION",
33
+ "ext/Makefile",
34
+ "ext/extconf.rb",
35
+ "lib/zopfli-bin.rb",
36
+ "lib/zopfli/bin.rb",
37
+ "test/helper.rb",
38
+ "test/test_zopfli-bin.rb",
39
+ "vendor/zopfli/CONTRIBUTORS",
40
+ "vendor/zopfli/COPYING",
41
+ "vendor/zopfli/Makefile",
42
+ "vendor/zopfli/README",
43
+ "vendor/zopfli/README.zopflipng",
44
+ "vendor/zopfli/src/zopfli/blocksplitter.c",
45
+ "vendor/zopfli/src/zopfli/blocksplitter.h",
46
+ "vendor/zopfli/src/zopfli/cache.c",
47
+ "vendor/zopfli/src/zopfli/cache.h",
48
+ "vendor/zopfli/src/zopfli/deflate.c",
49
+ "vendor/zopfli/src/zopfli/deflate.h",
50
+ "vendor/zopfli/src/zopfli/gzip_container.c",
51
+ "vendor/zopfli/src/zopfli/gzip_container.h",
52
+ "vendor/zopfli/src/zopfli/hash.c",
53
+ "vendor/zopfli/src/zopfli/hash.h",
54
+ "vendor/zopfli/src/zopfli/katajainen.c",
55
+ "vendor/zopfli/src/zopfli/katajainen.h",
56
+ "vendor/zopfli/src/zopfli/lz77.c",
57
+ "vendor/zopfli/src/zopfli/lz77.h",
58
+ "vendor/zopfli/src/zopfli/squeeze.c",
59
+ "vendor/zopfli/src/zopfli/squeeze.h",
60
+ "vendor/zopfli/src/zopfli/tree.c",
61
+ "vendor/zopfli/src/zopfli/tree.h",
62
+ "vendor/zopfli/src/zopfli/util.c",
63
+ "vendor/zopfli/src/zopfli/util.h",
64
+ "vendor/zopfli/src/zopfli/zlib_container.c",
65
+ "vendor/zopfli/src/zopfli/zlib_container.h",
66
+ "vendor/zopfli/src/zopfli/zopfli.h",
67
+ "vendor/zopfli/src/zopfli/zopfli_bin.c",
68
+ "vendor/zopfli/src/zopfli/zopfli_lib.c",
69
+ "vendor/zopfli/src/zopflipng/lodepng/lodepng.cpp",
70
+ "vendor/zopfli/src/zopflipng/lodepng/lodepng.h",
71
+ "vendor/zopfli/src/zopflipng/lodepng/lodepng_util.cpp",
72
+ "vendor/zopfli/src/zopflipng/lodepng/lodepng_util.h",
73
+ "vendor/zopfli/src/zopflipng/zopflipng_bin.cc",
74
+ "vendor/zopfli/src/zopflipng/zopflipng_lib.cc",
75
+ "vendor/zopfli/src/zopflipng/zopflipng_lib.h",
76
+ "zopfli-bin.gemspec"
77
+ ]
78
+ s.homepage = "http://github.com/chetan/zopfli-bin"
79
+ s.licenses = ["MIT"]
80
+ s.rubygems_version = "2.2.2"
81
+ s.summary = "A thin wrapper around the zopfli binary"
82
+
83
+ if s.respond_to? :specification_version then
84
+ s.specification_version = 4
85
+
86
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
87
+ s.add_runtime_dependency(%q<mixlib-shellout>, [">= 0"])
88
+ s.add_development_dependency(%q<yard>, ["~> 0.7"])
89
+ s.add_development_dependency(%q<bundler>, ["~> 1.0"])
90
+ s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
91
+ s.add_development_dependency(%q<micron>, [">= 0"])
92
+ s.add_development_dependency(%q<test_guard>, [">= 0"])
93
+ s.add_development_dependency(%q<rb-inotify>, [">= 0"])
94
+ s.add_development_dependency(%q<rb-fsevent>, [">= 0"])
95
+ s.add_development_dependency(%q<rb-fchange>, [">= 0"])
96
+ else
97
+ s.add_dependency(%q<mixlib-shellout>, [">= 0"])
98
+ s.add_dependency(%q<yard>, ["~> 0.7"])
99
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
100
+ s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
101
+ s.add_dependency(%q<micron>, [">= 0"])
102
+ s.add_dependency(%q<test_guard>, [">= 0"])
103
+ s.add_dependency(%q<rb-inotify>, [">= 0"])
104
+ s.add_dependency(%q<rb-fsevent>, [">= 0"])
105
+ s.add_dependency(%q<rb-fchange>, [">= 0"])
106
+ end
107
+ else
108
+ s.add_dependency(%q<mixlib-shellout>, [">= 0"])
109
+ s.add_dependency(%q<yard>, ["~> 0.7"])
110
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
111
+ s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
112
+ s.add_dependency(%q<micron>, [">= 0"])
113
+ s.add_dependency(%q<test_guard>, [">= 0"])
114
+ s.add_dependency(%q<rb-inotify>, [">= 0"])
115
+ s.add_dependency(%q<rb-fsevent>, [">= 0"])
116
+ s.add_dependency(%q<rb-fchange>, [">= 0"])
117
+ end
118
+ end
119
+
metadata ADDED
@@ -0,0 +1,225 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zopfli-bin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Chetan Sarva
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: mixlib-shellout
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: yard
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.7'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.7'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jeweler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.0.1
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.0.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: micron
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: test_guard
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rb-inotify
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rb-fsevent
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rb-fchange
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: A thin wrapper around the zopfli binary (included and built as an ext)
140
+ email: chetan@pixelcop.net
141
+ executables: []
142
+ extensions:
143
+ - ext/extconf.rb
144
+ extra_rdoc_files:
145
+ - LICENSE.txt
146
+ - README.rdoc
147
+ files:
148
+ - ".document"
149
+ - ".gitmodules"
150
+ - ".testguardrc"
151
+ - Gemfile
152
+ - Gemfile.lock
153
+ - LICENSE.txt
154
+ - README.rdoc
155
+ - Rakefile
156
+ - VERSION
157
+ - ext/Makefile
158
+ - ext/extconf.rb
159
+ - lib/zopfli-bin.rb
160
+ - lib/zopfli/bin.rb
161
+ - test/helper.rb
162
+ - test/test_zopfli-bin.rb
163
+ - vendor/zopfli/CONTRIBUTORS
164
+ - vendor/zopfli/COPYING
165
+ - vendor/zopfli/Makefile
166
+ - vendor/zopfli/README
167
+ - vendor/zopfli/README.zopflipng
168
+ - vendor/zopfli/src/zopfli/blocksplitter.c
169
+ - vendor/zopfli/src/zopfli/blocksplitter.h
170
+ - vendor/zopfli/src/zopfli/cache.c
171
+ - vendor/zopfli/src/zopfli/cache.h
172
+ - vendor/zopfli/src/zopfli/deflate.c
173
+ - vendor/zopfli/src/zopfli/deflate.h
174
+ - vendor/zopfli/src/zopfli/gzip_container.c
175
+ - vendor/zopfli/src/zopfli/gzip_container.h
176
+ - vendor/zopfli/src/zopfli/hash.c
177
+ - vendor/zopfli/src/zopfli/hash.h
178
+ - vendor/zopfli/src/zopfli/katajainen.c
179
+ - vendor/zopfli/src/zopfli/katajainen.h
180
+ - vendor/zopfli/src/zopfli/lz77.c
181
+ - vendor/zopfli/src/zopfli/lz77.h
182
+ - vendor/zopfli/src/zopfli/squeeze.c
183
+ - vendor/zopfli/src/zopfli/squeeze.h
184
+ - vendor/zopfli/src/zopfli/tree.c
185
+ - vendor/zopfli/src/zopfli/tree.h
186
+ - vendor/zopfli/src/zopfli/util.c
187
+ - vendor/zopfli/src/zopfli/util.h
188
+ - vendor/zopfli/src/zopfli/zlib_container.c
189
+ - vendor/zopfli/src/zopfli/zlib_container.h
190
+ - vendor/zopfli/src/zopfli/zopfli.h
191
+ - vendor/zopfli/src/zopfli/zopfli_bin.c
192
+ - vendor/zopfli/src/zopfli/zopfli_lib.c
193
+ - vendor/zopfli/src/zopflipng/lodepng/lodepng.cpp
194
+ - vendor/zopfli/src/zopflipng/lodepng/lodepng.h
195
+ - vendor/zopfli/src/zopflipng/lodepng/lodepng_util.cpp
196
+ - vendor/zopfli/src/zopflipng/lodepng/lodepng_util.h
197
+ - vendor/zopfli/src/zopflipng/zopflipng_bin.cc
198
+ - vendor/zopfli/src/zopflipng/zopflipng_lib.cc
199
+ - vendor/zopfli/src/zopflipng/zopflipng_lib.h
200
+ - zopfli-bin.gemspec
201
+ homepage: http://github.com/chetan/zopfli-bin
202
+ licenses:
203
+ - MIT
204
+ metadata: {}
205
+ post_install_message:
206
+ rdoc_options: []
207
+ require_paths:
208
+ - lib
209
+ required_ruby_version: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ">="
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ required_rubygems_version: !ruby/object:Gem::Requirement
215
+ requirements:
216
+ - - ">="
217
+ - !ruby/object:Gem::Version
218
+ version: '0'
219
+ requirements: []
220
+ rubyforge_project:
221
+ rubygems_version: 2.2.2
222
+ signing_key:
223
+ specification_version: 4
224
+ summary: A thin wrapper around the zopfli binary
225
+ test_files: []