beardley 1.4.1 → 1.4.2

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: 2f58f515d166e39603ec3f4728ec495dfc01d7fe
4
- data.tar.gz: a4a30e2b36d687576a5b5b6cc14d20d8bda182ef
3
+ metadata.gz: 824a9d8ed5e910165e1d4eb44d408859eafe188b
4
+ data.tar.gz: 3c3a85e52fe14eab16313ae3b7ea4022c02cdb8e
5
5
  SHA512:
6
- metadata.gz: f6b12e641c0392c07aab5cae431909070cce792cfaf564e0d8690a9e07609267a5d705d096a2fa5c588a8aa796f2ec5e1d68265352fcff3eb850c5f1868532bb
7
- data.tar.gz: f3a7b78287225a60b9a24ca638841a5ae0c4b56e0400e5f71902d4847b9dbef51f9e5397947f57f2aa9401eb6d332007016508d79e46aa9f08e05de4b1d9755c
6
+ metadata.gz: c5f3936989a8d1ebddf63582be36bdd5e5aa83c9131e039d0966830235ecb7fafb9b26bd130acc168013b3aacd6872c231e83a4241a3a880fcbaab02425cf4cb
7
+ data.tar.gz: 7d8e9daa3c3df57e2cebd138914fae4099663108f81ac5ef216680694e196c9eeac28aa86a14e3baaa485c73c2d515266e750188ba9f4c5d5fd368b2c48d5dd7
@@ -25,7 +25,7 @@ require 'beardley/version'
25
25
  require 'pathname'
26
26
  require 'digest'
27
27
  require 'rjb'
28
- require 'rjb-loader' if ENV['DISABLED_JAVA'].to_i.zero?
28
+ require 'rjb-loader'
29
29
 
30
30
  module Beardley
31
31
  class << self
@@ -53,20 +53,18 @@ module Beardley
53
53
  xlsx: 'net.sf.jasperreports.engine.export.ooxml.JRXlsxExporter'
54
54
  }
55
55
 
56
- if ENV['DISABLED_JAVA'].to_i.zero?
57
- RjbLoader.before_load do |config|
58
- Dir[Pathname.new(__FILE__).dirname.join('..', 'vendor', 'java', '*.jar')].each do |path|
59
- config.classpath << File::PATH_SEPARATOR + File.expand_path(path)
60
- end
56
+ RjbLoader.before_load do |config|
57
+ Dir[Pathname.new(__FILE__).dirname.join('..', 'vendor', 'java', '*.jar')].each do |path|
58
+ config.classpath << File::PATH_SEPARATOR + File.expand_path(path)
61
59
  end
60
+ end
62
61
 
63
- RjbLoader.after_load do |_config|
64
- _Locale = Rjb.import('java.util.Locale')
65
- Beardley.config[:report_params]['REPORT_LOCALE'] = _Locale.new('en', 'US')
66
- Beardley.config[:report_params]['XML_LOCALE'] = _Locale.new('en', 'US')
67
- Beardley.config[:report_params]['XML_DATE_PATTERN'] = "yyyy-MM-dd'T'HH:mm:ss"
68
- Beardley.config[:report_params]['XML_NUMBER_PATTERN'] = '###0.00'
69
- end
62
+ RjbLoader.after_load do |_config|
63
+ _Locale = Rjb.import('java.util.Locale')
64
+ Beardley.config[:report_params]['REPORT_LOCALE'] = _Locale.new('en', 'US')
65
+ Beardley.config[:report_params]['XML_LOCALE'] = _Locale.new('en', 'US')
66
+ Beardley.config[:report_params]['XML_DATE_PATTERN'] = "yyyy-MM-dd'T'HH:mm:ss"
67
+ Beardley.config[:report_params]['XML_NUMBER_PATTERN'] = '###0.00'
70
68
  end
71
69
 
72
70
  autoload :Report, 'beardley/report'
@@ -2,7 +2,7 @@ module Beardley
2
2
  module VERSION
3
3
  MAJOR = 1
4
4
  MINOR = 4
5
- PATCH = 1
5
+ PATCH = 2
6
6
  PRE = nil
7
7
 
8
8
  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.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Texier