simple-spreadsheet 0.0.5.3 → 0.0.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,8 @@ require "simple-spreadsheet/version"
2
2
 
3
3
  module SimpleSpreadsheet
4
4
 
5
+ require 'simple-spreadsheet/modules/roo_module'
6
+
5
7
  class Workbook
6
8
 
7
9
  def self.read(file, ext = nil)
@@ -105,8 +107,7 @@ module SimpleSpreadsheet
105
107
 
106
108
  # .csvt (CSV)
107
109
  require 'simple-spreadsheet/readers/csvt_reader'
108
-
109
-
110
+
110
111
  end
111
112
 
112
113
  # Gems
@@ -1,5 +1,3 @@
1
- require 'simple-spreadsheet/modules/roo_module'
2
-
3
1
  class CsvReader < SpreadsheetReader
4
2
 
5
3
  def initialize(file)
@@ -1,5 +1,3 @@
1
- require 'simple-spreadsheet/modules/roo_module'
2
-
3
1
  class CsvtReader < SpreadsheetReader
4
2
 
5
3
  def initialize(file)
@@ -1,5 +1,3 @@
1
- require 'simple-spreadsheet/modules/roo_module'
2
-
3
1
  class CsvxReader < SpreadsheetReader
4
2
 
5
3
  def initialize(file)
@@ -1,7 +1,5 @@
1
- require 'simple-spreadsheet/modules/roo_module'
2
-
3
1
  class ExcelReader < SpreadsheetReader
4
-
2
+
5
3
  def initialize(file)
6
4
  super
7
5
  @engine = ExcelExtended.new(@path) # Roo
@@ -1,5 +1,3 @@
1
- require 'simple-spreadsheet/modules/roo_module'
2
-
3
1
  class ExcelxReader < SpreadsheetReader
4
2
 
5
3
  def initialize(file)
@@ -1,5 +1,3 @@
1
- require 'simple-spreadsheet/modules/roo_module'
2
-
3
1
  class OpenofficeReader < SpreadsheetReader
4
2
 
5
3
  def initialize(file)
@@ -1,3 +1,3 @@
1
1
  module SimpleSpreadsheet
2
- VERSION = "0.0.5.3"
2
+ VERSION = "0.0.5.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-spreadsheet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5.3
4
+ version: 0.0.5.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-06-15 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70097985294280 !ruby/object:Gem::Requirement
16
+ requirement: &70363409672060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.6.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70097985294280
24
+ version_requirements: *70363409672060
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: roo
27
- requirement: &70097985293760 !ruby/object:Gem::Requirement
27
+ requirement: &70363409671500 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.10.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70097985293760
35
+ version_requirements: *70363409671500
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: spreadsheet
38
- requirement: &70097985293240 !ruby/object:Gem::Requirement
38
+ requirement: &70363409670680 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.6.5.9
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70097985293240
46
+ version_requirements: *70363409670680
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rubyXL
49
- requirement: &70097985292700 !ruby/object:Gem::Requirement
49
+ requirement: &70363409669460 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - =
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 1.2.5
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70097985292700
57
+ version_requirements: *70363409669460
58
58
  description: ! 'Simple spreadsheet reader for common formats: Excel (.xls, .xlsx),
59
59
  Open-office (.ods) and some CSV (standard, excel, tab separated). Future versions:
60
60
  writing and more formats.'