walters 0.1.0-java → 0.2.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -1,7 +1,7 @@
1
1
  # This file contains code based on the EscapeUtils project. See the file LICENSE-EscapeUtils.txt for details.
2
- require_relative 'html_safety'
2
+ require 'walters/html/html_safety'
3
3
 
4
- module CGI
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
@@ -1,5 +1,5 @@
1
1
  # This file contains code based on the EscapeUtils project. See the file LICENSE-EscapeUtils.txt for details.
2
- require_relative 'html_safety'
2
+ require 'walters/html/html_safety'
3
3
 
4
4
  class ERB
5
5
  module Util
@@ -1,5 +1,5 @@
1
1
  # This file contains code based on the EscapeUtils project. See the file LICENSE-EscapeUtils.txt for details.
2
- require_relative 'html_safety'
2
+ require 'walters/html/html_safety'
3
3
 
4
4
  module Haml
5
5
  module Helpers
@@ -1,5 +1,5 @@
1
1
  # This file contains code based on the EscapeUtils project. See the file LICENSE-EscapeUtils.txt for details.
2
- require_relative 'html_safety'
2
+ require 'walters/html/html_safety'
3
3
 
4
4
  module Rack
5
5
  module Utils
@@ -1,3 +1,3 @@
1
1
  module Walters
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
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.1.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-02 00:00:00.000000000 Z
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