diff --git a/escape.gemspec b/escape.gemspec new file mode 100644 index 0000000..bbac06c --- /dev/null +++ b/escape.gemspec @@ -0,0 +1,20 @@ +require "./lib/escape" + +Gem::Specification.new do |s| + s.name = "escape" + s.version = Escape::VERSION + s.summary = "escape library" + s.description = "escape library provides several HTML/URI/shell escaping functions." + s.authors = ["Tanaka Akira"] + s.email = ["akr@fsij.org"] + s.homepage = "http://github.com/akr/escape" + + s.files = Dir[ + "ChangeLog", + "README", + "lib/**/*.rb", + "*.gemspec", + "test/**/*.*" + ] + +end diff --git a/escape.rb b/lib/escape.rb similarity index 99% rename from escape.rb rename to lib/escape.rb index e3536f4..a794ee3 100644 --- a/escape.rb +++ b/lib/escape.rb @@ -30,6 +30,7 @@ # * shell command # * MIME parameter module Escape + VERSION = "0.3" module_function class StringWrapper