casperreports 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/casper_reports.rb +2 -2
- metadata +2 -2
data/lib/casper_reports.rb
CHANGED
@@ -23,13 +23,13 @@ $CLASSPATH << File.join(File.dirname(__FILE__), '..', 'include', 'lib', 'commons
|
|
23
23
|
$CLASSPATH << File.join(File.dirname(__FILE__), '..', 'include', 'lib', 'commons-beanutils-1.8.0.jar')
|
24
24
|
$CLASSPATH << File.join(File.dirname(__FILE__), '..', 'include', 'lib', 'groovy-all-1.7.5.jar')
|
25
25
|
$CLASSPATH << File.join(File.dirname(__FILE__), '..', 'include', 'lib', 'xalan-2.7.1.jar')
|
26
|
-
$CLASSPATH << File.join(File.dirname(__FILE__), '..', 'include', 'lib', '
|
26
|
+
$CLASSPATH << File.join(File.dirname(__FILE__), '..', 'include', 'lib', 'iText-2.1.7.jar')
|
27
27
|
$CLASSPATH << File.join(File.dirname(__FILE__), '..', 'include', 'dist', 'jasperreports-4.0.1.jar')
|
28
28
|
$CLASSPATH << File.join(File.dirname(__FILE__), '..', 'include')
|
29
29
|
|
30
30
|
# Provide a simple class interface to running a jasper report
|
31
31
|
class CasperReports
|
32
|
-
VERSION = '0.1.
|
32
|
+
VERSION = '0.1.1'
|
33
33
|
|
34
34
|
def compile(jrxml, data, xpath, type='pdf')
|
35
35
|
String.from_java_bytes(Java::XmlDataReportProducer.compile(jrxml, data, xpath, type))
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: casperreports
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Tom Wilson
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-06-
|
14
|
+
date: 2011-06-29 00:00:00 -04:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|