simple-spreadsheet-extractor 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,7 +1,7 @@
1
1
  = Simple Spreadsheet Extractor
2
2
 
3
3
  Authors:: Stuart Owen
4
- Version:: 0.3.1
4
+ Version:: 0.3.2
5
5
  Contact:: mailto:stuart.owen@manchester.ac.uk
6
6
  Licence:: BSD (See LICENCE or http://www.opensource.org/licenses/bsd-license.php)
7
7
  Copyright:: (c) 2010 The University of Manchester, UK
@@ -19,7 +19,7 @@ This is a simple tool developed for use within SysMO-DB[http://www.sysmo-db.org]
19
19
 
20
20
  Java 1.6 (JRE) is required.
21
21
 
22
- gem install simple-spreadsheet-extractor
22
+ gem install simple-spreadsheet-extractor
23
23
 
24
24
  == Usage
25
25
 
@@ -37,9 +37,9 @@ e.g.
37
37
 
38
38
  f=open("/tmp/test-spreadsheet.xls")
39
39
  begin
40
- puts spreadsheet_to_xml f
40
+ puts spreadsheet_to_xml(f)
41
41
  rescue SysMODB::SpreadsheetExtractionException=>e
42
- puts "Something went wrong #{e.message}"
42
+ puts "Something went wrong #{e.message}"
43
43
  end
44
44
 
45
45
  Formulas are evaluated placing the result in the XML produced for that cell, however the original formula is included as an attribute.
@@ -11,7 +11,7 @@ module SysMODB
11
11
  JAR_PATH = File.dirname(__FILE__) + "/../jars"
12
12
 
13
13
  def spreadsheet_to_xml spreadsheet_data
14
- command = "java -jar #{JAR_PATH}/simple-spreadsheet-extractor-0.3.1.jar"
14
+ command = "java -jar #{JAR_PATH}/simple-spreadsheet-extractor-0.3.2.jar"
15
15
  output = ""
16
16
  err_message = ""
17
17
  status = Open4::popen4(command) do |pid, stdin, stdout, stderr|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-spreadsheet-extractor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stuart Owen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-26 00:00:00 +01:00
18
+ date: 2010-07-27 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -50,7 +50,7 @@ files:
50
50
  - jars/lib/xmlbeans-2.3.0.jar
51
51
  - jars/lib/dom4j-1.6.1.jar
52
52
  - jars/lib/poi-ooxml-3.6.jar
53
- - jars/simple-spreadsheet-extractor-0.3.1.jar
53
+ - jars/simple-spreadsheet-extractor-0.3.2.jar
54
54
  - README.rdoc
55
55
  - LICENCE
56
56
  has_rdoc: true