rays.gemspec in rays-0.1.6 vs rays.gemspec in rays-0.1.7

- old
+ new

@@ -1,20 +1,19 @@ # -*- mode: ruby; coding: utf-8 -*- -$:.unshift File.expand_path('../lib', __FILE__) do |path| - $:.unshift path if !$:.include?(path) && File.directory?(path) -end +File.expand_path('../lib', __FILE__) + .tap {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)} require 'rays/module' Gem::Specification.new do |s| glob = -> *patterns do patterns.map {|pat| Dir.glob(pat).to_a}.flatten end - mod = Rays + mod = Rays::Module name = mod.name.downcase rdocs = glob.call *%w[README .doc/ext/**/*.cpp] s.name = name s.summary = 'A Drawing Engine using OpenGL.'