Skip to content

Commit

Permalink
update require for lib/../version
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieujobin committed Jan 3, 2024
1 parent a0b66c0 commit 0a1d53b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 19 deletions.
5 changes: 3 additions & 2 deletions lib/writeexcel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
# original written in Perl by John McNamara
# converted to Ruby by Hideo Nakamura, cxn03651@msj.biglobe.ne.jp
#
require 'writeexcel/version'
require 'writeexcel/biffwriter'
require 'writeexcel/olewriter'
require 'writeexcel/formula'
require 'writeexcel/format'
require 'writeexcel/worksheet'
require "writeexcel/workbook"
require 'writeexcel/worksheets'
require 'writeexcel/workbook'
require 'writeexcel/chart'
require 'writeexcel/charts/area'
require 'writeexcel/charts/bar'
Expand Down
4 changes: 1 addition & 3 deletions lib/writeexcel/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'writeexcel'

class WriteExcel < Workbook
module Writeexcel
VERSION = "1.0.6"
end
11 changes: 0 additions & 11 deletions lib/writeexcel/workbook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,9 @@
#
require 'nkf'
require 'forwardable'
require 'writeexcel/biffwriter'
require 'writeexcel/worksheet'
require 'writeexcel/chart'
require 'writeexcel/format'
require 'writeexcel/formula'
require 'writeexcel/olewriter'
require 'writeexcel/storage_lite'
require 'writeexcel/compatibility'
require 'writeexcel/shared_string_table'
require 'writeexcel/worksheets'

class Workbook < BIFFWriter
require 'writeexcel/properties'
require 'writeexcel/helper'

extend Forwardable

Expand Down
2 changes: 0 additions & 2 deletions lib/writeexcel/worksheets.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
class Workbook < BIFFWriter
require 'writeexcel/properties'
require 'writeexcel/helper'

class Worksheets < Array
attr_accessor :activesheet
Expand Down
2 changes: 1 addition & 1 deletion writeexcel.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require 'writeexcel/version'

Gem::Specification.new do |gem|
gem.name = "writeexcel"
gem.version = WriteExcel::VERSION
gem.version = Writeexcel::VERSION
gem.authors = ["Hideo NAKAMURA"]
gem.email = ["nakamura.hideo@gmail.com"]
gem.description = "Multiple worksheets can be added to a workbook and formatting can be applied to cells. Text, numbers, formulas, hyperlinks and images can be written to the cells."
Expand Down

0 comments on commit 0a1d53b

Please sign in to comment.