excel_to_code 0.3.19 → 0.3.20
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 +1 -1
- data/src/excel/reference.rb +1 -1
- data/src/simplify/replace_arrays_with_single_cells.rb +2 -0
- data/src/version.rb +1 -1
- metadata +6 -10
- data/src/compile/c/a.out +0 -0
- data/src/compile/c/a.out.dSYM/Contents/Info.plist +0 -20
- data/src/compile/c/a.out.dSYM/Contents/Resources/DWARF/a.out +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fe18bdd631dff8de227380800892b66163f2fe7f130891440c7f2e12818a28f
|
4
|
+
data.tar.gz: f0087a3035784f3fedee75f30064beb7f359e7e0f6d79ff0789f6a23aa5ad908
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95f10de60d4ab71095c011ef1857d3467d2d1c88993e75aa560dd16293ee7448c98677715e9fca7fdb937c2793f64a74d20f746cfcfa30d0a636cc9c2eb31587
|
7
|
+
data.tar.gz: 945373d97eb9523d8e6c3151249822af8bc55f3453ded5182d6979dbd5392b35ad1a4919fff367211330304e02164f59b640c6758e3978926b346ef9c7a6df0a
|
data/src/commands/excel_to_x.rb
CHANGED
@@ -622,7 +622,7 @@ class ExcelToX
|
|
622
622
|
end
|
623
623
|
|
624
624
|
def check_all_functions_implemented
|
625
|
-
functions_that_are_removed_during_compilation = [:INDIRECT, :OFFSET, :ROW, :COLUMN, :TRANSPOSE]
|
625
|
+
functions_that_are_removed_during_compilation = [:INDIRECT, :OFFSET, :ROW, :COLUMN, :TRANSPOSE, :'_xlfn.SINGLE']
|
626
626
|
functions_used = CachingFormulaParser.instance.functions_used.keys
|
627
627
|
functions_used.delete_if do |f|
|
628
628
|
MapFormulaeToRuby::FUNCTIONS[f]
|
data/src/excel/reference.rb
CHANGED
@@ -71,6 +71,8 @@ class ReplaceArraysWithSingleCellsAst
|
|
71
71
|
# Replacement made in check function
|
72
72
|
elsif ast[0] == :function && ast[1] == :INDEX && check_index(ast)
|
73
73
|
# Replacement made in check
|
74
|
+
elsif ast[1] == :'_xlfn.SINGLE'
|
75
|
+
ast.replace(try_and_convert_array(ast[2]))
|
74
76
|
end
|
75
77
|
end
|
76
78
|
end
|
data/src/version.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.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Counsell, Green on Black Ltd
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubypeg
|
@@ -174,9 +174,6 @@ files:
|
|
174
174
|
- src/commands/excel_to_x.rb
|
175
175
|
- src/compile.rb
|
176
176
|
- src/compile/c.rb
|
177
|
-
- src/compile/c/a.out
|
178
|
-
- src/compile/c/a.out.dSYM/Contents/Info.plist
|
179
|
-
- src/compile/c/a.out.dSYM/Contents/Resources/DWARF/a.out
|
180
177
|
- src/compile/c/compile_named_reference_setters.rb
|
181
178
|
- src/compile/c/compile_to_c.rb
|
182
179
|
- src/compile/c/compile_to_c_header.rb
|
@@ -353,7 +350,7 @@ homepage: http://github.com/tamc/excel_to_code
|
|
353
350
|
licenses:
|
354
351
|
- MIT
|
355
352
|
metadata: {}
|
356
|
-
post_install_message:
|
353
|
+
post_install_message:
|
357
354
|
rdoc_options: []
|
358
355
|
require_paths:
|
359
356
|
- src
|
@@ -368,9 +365,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
368
365
|
- !ruby/object:Gem::Version
|
369
366
|
version: '0'
|
370
367
|
requirements: []
|
371
|
-
|
372
|
-
|
373
|
-
signing_key:
|
368
|
+
rubygems_version: 3.2.22
|
369
|
+
signing_key:
|
374
370
|
specification_version: 4
|
375
371
|
summary: Convert many .xlsx and .xlsm files into equivalent Ruby or C code that can
|
376
372
|
be executed without Excel
|
data/src/compile/c/a.out
DELETED
Binary file
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>CFBundleDevelopmentRegion</key>
|
6
|
-
<string>English</string>
|
7
|
-
<key>CFBundleIdentifier</key>
|
8
|
-
<string>com.apple.xcode.dsym.a.out</string>
|
9
|
-
<key>CFBundleInfoDictionaryVersion</key>
|
10
|
-
<string>6.0</string>
|
11
|
-
<key>CFBundlePackageType</key>
|
12
|
-
<string>dSYM</string>
|
13
|
-
<key>CFBundleSignature</key>
|
14
|
-
<string>????</string>
|
15
|
-
<key>CFBundleShortVersionString</key>
|
16
|
-
<string>1.0</string>
|
17
|
-
<key>CFBundleVersion</key>
|
18
|
-
<string>1</string>
|
19
|
-
</dict>
|
20
|
-
</plist>
|
Binary file
|