added gemspec, criteria patching