walters 0.1.0-java → 0.2.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/lib/walters/html/cgi.rb +3 -3
- data/lib/walters/html/erb.rb +1 -1
- data/lib/walters/html/haml.rb +1 -1
- data/lib/walters/html/rack.rb +1 -1
- data/lib/walters/version.rb +1 -1
- data/lib/walters/walters_ext.jar +0 -0
- metadata +2 -2
data/Rakefile
CHANGED
@@ -20,8 +20,8 @@ if defined?(JRUBY_VERSION)
|
|
20
20
|
CLEAN.include 'pkg/classes'
|
21
21
|
|
22
22
|
desc 'Compile the JRuby extension'
|
23
|
-
task :compile => FileList['pkg/classes', 'jruby-ext/src/**/*.java'] do |t|
|
24
|
-
ant.javac :srcdir => 'jruby-ext/src', :destdir => t.prerequisites.first,
|
23
|
+
task :compile => FileList['pkg/classes', 'jruby-ext/src/main/java/**/*.java'] do |t|
|
24
|
+
ant.javac :srcdir => 'jruby-ext/src/main/java', :destdir => t.prerequisites.first,
|
25
25
|
:source => '1.6', :target => '1.6', :debug => true, :includeantruntime => false,
|
26
26
|
:classpath => '${java.class.path}:${sun.boot.class.path}'
|
27
27
|
end
|
data/lib/walters/html/cgi.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# This file contains code based on the EscapeUtils project. See the file LICENSE-EscapeUtils.txt for details.
|
2
|
-
|
2
|
+
require 'walters/html/html_safety'
|
3
3
|
|
4
|
-
|
4
|
+
class CGI
|
5
5
|
extend ::Walters::HtmlSafety
|
6
6
|
extend ::Walters::HtmlUnescape
|
7
7
|
|
@@ -9,4 +9,4 @@ module CGI
|
|
9
9
|
alias escapeHTML walters_escape_html
|
10
10
|
alias unescapeHTML walters_unescape_html
|
11
11
|
end
|
12
|
-
end
|
12
|
+
end
|
data/lib/walters/html/erb.rb
CHANGED
data/lib/walters/html/haml.rb
CHANGED
data/lib/walters/html/rack.rb
CHANGED
data/lib/walters/version.rb
CHANGED
data/lib/walters/walters_ext.jar
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: walters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: java
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-19 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: JRuby wrapper for Houdini html escaping library
|
15
15
|
email: wmeissner@gmail.com
|