ramekin 0.1.6 → 0.1.8

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: 182cd33a7459bc8b4af60cb88a47d426e793402f86301b9e0b94a6f05a1e75c3
4
- data.tar.gz: b439d567c1c101dcd4a058a48b811f9038eea87e05976b5d10a37da1b9cabf36
3
+ metadata.gz: c6af04a70eed27652d2144b60c60174351448340d5a64c0898ca7efed200c6c1
4
+ data.tar.gz: 6321af5b66c6f4f0b6eb80587b471e715b03965c842d971b5e9e0f815b55ba84
5
5
  SHA512:
6
- metadata.gz: 17fb8aa606c3e68cf708a1f6a804eee5c5b1648814126e4db276a9760a28a07d300398af6f7b3f3d4c663469a0cf8e800cd4b6cd0b09ebef6bce80be6f61e97c
7
- data.tar.gz: 204de14cb21aa0d45a21589c9cb41650b65ae356cce66678b3bc5420c07f5432c1c46309cff58feff12c4e40aacffe381669907ca3897f6c37e7d33bad84162d
6
+ metadata.gz: b4623fb99a8931a16e012ab222b5c3adc35ff4e593b51cef486a5adca0fd869fee64eba71f5f4f48852b91b2f48bc1dbacccacdef62c30018c151469df7a2227
7
+ data.tar.gz: c5b8612c7c252336de639a5af80b8abc6b068961712c928a929eec536d99cfd926b89967f3defcafd46af396a21b13061846b5fc3ca9e12264dd7d51367d9ab3
@@ -92,8 +92,12 @@ module Ramekin
92
92
  lib_file = Dir.glob('asar/lib/*').find do |entry|
93
93
  next false unless File.file?(entry)
94
94
  next false if File.symlink?(entry)
95
- entry.end_with?('.dylib') || entry.end_with?('.so') || entry.end_with?('.dll')
96
- end
95
+ next true if entry.end_with?('.dylib')
96
+ next true if entry.end_with?('.dll')
97
+ next true if entry =~ /[.]so([.]\d+)*\z/
98
+ end or error!(
99
+ "couldn't find a dynamic library in #{Ramekin.config.asar_dir} - did it compile correctly?"
100
+ )
97
101
 
98
102
  @asar_lib_file = File.expand_path(lib_file, Ramekin.config.asar_dir)
99
103
  end
@@ -100,7 +100,8 @@ module Ramekin
100
100
  Dir.glob('asar/lib/*').find do |f|
101
101
  next unless File.file?(f)
102
102
  next if File.symlink?(f)
103
- f.end_with?(lib_ext)
103
+
104
+ f =~ /[.]#{lib_ext}([.]\d+)*/
104
105
  end
105
106
  end
106
107
 
@@ -30,6 +30,10 @@ module Ramekin
30
30
  @note.octave_amk(*a)
31
31
  end
32
32
 
33
+ def meta
34
+ @note.meta
35
+ end
36
+
33
37
  def note_name
34
38
  @note.note_name
35
39
  end
@@ -19,8 +19,6 @@ module Ramekin
19
19
 
20
20
  def fin
21
21
  (@extensions.last || @note).fin
22
- rescue
23
- binding.pry
24
22
  end
25
23
 
26
24
  def octave_num
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ramekin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - jneen
8
8
  bindir: gembin
9
9
  cert_chain: []
10
- date: 2025-03-05 00:00:00.000000000 Z
10
+ date: 2025-03-06 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: strscan