excel_to_code 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48e91b5c946f7d5a9b1fb0ed62452f1055de78ec
4
- data.tar.gz: 1495c00e8514be860b54d1e02ff4ffa9f82fa411
3
+ metadata.gz: 0663c5e494db3faed27a118aa4cce8b2b5095655
4
+ data.tar.gz: 0aab1b24a30a1cea9a91ebdc0fed82f84bc3ec59
5
5
  SHA512:
6
- metadata.gz: acb897ffbe48632d04fa246362ab284eb5bde0cb1bdeda11e8b8bb492e4500401695c1dadea82cf57e749087a8988a3f28963261a008a4fa3936f3689cd05eb5
7
- data.tar.gz: 235f5dcf5325942c4d5fafd3e1e0eba396193c4a3bce23c22383b1588c2742cc9be22a94480c1d03a689311124ada0431d208db8ede166727f394e31357cdf8a
6
+ metadata.gz: 401103eb0a1c639486412b7c735d322bbb060ddb1ebdc83d973a810e330e1e412070dd4b96f423ab9b5502c1ba2eb02ba73f19634fe4a176a443243d3802a66b
7
+ data.tar.gz: c746f24035da13f0e34581b48df68ae7fe7f4ddb2ccae54a320692a729cf8c0ae0cf9cc95a89ba5cfd98bba5f0e26aa8a8acbf8f474a21e963a111fa858932e3
data/src/compile/c/a.out CHANGED
Binary file
@@ -8,6 +8,10 @@ module ExcelFunctions
8
8
  # nils are treated as empty strings
9
9
  find_text ||= ""
10
10
  within_text ||= ""
11
+
12
+ # Other things should be turned into a string
13
+ find_text = find_text.to_s
14
+ within_text = within_text.to_s
11
15
 
12
16
  # there are some cases where the start_number is remapped
13
17
  case start_number
data/src/excel_to_code.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class ExcelToCode
2
- def self.version() "0.3.2" end
2
+ def self.version() "0.3.3" end
3
3
  end
4
4
 
5
5
  require_relative 'commands'
@@ -183,6 +183,10 @@ class MapFormulaeToValues
183
183
  normal_function(ast, "")
184
184
  end
185
185
 
186
+ def map_find(ast)
187
+ normal_function(ast, "")
188
+ end
189
+
186
190
  def map_isblank(ast)
187
191
  normal_function(ast,nil)
188
192
  end
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.2
4
+ version: 0.3.3
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: 2014-07-28 00:00:00.000000000 Z
11
+ date: 2014-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubypeg