beardley 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 578fa8859bab13e041dc787c4b8ca9d546d65347
4
- data.tar.gz: c26c362c2f9a2a69b2c8ea315d46e88acbf5f5c5
3
+ metadata.gz: 7c3aeef01dd90ceea08aa06b038fd097c45c2abc
4
+ data.tar.gz: 60ca844ad8342083adf97c5138ab51ed19bff017
5
5
  SHA512:
6
- metadata.gz: 9b75e981fdb41d8b60f616d454380b97312bd5f0b5f287df030820ebba5d5e0d83a0c3c6d9b1035a3b2ae4357b1118faff23ba15f6811be213618fc2a24b6270
7
- data.tar.gz: 63826b1dbfe1f325580e1cfcb9e548ea0e1bce022e1a14e6b50f57c4dd091160800bcf2740b8c68550ab97663527aa615a80677d35361df912f466b25205ef92
6
+ metadata.gz: 2fb50b5f96132879069d5c63320507d0d83315b60f597cc9222442ca24b76cbc13da8e6bd6ab8619e425165cf4e608c75cb840eb1d34d38423353f420eedec1a
7
+ data.tar.gz: 4b9b8511f074ce44d395477d7fffd060ae2d9eeefb13ea1bfa153662a8cd90b3abfd57ad636895f3561443d7989dd4fcf3a6de360f5603bd421d00110ac9ebb6
@@ -89,17 +89,17 @@ module Beardley
89
89
  if format == :pdf
90
90
  _JasperPrint = Rjb::import('net.sf.jasperreports.engine.JasperPrint')
91
91
  _JasperExportManager = Rjb::import('net.sf.jasperreports.engine.JasperExportManager')
92
- return _JasperExportManager._invoke('exportReportToPdfFile', 'Lnet.sf.jasperreports.engine.JasperPrint;Ljava.lang.String;', prepare(datasource), Rjb::import('java.lang.String').new(path.to_s))
92
+ _JasperExportManager._invoke('exportReportToPdfFile', 'Lnet.sf.jasperreports.engine.JasperPrint;Ljava.lang.String;', prepare(datasource), Rjb::import('java.lang.String').new(path.to_s))
93
93
  elsif Beardley.exporters[format]
94
94
  exporter = Beardley.with_warnings { Rjb::import(Beardley.exporters[format]) }.new
95
95
  _JRExporterParameter = Rjb::import('net.sf.jasperreports.engine.JRExporterParameter')
96
96
  exporter.setParameter(_JRExporterParameter.JASPER_PRINT, prepare(datasource))
97
97
  exporter.setParameter(_JRExporterParameter.OUTPUT_FILE_NAME, path.to_s)
98
98
  exporter.exportReport
99
- return path
100
99
  else
101
100
  raise "Invalid export format: #{format.inspect}"
102
101
  end
102
+ return path
103
103
  end
104
104
 
105
105
 
@@ -3,7 +3,7 @@ module Beardley
3
3
  module VERSION
4
4
  MAJOR = 1
5
5
  MINOR = 1
6
- PATCH = 0
6
+ PATCH = 1
7
7
  PRE = nil
8
8
 
9
9
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beardley
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Texier