saxon-xslt 0.0.1-universal-java-1.6 → 0.0.2-universal-java-1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +5 -7
  2. data/lib/saxon/xslt/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -2,12 +2,6 @@
2
2
 
3
3
  Wraps the Saxon 9 HE XSLT processor Java API so it's easy to use from your JRuby project
4
4
 
5
- ```ruby
6
- require 'saxon-xslt'
7
- transformer = Saxon::Xslt.new('/path/to/your.xsl')
8
- output = transformer.transform('/path/to/your.xml')
9
- ```
10
-
11
5
  This is a super-minimal first cut, it doesn't do many, many, things that it should and it is entirely untested. You probably shouldn't be using in production systems.
12
6
 
13
7
  It only runs under JRuby.
@@ -32,7 +26,11 @@ Or install it yourself as:
32
26
 
33
27
  ## Usage
34
28
 
35
- TODO: Write usage instructions here
29
+ ```ruby
30
+ require 'saxon-xslt'
31
+ transformer = Saxon::Xslt.new('/path/to/your.xsl')
32
+ output = transformer.transform('/path/to/your.xml')
33
+ ```
36
34
 
37
35
  ## Contributing
38
36
 
@@ -1,5 +1,5 @@
1
1
  module Saxon
2
2
  class Xslt
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: saxon-xslt
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: universal-java-1.6
7
7
  authors:
8
8
  - Matt Patterson