ffprober.gemspec in ffprober-0.4.1 vs ffprober.gemspec in ffprober-0.4.2

- old
+ new

@@ -1,24 +1,26 @@ -# -*- encoding: utf-8 -*- -require File.expand_path('../lib/ffprober/version', __FILE__) +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require "ffprober/version" -Gem::Specification.new do |gem| - gem.authors = ["beanieboi"] - gem.email = ["beanie@benle.de"] - gem.description = %q{a Ruby wrapper for ffprobe} - gem.summary = %q{a Ruby wrapper for ffprobe (part of ffmpeg)} - gem.homepage = "https://github.com/beanieboi/ffprober" +Gem::Specification.new do |spec| + spec.name = "ffprober" + spec.version = Ffprober::VERSION + spec.authors = ["beanieboi"] + spec.email = ["beanie@benle.de"] - gem.required_ruby_version = ">= 1.9.3" - gem.rubyforge_project = "ffprober" + spec.description = %q{a Ruby wrapper for ffprobe} + spec.summary = %q{a Ruby wrapper for ffprobe (part of ffmpeg)} + spec.homepage = "https://github.com/beanieboi/ffprober" + spec.license = "MIT" - gem.licenses = ['MIT'] + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] - gem.add_development_dependency "rspec", "~> 3.0" + spec.required_ruby_version = '~> 2.0' - gem.files = `git ls-files`.split("\n") - gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } - gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) - gem.name = "ffprober" - gem.require_paths = ["lib"] - gem.version = Ffprober::VERSION + spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "rspec", "~> 3.0" end