musa-dsl 0.21.4 → 0.21.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: dae00405142514f16df2be12de1eb9327893f3996ad3c86ec76fc315db521e7d
4
- data.tar.gz: f3ebf69b72452ab83ec33ab873221ee1f0d59954e2c67277c2386fc174278a7c
3
+ metadata.gz: 46172601ed5c7fc82111b9ef5d669006f581e9ea4ebb0c36ef6c7108c9e0107e
4
+ data.tar.gz: aff0114b7c5a87e5e158eb5ff88882e0adfe4e39a8b7531f8aff323425e133f4
5
5
  SHA512:
6
- metadata.gz: 006f3143b93237b86600bde3b7229f14cae909a50603af4c0d1f33050835c582988325f8b2db63b74d20826d1682f09d51960e32d977f47ce86d69b4d25cd53b
7
- data.tar.gz: 7c07575e0bcf7a2b5f9e6361d8ae2b64193b8bba31bec3badfbf02f8c83f8a3595bc84df42aa6c8976c947528c82752f9869ed7c19240c9d0d536cb435b4da86
6
+ metadata.gz: 113e51f155961205cf92897802108124b1f953e7d2d690fcf11582d014c828af3ab13880ac6f69eefbd6fbdfca8d2eb9c96dfd507cd0bf42be87cdb654781753
7
+ data.tar.gz: b8a67793161526eff6a8be4dcd412da2d093228ff95b88c039973a5857da431b93e714b3e6d0d895462e6488a9368564c39b01ebaa6098c36ce7046269b20549
@@ -3,11 +3,12 @@ require 'logger'
3
3
  module Musa; module Logger
4
4
  class Logger < ::Logger
5
5
  def initialize(sequencer: nil, position_format: nil)
6
- super STDERR
6
+ super STDERR, level: WARN
7
7
 
8
8
  @sequencer = sequencer
9
9
  @position_format = position_format || 3.3
10
10
 
11
+
11
12
  self.formatter = proc do |severity, time, progname, msg|
12
13
  level = "[#{severity}] " unless severity == 'DEBUG'
13
14
 
@@ -66,7 +66,7 @@ module Musa
66
66
  @timeslots[at_position] << value
67
67
  end
68
68
  else
69
- @logger.warn('BaseSequencer') { "._raw_numeric_at: warning: ignoring past at command for #{at_position}" }
69
+ @logger.warn('BaseSequencer') { "._raw_numeric_at: ignoring past at command for #{at_position}" }
70
70
  end
71
71
 
72
72
  nil
@@ -113,7 +113,7 @@ module Musa
113
113
  value_parameters: value_parameters,
114
114
  key_parameters: key_parameters }
115
115
  else
116
- @logger.warn('BaseSequencer') { "._numeric_at: warning: ignoring past 'at' command for #{at_position}" }
116
+ @logger.warn('BaseSequencer') { "._numeric_at: ignoring past 'at' command for #{at_position}" }
117
117
  end
118
118
 
119
119
  nil
@@ -48,8 +48,8 @@ module Musa
48
48
  original_position = position
49
49
  position = ticks_position.round * @tick_duration
50
50
 
51
- @logger.warn('BaseSequencer') { "._numeric_at: warning: rounding "\
52
- "position #{position} (#{original_position.to_f.round(5)}) "\
51
+ @logger.warn('BaseSequencer') { "._numeric_at: rounding "\
52
+ "position #{original_position} (#{original_position.to_f.round(5)}) "\
53
53
  "to tick precision: #{position} (#{position.to_f.round(5)})" }
54
54
  end
55
55
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'musa-dsl'
3
- s.version = '0.21.4'
4
- s.date = '2020-10-20'
3
+ s.version = '0.21.5'
4
+ s.date = '2020-10-21'
5
5
  s.summary = 'A simple Ruby DSL for making complex music'
6
6
  s.description = 'Musa-DSL: A Ruby DSL for algorithmic music composition, device language neutral (MIDI, OSC, etc)'
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.21.4
4
+ version: 0.21.5
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: 2020-10-20 00:00:00.000000000 Z
11
+ date: 2020-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: citrus