musa-dsl 0.23.4 → 0.23.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63ce66fe871b5974115099dd77b285937ff85a39a722feffeea20f536bcf9f12
4
- data.tar.gz: 494ecc1129959fdc4fbf48805dacab97e0bba195b18e2dc75baf65bad9439711
3
+ metadata.gz: 19683437b5ef89739c0d1283c86b18c547a24dd058ca5013abdea4f9c6335f5c
4
+ data.tar.gz: 99fea2b0076baf8976050bd9467f4ecafb87a44bad1b37933e741116f1f5ec96
5
5
  SHA512:
6
- metadata.gz: e13ec1ec288893e5ee7cba2d838e4bebed075a72140922a7c42b04c6212a6eb886aee06ffc22c4e84d94222a88477df5a59d9e4f5d8d0f212c322a8aba15ef2b
7
- data.tar.gz: 68d95b1c4e4cdc993d8b49262ffebfa9c867c7d2dc5534d87a378b9558e39fc45fc24ce7054cf77c1d60c5d4adf6a32832e0af3a4275a4507313e46b3348f5eb
6
+ metadata.gz: 26765814873920f392a76fdef1f8f7fc6ce3baca086d47ba443fb74246768943dbe074ebc35b71d946aab7136fd6a433fe03ad897bcff8a16e7045a1fd0c5e7f
7
+ data.tar.gz: 57a1761af4bb50cb40c75680e89716e8f21b8f5a4ea345b42bdb3e2065f58a315fac8b579227741b601c25f2e2e8a617d7fef2cd799366f7df4b749c9a532ec9
@@ -294,7 +294,7 @@ module Musa
294
294
  @source&.infinite? || false
295
295
  end
296
296
 
297
- def to_a(recursive: nil, duplicate: nil, restart: nil, dr: nil)
297
+ def to_a(duplicate: nil, recursive: nil, restart: nil, dr: nil)
298
298
  recursive ||= false
299
299
 
300
300
  dr = instance? if dr.nil?
@@ -4,6 +4,12 @@ require_relative '../core-ext/with'
4
4
 
5
5
  module Musa
6
6
  module Series
7
+ module Operations
8
+ def composer(&block)
9
+ Composer::Composer.new(&block).tap { |_| _.input.proxy_source = self}.output
10
+ end
11
+ end
12
+
7
13
  module Composer
8
14
  class Composer
9
15
  using Musa::Extension::Arrayfy
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.4'
3
+ s.version = '0.23.5'
4
4
  s.date = '2021-07-28'
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.4
4
+ version: 0.23.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Sánchez Yeste