musa-dsl 0.23.20 → 0.23.21

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: c9f9288750f73ad1ddb927ad4b59537c61b1913f7194b6716a61b4e7977605f5
4
- data.tar.gz: 44c7984d242e8d3521c5005d4beb0357cb63a469c2dfa054662539af2e23797b
3
+ metadata.gz: aedf88a0a0fbde9b6f6304d49120aa1f1f8d4aa2d235eb3af32a8b5c21f4a930
4
+ data.tar.gz: d96c2fe26565dd56ce1a3c6a52637612f384388a555c8e64006a3e08ecd97673
5
5
  SHA512:
6
- metadata.gz: ca86c780eed4d3b11506b8682c9b128a315384353c816cc290823bdf7a9b404af8d99f33f557a263d29b2f2dd8e52f5a4757ad13064cc7ea6a87bb145b1b5775
7
- data.tar.gz: 7fe5ce3b6ffa253a5eb4bd7d8d8cfac31129a80fe9da684b5de3e0f393c26ad8e9930f27108696ed10d21ce769dd16bd222265eb8810e2277353b1d08d26bd6c
6
+ metadata.gz: 86275e952c77624849cf77f2f51f69606fc31834bc72909f3604eb6eb91669bb8b3a74bbb1f2bf56d81e19e85b819dca73e23a386bf39f05213317000158ef7b
7
+ data.tar.gz: 3eacb78ab20092b2c8b6c8adbca960321126f8d9ea09655f230564bd3cfb4e7d75ed021f3e688d2f91c63bf9abf0a49d156fa41bce87f0fad7291337c139b60a
@@ -37,7 +37,13 @@ module Musa
37
37
 
38
38
  line.chomp!
39
39
  case line
40
+ when '#path'
41
+ buffer = StringIO.new
42
+
40
43
  when '#begin'
44
+ user_path = buffer&.string
45
+ binder.local_variable_set(:user_path, user_path)
46
+
41
47
  buffer = StringIO.new
42
48
 
43
49
  when '#end'
data/lib/musa-dsl.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Musa
2
- VERSION = '0.23.20'
2
+ VERSION = '0.23.21'
3
3
  end
4
4
 
5
5
  require_relative 'musa-dsl/core-ext'
data/musa-dsl.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'musa-dsl'
3
- s.version = '0.23.20'
4
- s.date = '2021-09-29'
3
+ s.version = '0.23.21'
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'
7
7
  s.authors = ['Javier Sánchez Yeste']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: musa-dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.20
4
+ version: 0.23.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Sánchez Yeste
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-29 00:00:00.000000000 Z
11
+ date: 2021-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: citrus