knjrbfw 0.0.81 → 0.0.82

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.81
1
+ 0.0.82
data/knjrbfw.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{knjrbfw}
8
- s.version = "0.0.81"
8
+ s.version = "0.0.82"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kasper Johansen"]
@@ -18,9 +18,9 @@ class Knj::Table_writer
18
18
  @ws = @wb.create_worksheet
19
19
  @row = 0
20
20
  elsif @args["format"] == "excel2007"
21
- require "php_process"
21
+ require "php_process" if !Kernel.const_defined?(:Php_process)
22
22
 
23
- @php = Php_process.new if !Kernel.const_defined?(:Php_process)
23
+ @php = Php_process.new
24
24
  @php.func("require_once", "PHPExcel.php")
25
25
 
26
26
  if @args["date_format"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: knjrbfw
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.81
5
+ version: 0.0.82
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kasper Johansen
@@ -394,7 +394,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
394
394
  requirements:
395
395
  - - ">="
396
396
  - !ruby/object:Gem::Version
397
- hash: -494812604107398775
397
+ hash: 403581399455258912
398
398
  segments:
399
399
  - 0
400
400
  version: "0"