excel_to_code 0.3.9 → 0.3.10
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.
- checksums.yaml +4 -4
- data/src/commands/excel_to_x.rb +4 -4
- data/src/excel_to_code.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8cceb19713580157a6d4911e093de7847739c09a
|
|
4
|
+
data.tar.gz: 40e33dc2ae747d31f1f13c91dfcc290d8b0ca2b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb562768c44cf4c27a06e1a754a30e0a766c7d35e0169f29adc2882f87b119f79a8311d5b7ad3969645af1ed1abc21ee807341dcbaa68c7b6cee8f5b23dbb90d
|
|
7
|
+
data.tar.gz: 0a326c177bcc2e1749a406f364f7ccd7c90f7ce542455c6af55773943f5aa81c719c183feb041539fe2071fe3f1f77cdc44728c8758391faa93e162f54da83d1
|
data/src/commands/excel_to_x.rb
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
|
+
# Used to throw normally fatal errors
|
|
3
|
+
class ExcelToCodeException < Exception; end
|
|
4
|
+
class XMLFileNotFoundException < Exception; end
|
|
5
|
+
|
|
2
6
|
require 'fileutils'
|
|
3
7
|
require 'logger'
|
|
4
8
|
require 'tmpdir'
|
|
@@ -8,10 +12,6 @@ require_relative '../excel_to_code'
|
|
|
8
12
|
# FIXME: Correct case and $ stripping from all cell references
|
|
9
13
|
# FIXME: Replacing with c compatible names everywhere
|
|
10
14
|
|
|
11
|
-
# Used to throw normally fatal errors
|
|
12
|
-
class ExcelToCodeException < Exception; end
|
|
13
|
-
class XMLFileNotFoundException < Exception; end
|
|
14
|
-
|
|
15
15
|
class ExcelToX
|
|
16
16
|
|
|
17
17
|
# Required attribute. The source excel file. This must be .xlsx not .xls
|
data/src/excel_to_code.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: excel_to_code
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thomas Counsell, Green on Black Ltd
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-01-
|
|
11
|
+
date: 2015-01-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubypeg
|