ramekin 0.3.1 → 0.3.2
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/lib/ramekin/config.rb +3 -1
- data/lib/ramekin/spc_player.rb +6 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66ae01e06b69f6c295e9bd28d8fb79959f28818fd70770d608883e5b4baf5226
|
4
|
+
data.tar.gz: 05ece2318701ce0b3036d984ed4169e9dfcc11e19b98b86b54ff3aacdd9781b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1454727b090f2ee0db392c4822f3bb716c68ef5cdc23dd5156eeef9ab3f98a4fcde9eaa3964f21282f3caa7b152b9efa64067af57f8c35c6db365e153a665716
|
7
|
+
data.tar.gz: 06da5febfe538506f6dc98c08f0178c9311207b06380ce7601cb208925aec653c9a8ede8f9b04a33cd42d03b0150a2153bb038e7dceb105d9f9caad72cfd3e70
|
data/lib/ramekin/config.rb
CHANGED
data/lib/ramekin/spc_player.rb
CHANGED
@@ -3,7 +3,11 @@ module Ramekin
|
|
3
3
|
def self.make_instance
|
4
4
|
config = Ramekin.config.spc_player
|
5
5
|
unless config == '__auto__'
|
6
|
-
|
6
|
+
if config.start_with?('./') || config.start_with?('.\\')
|
7
|
+
return CustomSPCPlayer.new(File.expand_path(config, HOME))
|
8
|
+
else
|
9
|
+
return CustomSPCPlayer.new(config)
|
10
|
+
end
|
7
11
|
end
|
8
12
|
|
9
13
|
return WindowsSPCPlayer.new if Ramekin.config.windows?
|
@@ -96,7 +100,7 @@ module Ramekin
|
|
96
100
|
|
97
101
|
class CustomSPCPlayer < SPCPlayer
|
98
102
|
def initialize(path)
|
99
|
-
@path =
|
103
|
+
@path = path
|
100
104
|
end
|
101
105
|
|
102
106
|
def render(fname, outfile, seconds=nil)
|
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.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jneen
|
8
8
|
bindir: gembin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-11 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: strscan
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
117
|
requirements: []
|
118
|
-
rubygems_version: 3.6.
|
118
|
+
rubygems_version: 3.6.2
|
119
119
|
specification_version: 4
|
120
120
|
summary: A tool for making SMW music with AddmusicK
|
121
121
|
test_files: []
|