musa-dsl 0.23.21 → 0.23.22

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: aedf88a0a0fbde9b6f6304d49120aa1f1f8d4aa2d235eb3af32a8b5c21f4a930
4
- data.tar.gz: d96c2fe26565dd56ce1a3c6a52637612f384388a555c8e64006a3e08ecd97673
3
+ metadata.gz: e29d8270f71037a8b9463b9aeecb86a1b1e2387078ff31c0db4d9e2688d91a8a
4
+ data.tar.gz: 1c10fd8b4656376184274828d75fc32162ee45247fd9b660ecdd792ebbf0469b
5
5
  SHA512:
6
- metadata.gz: 86275e952c77624849cf77f2f51f69606fc31834bc72909f3604eb6eb91669bb8b3a74bbb1f2bf56d81e19e85b819dca73e23a386bf39f05213317000158ef7b
7
- data.tar.gz: 3eacb78ab20092b2c8b6c8adbca960321126f8d9ea09655f230564bd3cfb4e7d75ed021f3e688d2f91c63bf9abf0a49d156fa41bce87f0fad7291337c139b60a
6
+ metadata.gz: 2c6257b0fe2142959b31e66be05c14ea98ec7754a962ebd047f414e1e694b4e8ccab6cfc284a55002951e6bdb93d807b14b4e513305d3da45b4ac692122111e5
7
+ data.tar.gz: ced439462deba1da30f80e3c1fd4e8a822583a89f6c48bf133fb47d08a3eb7c8d45cde012f640fb5bc43793db92a7d036572ad18bac313612b85a4058096d058
@@ -1,4 +1,5 @@
1
1
  require 'socket'
2
+ require 'pathname'
2
3
 
3
4
  module Musa
4
5
  module REPL
@@ -42,7 +43,7 @@ module Musa
42
43
 
43
44
  when '#begin'
44
45
  user_path = buffer&.string
45
- binder.local_variable_set(:user_path, user_path)
46
+ binder.receiver.instance_variable_set(:@user_pathname, Pathname.new(user_path)) if user_path
46
47
 
47
48
  buffer = StringIO.new
48
49
 
data/lib/musa-dsl.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Musa
2
- VERSION = '0.23.21'
2
+ VERSION = '0.23.22'
3
3
  end
4
4
 
5
5
  require_relative 'musa-dsl/core-ext'
data/musa-dsl.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'musa-dsl'
3
- s.version = '0.23.21'
3
+ s.version = '0.23.22'
4
4
  s.date = '2021-10-26'
5
5
  s.summary = 'A simple Ruby DSL for making complex music'
6
6
  s.description = 'Musa-DSL: A Ruby framework and DSL for algorithmic sound and musical thinking and composition'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: musa-dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.21
4
+ version: 0.23.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Sánchez Yeste