casper-client 0.0.1
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/.gitignore +4 -0
- data/.rvmrc +0 -0
- data/Gemfile +9 -0
- data/README +0 -0
- data/Rakefile +9 -0
- data/casper-client.gemspec +19 -0
- data/lib/casper_client.rb +22 -0
- data/spec/casper_client_spec.rb +46 -0
- data/spec/data/dataset.xml +1157 -0
- data/spec/data/report.jrxml +61 -0
- data/spec/rspec_opts +3 -0
- data/spec/spec_helper.rb +1 -0
- metadata +68 -0
@@ -0,0 +1,61 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="testreport" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
|
3
|
+
<property name="ireport.zoom" value="1.0"/>
|
4
|
+
<property name="ireport.x" value="0"/>
|
5
|
+
<property name="ireport.y" value="0"/>
|
6
|
+
<queryString language="xPath">
|
7
|
+
<![CDATA[//patient]]>
|
8
|
+
</queryString>
|
9
|
+
<field name="first-name" class="java.lang.String">
|
10
|
+
<fieldDescription><![CDATA[first-name]]></fieldDescription>
|
11
|
+
</field>
|
12
|
+
<field name="last-name" class="java.lang.String">
|
13
|
+
<fieldDescription><![CDATA[last-name]]></fieldDescription>
|
14
|
+
</field>
|
15
|
+
<background>
|
16
|
+
<band splitType="Stretch"/>
|
17
|
+
</background>
|
18
|
+
<title>
|
19
|
+
<band height="79" splitType="Stretch"/>
|
20
|
+
</title>
|
21
|
+
<pageHeader>
|
22
|
+
<band height="35" splitType="Stretch"/>
|
23
|
+
</pageHeader>
|
24
|
+
<columnHeader>
|
25
|
+
<band height="20" splitType="Stretch">
|
26
|
+
<staticText>
|
27
|
+
<reportElement x="37" y="0" width="100" height="20"/>
|
28
|
+
<textElement/>
|
29
|
+
<text><![CDATA[first-name]]></text>
|
30
|
+
</staticText>
|
31
|
+
<staticText>
|
32
|
+
<reportElement x="137" y="0" width="100" height="20"/>
|
33
|
+
<textElement/>
|
34
|
+
<text><![CDATA[last-name]]></text>
|
35
|
+
</staticText>
|
36
|
+
</band>
|
37
|
+
</columnHeader>
|
38
|
+
<detail>
|
39
|
+
<band height="23" splitType="Stretch">
|
40
|
+
<textField>
|
41
|
+
<reportElement x="37" y="3" width="100" height="20"/>
|
42
|
+
<textElement/>
|
43
|
+
<textFieldExpression class="java.lang.String"><![CDATA[$F{first-name}]]></textFieldExpression>
|
44
|
+
</textField>
|
45
|
+
<textField>
|
46
|
+
<reportElement x="137" y="3" width="100" height="20"/>
|
47
|
+
<textElement/>
|
48
|
+
<textFieldExpression class="java.lang.String"><![CDATA[$F{last-name}]]></textFieldExpression>
|
49
|
+
</textField>
|
50
|
+
</band>
|
51
|
+
</detail>
|
52
|
+
<columnFooter>
|
53
|
+
<band height="45" splitType="Stretch"/>
|
54
|
+
</columnFooter>
|
55
|
+
<pageFooter>
|
56
|
+
<band height="54" splitType="Stretch"/>
|
57
|
+
</pageFooter>
|
58
|
+
<summary>
|
59
|
+
<band height="42" splitType="Stretch"/>
|
60
|
+
</summary>
|
61
|
+
</jasperReport>
|
data/spec/rspec_opts
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '..','lib','casper_client')
|
metadata
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: casper-client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.1
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Daniel Tamiosso
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2011-05-11 00:00:00 -03:00
|
14
|
+
default_executable:
|
15
|
+
dependencies: []
|
16
|
+
|
17
|
+
description: just a simple api for casper service (a web server framework for JasperReports)
|
18
|
+
email:
|
19
|
+
- email@danieltamiosso.com
|
20
|
+
executables: []
|
21
|
+
|
22
|
+
extensions: []
|
23
|
+
|
24
|
+
extra_rdoc_files: []
|
25
|
+
|
26
|
+
files:
|
27
|
+
- .gitignore
|
28
|
+
- .rvmrc
|
29
|
+
- Gemfile
|
30
|
+
- README
|
31
|
+
- Rakefile
|
32
|
+
- casper-client.gemspec
|
33
|
+
- lib/casper_client.rb
|
34
|
+
- spec/casper_client_spec.rb
|
35
|
+
- spec/data/dataset.xml
|
36
|
+
- spec/data/report.jrxml
|
37
|
+
- spec/rspec_opts
|
38
|
+
- spec/spec_helper.rb
|
39
|
+
has_rdoc: true
|
40
|
+
homepage: https://github.com/danieltamiosso/casper-client
|
41
|
+
licenses: []
|
42
|
+
|
43
|
+
post_install_message:
|
44
|
+
rdoc_options: []
|
45
|
+
|
46
|
+
require_paths:
|
47
|
+
- lib
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: "0"
|
60
|
+
requirements: []
|
61
|
+
|
62
|
+
rubyforge_project: casper-client
|
63
|
+
rubygems_version: 1.5.2
|
64
|
+
signing_key:
|
65
|
+
specification_version: 3
|
66
|
+
summary: just a simple api for casper service
|
67
|
+
test_files: []
|
68
|
+
|