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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ede8bd8e5c78aa94652f19f2cb65a687684f39fe569bfa50954d49202e24b732
4
- data.tar.gz: 46457849f8df89c43f9070fc3de92bf515c1550d897c78574f94c62aeb6d0a26
3
+ metadata.gz: 66ae01e06b69f6c295e9bd28d8fb79959f28818fd70770d608883e5b4baf5226
4
+ data.tar.gz: 05ece2318701ce0b3036d984ed4169e9dfcc11e19b98b86b54ff3aacdd9781b2
5
5
  SHA512:
6
- metadata.gz: 982278d0d678809e2132651ffbd8af5cac3352b4a1560bdfb4538689f394733becae31c8454e867ff170ed056d228af65b78df61787f8d1aadfbf7baa4537f98
7
- data.tar.gz: ef74b770772546afb76a19a82f50c245fc54a39facfb5d187990821c23ffd66943735deff93eadeba9df1507d88fb6cef7cc8ed2f9e476c3972c316a59334e31
6
+ metadata.gz: 1454727b090f2ee0db392c4822f3bb716c68ef5cdc23dd5156eeef9ab3f98a4fcde9eaa3964f21282f3caa7b152b9efa64067af57f8c35c6db365e153a665716
7
+ data.tar.gz: 06da5febfe538506f6dc98c08f0178c9311207b06380ce7601cb208925aec653c9a8ede8f9b04a33cd42d03b0150a2153bb038e7dceb105d9f9caad72cfd3e70
@@ -41,7 +41,9 @@ module Ramekin
41
41
  # spc_player: __auto__
42
42
  # spc_player: C:\\Users\\jneen\\Desktop\\spcplay\\spcplay.exe
43
43
  # spc_player: /path/to/bin/spct
44
-
44
+ #
45
+ # if spct is installed on your PATH
46
+ # spc_player: spct
45
47
  YML
46
48
  end
47
49
 
@@ -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
- return CustomSPCPlayer.new(File.expand_path(config, HOME))
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 = Ramekin.config.expand(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.1
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-03-25 00:00:00.000000000 Z
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.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: []