beardley 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/beardley/report.rb +5 -0
- data/lib/beardley/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fb39c7d9e87727cb784ba5a0aa657a958d2dea5
|
4
|
+
data.tar.gz: 2afddcefe455d1d62763c475115f3636be3916c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a64f8932195186124df96d11742b8cc257212368d20d2c67f89ef3eaca05f21bd2dd15d2299023e1009143d279a6ff86892ba1f05b32e46b2fd8286cd84020ad
|
7
|
+
data.tar.gz: a2a7af806fac157475365bb2e16c83d10e7f195fbba48cf6c62778334cb1b3fbca5b019ef4acce62ec30a2f89f7154f043712c6c8aa6e2941e193d0b0c5ef06a
|
data/lib/beardley/report.rb
CHANGED
@@ -41,6 +41,11 @@ module Beardley
|
|
41
41
|
f.write(report)
|
42
42
|
end
|
43
43
|
end
|
44
|
+
if locale = options.delete(:locale)
|
45
|
+
locale_parts = locale.split("-")[0..2]
|
46
|
+
_Locale = Rjb::import('java.util.Locale')
|
47
|
+
@parameters["REPORT_LOCALE"] = _Locale.new(*locale_parts)
|
48
|
+
end
|
44
49
|
@object_file ||= @source_file.dirname.join(@source_file.basename.to_s + ".jasper")
|
45
50
|
unless @object_file.is_a?(Pathname)
|
46
51
|
raise ArgumentError, "An object must be given at least"
|
data/lib/beardley/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beardley
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brice Texier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rjb
|
@@ -138,3 +138,4 @@ signing_key:
|
|
138
138
|
specification_version: 4
|
139
139
|
summary: JasperReports integration
|
140
140
|
test_files: []
|
141
|
+
has_rdoc:
|