jpeg.gemspec in jpeg-0.3.3 vs jpeg.gemspec in jpeg-0.4.0
- old
+ new
@@ -1,73 +1,26 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
-# -*- encoding: utf-8 -*-
+# coding: utf-8
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'jpeg/version'
-Gem::Specification.new do |s|
- s.name = "jpeg"
- s.version = "0.3.3"
+Gem::Specification.new do |spec|
+ spec.name = "jpeg"
+ spec.version = Jpeg::VERSION
+ spec.authors = ["masarakki"]
+ spec.email = ["masaki@hisme.net"]
+ spec.extensions = ["ext/jpeg/extconf.rb"]
+ spec.summary = "libjpeg wrapper for ruby"
+ spec.description = "libjpeg wrapper for ruby"
+ spec.homepage = "http://github.com/masarakki/jpeg"
+ spec.license = "MIT"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["masarakki"]
- s.date = "2012-06-28"
- s.description = "libjpeg wrapper for ruby"
- s.email = "masaki@hisme.net"
- s.extensions = ["ext/jpeg/extconf.rb"]
- s.extra_rdoc_files = [
- "LICENSE.txt",
- "README.md"
- ]
- s.files = [
- ".document",
- ".rspec",
- ".travis.yml",
- "Gemfile",
- "LICENSE.txt",
- "README.md",
- "Rakefile",
- "VERSION",
- "ext/jpeg/extconf.rb",
- "ext/jpeg/jpeg.c",
- "ext/jpeg/jpeg.h",
- "ext/jpeg/jpeg_error.c",
- "ext/jpeg/jpeg_error.h",
- "ext/jpeg/jpeg_jpeg.c",
- "ext/jpeg/jpeg_jpeg.h",
- "jpeg.gemspec",
- "lib/jpeg.rb",
- "spec/jpeg_spec.rb",
- "spec/samples/sample.jpg",
- "spec/samples/sample.png",
- "spec/spec_helper.rb"
- ]
- s.homepage = "http://github.com/masarakki/jpeg"
- s.licenses = ["MIT"]
- s.require_paths = ["lib"]
- s.rubygems_version = "1.8.24"
- s.summary = "libjpeg wrapper for ruby"
+ spec.files = `git ls-files -z`.split("\x0")
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.require_paths = ["lib"]
- if s.respond_to? :specification_version then
- s.specification_version = 3
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<rake-compiler>, [">= 0"])
- s.add_development_dependency(%q<rspec>, [">= 0"])
- s.add_development_dependency(%q<rdoc>, [">= 0"])
- s.add_development_dependency(%q<bundler>, [">= 0"])
- s.add_development_dependency(%q<jeweler>, [">= 0"])
- else
- s.add_dependency(%q<rake-compiler>, [">= 0"])
- s.add_dependency(%q<rspec>, [">= 0"])
- s.add_dependency(%q<rdoc>, [">= 0"])
- s.add_dependency(%q<bundler>, [">= 0"])
- s.add_dependency(%q<jeweler>, [">= 0"])
- end
- else
- s.add_dependency(%q<rake-compiler>, [">= 0"])
- s.add_dependency(%q<rspec>, [">= 0"])
- s.add_dependency(%q<rdoc>, [">= 0"])
- s.add_dependency(%q<bundler>, [">= 0"])
- s.add_dependency(%q<jeweler>, [">= 0"])
- end
+ spec.add_development_dependency "bundler", "~> 1.6"
+ spec.add_development_dependency "rake"
+ spec.add_development_dependency "rspec"
+ spec.add_development_dependency "rake-compiler"
end
-