chunky_bits 0.0.1

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.
@@ -0,0 +1,9 @@
1
+ .DS_Store
2
+ spec/resources/_*.png
3
+ /pkg
4
+ /tmp
5
+ /doc
6
+ /.yardoc
7
+ /.bundle
8
+ Gemfile.lock
9
+ *.rbc
@@ -0,0 +1,8 @@
1
+ infinity_test do
2
+
3
+ use :rubies => %w(1.8.6 1.8.7 1.9.2 ree jruby rbx), :test_framework => :rspec
4
+
5
+ before(:each_ruby) do |environment|
6
+ environment.system('bundle install')
7
+ end
8
+ end
@@ -0,0 +1,9 @@
1
+ rvm:
2
+ - 1.8.6
3
+ - 1.8.7
4
+ - 1.9.1
5
+ - 1.9.2
6
+ - ruby-head
7
+ - ree
8
+ - rbx
9
+ - jruby
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source :rubygems
2
+ gemspec
3
+
4
+ platforms :jruby do
5
+ gem 'jruby-openssl'
6
+ end
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2010 Willem van Bergen
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,5 @@
1
+ = ChunkyBits
2
+
3
+ This library is an add-on for ChunkyPNG. It contains pure Ruby implementations of image processing algorithms that are out of scope for ChunkyPNG itself.
4
+
5
+ This gem is mostly meant as a learning tool. Feel free to fork this project to add new algorithms, even if you do not consider yourself an expert on the topic.
@@ -0,0 +1,4 @@
1
+ Dir['tasks/*.rake'].each { |file| load(file) }
2
+
3
+ GithubGem::RakeTasks.new(:gem)
4
+ task :default => [:spec]
@@ -0,0 +1,35 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = 'chunky_bits'
3
+ s.rubyforge_project = 'chunky_png'
4
+
5
+ # Do not change the version and date fields by hand. This will be done
6
+ # automatically by the gem release script.
7
+ s.version = "0.0.1"
8
+ s.date = "2011-07-02"
9
+
10
+ s.summary = "Collection of image processing algorithms built on top of ChunkyPNG"
11
+ s.description = <<-EOT
12
+ This library is an add-on for ChunkyPNG. It contains pure Ruby implementations of
13
+ image processing algorithms that are out of scope for ChunkyPNG itself.
14
+
15
+ This gem is mostly meant as a learning tool. Feel free to fork this project to add
16
+ new algorithms, even if you do not consider yourself an expert on the topic.
17
+ EOT
18
+
19
+ s.authors = ['Willem van Bergen']
20
+ s.email = ['willem@railsdoctors.com']
21
+ s.homepage = 'https://github.com/wvanbergen/chunky_bits/wiki'
22
+
23
+ s.add_runtime_dependency('chunky_png', '~> 1')
24
+
25
+ s.add_development_dependency('rake')
26
+ s.add_development_dependency('rspec', '~> 2')
27
+
28
+ s.rdoc_options << '--title' << s.name << '--main' << 'README.rdoc' << '--line-numbers' << '--inline-source'
29
+ s.extra_rdoc_files = ['README.rdoc']
30
+
31
+ # Do not change the files and test_files fields by hand. This will be done
32
+ # automatically by the gem release script.
33
+ s.files = %w(.gitignore .infinity_test .travis.yml Gemfile LICENSE README.rdoc Rakefile chunky_bits.gemspec lib/chunky_bits.rb lib/chunky_bits/all.rb spec/chunky_bits_spec.rb spec/spec_helper.rb tasks/github-gem.rake)
34
+ s.test_files = %w(spec/chunky_bits_spec.rb)
35
+ end
@@ -0,0 +1,5 @@
1
+ require 'chunky_png'
2
+
3
+ module ChunkyBits
4
+ VERSION = "0.0.1"
5
+ end
@@ -0,0 +1,4 @@
1
+ require 'chunky_bits'
2
+
3
+ ### include all files
4
+ # require 'chunky_bits'
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe ChunkyBits do
4
+ it "should have a VERSION constant" do
5
+ ChunkyBits.const_defined?('VERSION').should be_true
6
+ end
7
+
8
+ it "should load ChunkyPNG" do
9
+ Object.const_defined?('ChunkyPNG').should be_true
10
+ end
11
+ end
@@ -0,0 +1,35 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ require 'chunky_bits'
5
+
6
+ module ResourceFileHelper
7
+
8
+ def resource_file(name)
9
+ File.expand_path("./resources/#{name}", File.dirname(__FILE__))
10
+ end
11
+
12
+ def resource_data(name)
13
+ data = nil
14
+ File.open(resource_file(name), 'rb') { |f| data = f.read }
15
+ data
16
+ end
17
+
18
+ def reference_canvas(name)
19
+ ChunkyPNG::Canvas.from_file(resource_file("#{name}.png"))
20
+ end
21
+
22
+ def reference_image(name)
23
+ ChunkyPNG::Image.from_file(resource_file("#{name}.png"))
24
+ end
25
+
26
+ def display(png)
27
+ filename = resource_file('_tmp.png')
28
+ png.save(filename)
29
+ `open #{filename}`
30
+ end
31
+ end
32
+
33
+ RSpec.configure do |config|
34
+ config.include ResourceFileHelper
35
+ end
@@ -0,0 +1,367 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'rake/tasklib'
4
+ require 'date'
5
+ require 'set'
6
+
7
+ module GithubGem
8
+
9
+ # Detects the gemspc file of this project using heuristics.
10
+ def self.detect_gemspec_file
11
+ FileList['*.gemspec'].first
12
+ end
13
+
14
+ # Detects the main include file of this project using heuristics
15
+ def self.detect_main_include
16
+ if File.exist?(File.expand_path("../lib/#{File.basename(detect_gemspec_file, '.gemspec').gsub(/-/, '/')}.rb", detect_gemspec_file))
17
+ "lib/#{File.basename(detect_gemspec_file, '.gemspec').gsub(/-/, '/')}.rb"
18
+ elsif FileList['lib/*.rb'].length == 1
19
+ FileList['lib/*.rb'].first
20
+ else
21
+ nil
22
+ end
23
+ end
24
+
25
+ class RakeTasks
26
+
27
+ include Rake::DSL if Rake.const_defined?('DSL')
28
+
29
+ attr_reader :gemspec, :modified_files
30
+ attr_accessor :gemspec_file, :task_namespace, :main_include, :root_dir, :spec_pattern, :test_pattern, :remote, :remote_branch, :local_branch
31
+
32
+ # Initializes the settings, yields itself for configuration
33
+ # and defines the rake tasks based on the gemspec file.
34
+ def initialize(task_namespace = :gem)
35
+ @gemspec_file = GithubGem.detect_gemspec_file
36
+ @task_namespace = task_namespace
37
+ @main_include = GithubGem.detect_main_include
38
+ @modified_files = Set.new
39
+ @root_dir = Dir.pwd
40
+ @test_pattern = 'test/**/*_test.rb'
41
+ @spec_pattern = 'spec/**/*_spec.rb'
42
+ @local_branch = 'master'
43
+ @remote = 'origin'
44
+ @remote_branch = 'master'
45
+
46
+ yield(self) if block_given?
47
+
48
+ load_gemspec!
49
+ define_tasks!
50
+ end
51
+
52
+ protected
53
+
54
+ def git
55
+ @git ||= ENV['GIT'] || 'git'
56
+ end
57
+
58
+ # Define Unit test tasks
59
+ def define_test_tasks!
60
+ require 'rake/testtask'
61
+
62
+ namespace(:test) do
63
+ Rake::TestTask.new(:basic) do |t|
64
+ t.pattern = test_pattern
65
+ t.verbose = true
66
+ t.libs << 'test'
67
+ end
68
+ end
69
+
70
+ desc "Run all unit tests for #{gemspec.name}"
71
+ task(:test => ['test:basic'])
72
+ end
73
+
74
+ # Defines RSpec tasks
75
+ def define_rspec_tasks!
76
+ require 'rspec/core/rake_task'
77
+
78
+ namespace(:spec) do
79
+ desc "Verify all RSpec examples for #{gemspec.name}"
80
+ RSpec::Core::RakeTask.new(:basic) do |t|
81
+ t.pattern = spec_pattern
82
+ end
83
+
84
+ desc "Verify all RSpec examples for #{gemspec.name} and output specdoc"
85
+ RSpec::Core::RakeTask.new(:specdoc) do |t|
86
+ t.pattern = spec_pattern
87
+ t.rspec_opts = ['--format', 'documentation', '--color']
88
+ end
89
+
90
+ desc "Run RCov on specs for #{gemspec.name}"
91
+ RSpec::Core::RakeTask.new(:rcov) do |t|
92
+ t.pattern = spec_pattern
93
+ t.rcov = true
94
+ t.rcov_opts = ['--exclude', '"spec/*,gems/*"', '--rails']
95
+ end
96
+ end
97
+
98
+ desc "Verify all RSpec examples for #{gemspec.name} and output specdoc"
99
+ task(:spec => ['spec:specdoc'])
100
+ end
101
+
102
+ # Defines the rake tasks
103
+ def define_tasks!
104
+
105
+ define_test_tasks! if has_tests?
106
+ define_rspec_tasks! if has_specs?
107
+
108
+ namespace(@task_namespace) do
109
+ desc "Updates the filelist in the gemspec file"
110
+ task(:manifest) { manifest_task }
111
+
112
+ desc "Builds the .gem package"
113
+ task(:build => :manifest) { build_task }
114
+
115
+ desc "Sets the version of the gem in the gemspec"
116
+ task(:set_version => [:check_version, :check_current_branch]) { version_task }
117
+ task(:check_version => :fetch_origin) { check_version_task }
118
+
119
+ task(:fetch_origin) { fetch_origin_task }
120
+ task(:check_current_branch) { check_current_branch_task }
121
+ task(:check_clean_status) { check_clean_status_task }
122
+ task(:check_not_diverged => :fetch_origin) { check_not_diverged_task }
123
+
124
+ checks = [:check_current_branch, :check_clean_status, :check_not_diverged, :check_version]
125
+ checks.unshift('spec:basic') if has_specs?
126
+ checks.unshift('test:basic') if has_tests?
127
+ # checks.push << [:check_rubyforge] if gemspec.rubyforge_project
128
+
129
+ desc "Perform all checks that would occur before a release"
130
+ task(:release_checks => checks)
131
+
132
+ release_tasks = [:release_checks, :set_version, :build, :github_release, :gemcutter_release]
133
+ # release_tasks << [:rubyforge_release] if gemspec.rubyforge_project
134
+
135
+ desc "Release a new version of the gem using the VERSION environment variable"
136
+ task(:release => release_tasks) { release_task }
137
+
138
+ namespace(:release) do
139
+ desc "Release the next version of the gem, by incrementing the last version segment by 1"
140
+ task(:next => [:next_version] + release_tasks) { release_task }
141
+
142
+ desc "Release the next version of the gem, using a patch increment (0.0.1)"
143
+ task(:patch => [:next_patch_version] + release_tasks) { release_task }
144
+
145
+ desc "Release the next version of the gem, using a minor increment (0.1.0)"
146
+ task(:minor => [:next_minor_version] + release_tasks) { release_task }
147
+
148
+ desc "Release the next version of the gem, using a major increment (1.0.0)"
149
+ task(:major => [:next_major_version] + release_tasks) { release_task }
150
+ end
151
+
152
+ # task(:check_rubyforge) { check_rubyforge_task }
153
+ # task(:rubyforge_release) { rubyforge_release_task }
154
+ task(:gemcutter_release) { gemcutter_release_task }
155
+ task(:github_release => [:commit_modified_files, :tag_version]) { github_release_task }
156
+ task(:tag_version) { tag_version_task }
157
+ task(:commit_modified_files) { commit_modified_files_task }
158
+
159
+ task(:next_version) { next_version_task }
160
+ task(:next_patch_version) { next_version_task(:patch) }
161
+ task(:next_minor_version) { next_version_task(:minor) }
162
+ task(:next_major_version) { next_version_task(:major) }
163
+
164
+ desc "Updates the gem release tasks with the latest version on Github"
165
+ task(:update_tasks) { update_tasks_task }
166
+ end
167
+ end
168
+
169
+ # Updates the files list and test_files list in the gemspec file using the list of files
170
+ # in the repository and the spec/test file pattern.
171
+ def manifest_task
172
+ # Load all the gem's files using "git ls-files"
173
+ repository_files = `#{git} ls-files`.split("\n")
174
+ test_files = Dir[test_pattern] + Dir[spec_pattern]
175
+
176
+ update_gemspec(:files, repository_files)
177
+ update_gemspec(:test_files, repository_files & test_files)
178
+ end
179
+
180
+ # Builds the gem
181
+ def build_task
182
+ sh "gem build -q #{gemspec_file}"
183
+ Dir.mkdir('pkg') unless File.exist?('pkg')
184
+ sh "mv #{gemspec.name}-#{gemspec.version}.gem pkg/#{gemspec.name}-#{gemspec.version}.gem"
185
+ end
186
+
187
+ def newest_version
188
+ `#{git} tag`.split("\n").map { |tag| tag.split('-').last }.compact.map { |v| Gem::Version.new(v) }.max || Gem::Version.new('0.0.0')
189
+ end
190
+
191
+ def next_version(increment = nil)
192
+ next_version = newest_version.segments
193
+ increment_index = case increment
194
+ when :micro then 3
195
+ when :patch then 2
196
+ when :minor then 1
197
+ when :major then 0
198
+ else next_version.length - 1
199
+ end
200
+
201
+ next_version[increment_index] ||= 0
202
+ next_version[increment_index] = next_version[increment_index].succ
203
+ ((increment_index + 1)...next_version.length).each { |i| next_version[i] = 0 }
204
+
205
+ Gem::Version.new(next_version.join('.'))
206
+ end
207
+
208
+ def next_version_task(increment = nil)
209
+ ENV['VERSION'] = next_version(increment).version
210
+ puts "Releasing version #{ENV['VERSION']}..."
211
+ end
212
+
213
+ # Updates the version number in the gemspec file, the VERSION constant in the main
214
+ # include file and the contents of the VERSION file.
215
+ def version_task
216
+ update_gemspec(:version, ENV['VERSION']) if ENV['VERSION']
217
+ update_gemspec(:date, Date.today)
218
+
219
+ update_version_file(gemspec.version)
220
+ update_version_constant(gemspec.version)
221
+ end
222
+
223
+ def check_version_task
224
+ raise "#{ENV['VERSION']} is not a valid version number!" if ENV['VERSION'] && !Gem::Version.correct?(ENV['VERSION'])
225
+ proposed_version = Gem::Version.new((ENV['VERSION'] || gemspec.version).dup)
226
+ raise "This version (#{proposed_version}) is not higher than the highest tagged version (#{newest_version})" if newest_version >= proposed_version
227
+ end
228
+
229
+ # Checks whether the current branch is not diverged from the remote branch
230
+ def check_not_diverged_task
231
+ raise "The current branch is diverged from the remote branch!" if `#{git} rev-list HEAD..#{remote}/#{remote_branch}`.split("\n").any?
232
+ end
233
+
234
+ # Checks whether the repository status ic clean
235
+ def check_clean_status_task
236
+ raise "The current working copy contains modifications" if `#{git} ls-files -m`.split("\n").any?
237
+ end
238
+
239
+ # Checks whether the current branch is correct
240
+ def check_current_branch_task
241
+ raise "Currently not on #{local_branch} branch!" unless `#{git} branch`.split("\n").detect { |b| /^\* / =~ b } == "* #{local_branch}"
242
+ end
243
+
244
+ # Fetches the latest updates from Github
245
+ def fetch_origin_task
246
+ sh git, 'fetch', remote
247
+ end
248
+
249
+ # Commits every file that has been changed by the release task.
250
+ def commit_modified_files_task
251
+ really_modified = `#{git} ls-files -m #{modified_files.entries.join(' ')}`.split("\n")
252
+ if really_modified.any?
253
+ really_modified.each { |file| sh git, 'add', file }
254
+ sh git, 'commit', '-m', "Released #{gemspec.name} gem version #{gemspec.version}."
255
+ end
256
+ end
257
+
258
+ # Adds a tag for the released version
259
+ def tag_version_task
260
+ sh git, 'tag', '-a', "#{gemspec.name}-#{gemspec.version}", '-m', "Released #{gemspec.name} gem version #{gemspec.version}."
261
+ end
262
+
263
+ # Pushes the changes and tag to github
264
+ def github_release_task
265
+ sh git, 'push', '--tags', remote, remote_branch
266
+ end
267
+
268
+ def gemcutter_release_task
269
+ sh "gem", 'push', "pkg/#{gemspec.name}-#{gemspec.version}.gem"
270
+ end
271
+
272
+ # Gem release task.
273
+ # All work is done by the task's dependencies, so just display a release completed message.
274
+ def release_task
275
+ puts
276
+ puts "Release successful."
277
+ end
278
+
279
+ private
280
+
281
+ # Checks whether this project has any RSpec files
282
+ def has_specs?
283
+ FileList[spec_pattern].any?
284
+ end
285
+
286
+ # Checks whether this project has any unit test files
287
+ def has_tests?
288
+ FileList[test_pattern].any?
289
+ end
290
+
291
+ # Loads the gemspec file
292
+ def load_gemspec!
293
+ @gemspec = eval(File.read(@gemspec_file))
294
+ end
295
+
296
+ # Updates the VERSION file with the new version
297
+ def update_version_file(version)
298
+ if File.exists?('VERSION')
299
+ File.open('VERSION', 'w') { |f| f << version.to_s }
300
+ modified_files << 'VERSION'
301
+ end
302
+ end
303
+
304
+ # Updates the VERSION constant in the main include file if it exists
305
+ def update_version_constant(version)
306
+ if main_include && File.exist?(main_include)
307
+ file_contents = File.read(main_include)
308
+ if file_contents.sub!(/^(\s+VERSION\s*=\s*)[^\s].*$/) { $1 + version.to_s.inspect }
309
+ File.open(main_include, 'w') { |f| f << file_contents }
310
+ modified_files << main_include
311
+ end
312
+ end
313
+ end
314
+
315
+ # Updates an attribute of the gemspec file.
316
+ # This function will open the file, and search/replace the attribute using a regular expression.
317
+ def update_gemspec(attribute, new_value, literal = false)
318
+
319
+ unless literal
320
+ new_value = case new_value
321
+ when Array then "%w(#{new_value.join(' ')})"
322
+ when Hash, String then new_value.inspect
323
+ when Date then new_value.strftime('%Y-%m-%d').inspect
324
+ else raise "Cannot write value #{new_value.inspect} to gemspec file!"
325
+ end
326
+ end
327
+
328
+ spec = File.read(gemspec_file)
329
+ regexp = Regexp.new('^(\s+\w+\.' + Regexp.quote(attribute.to_s) + '\s*=\s*)[^\s].*$')
330
+ if spec.sub!(regexp) { $1 + new_value }
331
+ File.open(gemspec_file, 'w') { |f| f << spec }
332
+ modified_files << gemspec_file
333
+
334
+ # Reload the gemspec so the changes are incorporated
335
+ load_gemspec!
336
+
337
+ # Also mark the Gemfile.lock file as changed because of the new version.
338
+ modified_files << 'Gemfile.lock' if File.exist?(File.join(root_dir, 'Gemfile.lock'))
339
+ end
340
+ end
341
+
342
+ # Updates the tasks file using the latest file found on Github
343
+ def update_tasks_task
344
+ require 'net/https'
345
+ require 'uri'
346
+
347
+ uri = URI.parse('https://raw.github.com/wvanbergen/github-gem/master/tasks/github-gem.rake')
348
+ http = Net::HTTP.new(uri.host, uri.port)
349
+ http.use_ssl = true
350
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
351
+ response = http.request(Net::HTTP::Get.new(uri.path))
352
+
353
+ if Net::HTTPSuccess === response
354
+ open(__FILE__, "w") { |file| file.write(response.body) }
355
+ relative_file = File.expand_path(__FILE__).sub(%r[^#{@root_dir}/], '')
356
+ if `#{git} ls-files -m #{relative_file}`.split("\n").any?
357
+ sh git, 'add', relative_file
358
+ sh git, 'commit', '-m', "Updated to latest gem release management tasks."
359
+ else
360
+ puts "Release managament tasks already are at the latest version."
361
+ end
362
+ else
363
+ raise "Download failed with HTTP status #{response.code}!"
364
+ end
365
+ end
366
+ end
367
+ end
metadata ADDED
@@ -0,0 +1,120 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: chunky_bits
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1
9
+ version: 0.0.1
10
+ platform: ruby
11
+ authors:
12
+ - Willem van Bergen
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-07-02 00:00:00 -04:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: chunky_png
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 1
30
+ version: "1"
31
+ type: :runtime
32
+ version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
34
+ name: rake
35
+ prerelease: false
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ type: :development
45
+ version_requirements: *id002
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec
48
+ prerelease: false
49
+ requirement: &id003 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ segments:
55
+ - 2
56
+ version: "2"
57
+ type: :development
58
+ version_requirements: *id003
59
+ description: " This library is an add-on for ChunkyPNG. It contains pure Ruby implementations of \n image processing algorithms that are out of scope for ChunkyPNG itself. \n \n This gem is mostly meant as a learning tool. Feel free to fork this project to add\n new algorithms, even if you do not consider yourself an expert on the topic.\n"
60
+ email:
61
+ - willem@railsdoctors.com
62
+ executables: []
63
+
64
+ extensions: []
65
+
66
+ extra_rdoc_files:
67
+ - README.rdoc
68
+ files:
69
+ - .gitignore
70
+ - .infinity_test
71
+ - .travis.yml
72
+ - Gemfile
73
+ - LICENSE
74
+ - README.rdoc
75
+ - Rakefile
76
+ - chunky_bits.gemspec
77
+ - lib/chunky_bits.rb
78
+ - lib/chunky_bits/all.rb
79
+ - spec/chunky_bits_spec.rb
80
+ - spec/spec_helper.rb
81
+ - tasks/github-gem.rake
82
+ has_rdoc: true
83
+ homepage: https://github.com/wvanbergen/chunky_bits/wiki
84
+ licenses: []
85
+
86
+ post_install_message:
87
+ rdoc_options:
88
+ - --title
89
+ - chunky_bits
90
+ - --main
91
+ - README.rdoc
92
+ - --line-numbers
93
+ - --inline-source
94
+ require_paths:
95
+ - lib
96
+ required_ruby_version: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ segments:
102
+ - 0
103
+ version: "0"
104
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ segments:
110
+ - 0
111
+ version: "0"
112
+ requirements: []
113
+
114
+ rubyforge_project: chunky_png
115
+ rubygems_version: 1.3.7
116
+ signing_key:
117
+ specification_version: 3
118
+ summary: Collection of image processing algorithms built on top of ChunkyPNG
119
+ test_files:
120
+ - spec/chunky_bits_spec.rb