xlsx_drone 0.5.0 → 0.6.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf3205bdd9e61a5bae63c2955ccaa22dddaaa02093c7d305a040dc58a9ec7c75
4
- data.tar.gz: 00231dec7ca27f122a10943795495929787b66e454e7382365bcd82de38d794e
3
+ metadata.gz: c52447ad4647b598d469dadd9901de98dbdd7868749eada5212cbfb4411f4a86
4
+ data.tar.gz: 59bb5dd9b84a0f5add95728fdcd0f179c13d93aa44d3d14411b61f2c5759385c
5
5
  SHA512:
6
- metadata.gz: 360cc87092bfa80b4796b8788b8f273c92de78b1fa74044b866b3c32bf0a488edaa5edf7834afa9c31bbb0766adbe9aea6f491978d1ad2bd8001233d4ce9345c
7
- data.tar.gz: 062a06739a72f661274af16fdfc0a6b999d008e1ccf88a5d205410eea1282c6b95742a0b453640f217e686092a92b29a268017ac47709163c9186129b9864e79
6
+ metadata.gz: 434fd0cdc9515840602178ccb86b9f0e00c5d2248bc5d8965109314539d68a4788acf88de73dfaa835ae92f61d5ed5244ac6967420b225516bf0ff2c5f44d90f
7
+ data.tar.gz: 2c3136fa38c0590ba4c47e975b7fc18f6c28f763e589ef49f674b64c7479932f27e6519c0e5e06fd752e90c0768693d4880d724ea2b34833a72ce6861a8f7fa4
Binary file
Binary file
@@ -3,10 +3,11 @@ module XLSXDrone
3
3
 
4
4
  # All things related to the binding with the native C library.
5
5
  module NativeBinding
6
-
6
+
7
+ PLATFORM_WINDOWS = RUBY_PLATFORM.match(/cygwin|mswin|mingw|bccwin|wince|emx/) ? true : false
7
8
  PLATFORM_X64 = RUBY_PLATFORM.match(/64/) ? true : false
8
9
  EXT_PATH = "#{File.dirname(File.dirname(File.dirname(__FILE__)))}/ext"
9
- DLL_PATH = PLATFORM_X64 ? "#{EXT_PATH}/xlsx_drone_x64.dll" : "#{EXT_PATH}/xlsx_drone_x86.dll"
10
+ DLL_PATH = PLATFORM_WINDOWS ? (PLATFORM_X64 ? "#{EXT_PATH}/xlsx_drone_x64.dll" : "#{EXT_PATH}/xlsx_drone_x86.dll") : "#{EXT_PATH}/libxlsx_drone_x64.so"
10
11
 
11
12
  class XLSXWorkbookT < FFI::Struct
12
13
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlsx_drone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damián M. González
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-19 00:00:00.000000000 Z
11
+ date: 2024-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
59
  requirements: []
60
- rubygems_version: 3.3.16
60
+ rubygems_version: 3.5.23
61
61
  signing_key:
62
62
  specification_version: 4
63
63
  summary: Fast Microsoft Excel's XLSX reader. Binding of C's xlsx_drone lib.