midilib 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Credits CHANGED
@@ -23,5 +23,10 @@ Christopher Rose <cmr@synopsys.com>
23
23
  Jari Williamsson <jari.williamsson@mailbox.swipnet.se>
24
24
 
25
25
  Contributed Measure and Measures, TimeSig and KeySig, and fixes to events.
26
- Added get_measures to Sequence. Added default implementaiton of
26
+ Added get_measures to Sequence. Added default implementation of
27
27
  key_signature in SeqReader. Contributed the measures_mbt.rb example.
28
+
29
+ Noah Thorp <noah@rixiform.com>
30
+
31
+ Found a bug in the code intended to make midilib work under Ruby 1.9.
32
+ Found another bug in KeySing.data_as_bytes.
data/README CHANGED
@@ -338,6 +338,11 @@ non-commercial purposes as long as the author is given credit.
338
338
 
339
339
  === Recent Changes
340
340
 
341
+ ==== Changes for 1.1.4:
342
+
343
+ * Fixed a bug in KeySig.data_as_bytes. Thanks to Noah Thorp for finding this
344
+ and the bug fixed in 1.1.3.
345
+
341
346
  ==== Changes for 1.1.3:
342
347
 
343
348
  * Fixed the way midilib detects the behavior of IO.getc.
@@ -429,3 +434,9 @@ non-commercial purposes as long as the author is given credit.
429
434
  This software is provided "as is" and without any express or implied
430
435
  warranties, including, without limitation, the implied warranties of
431
436
  merchantability and fitness for a particular purpose.
437
+
438
+ --
439
+ # Local Variables:
440
+ # mode:rdoc
441
+ # End:
442
+ ++
@@ -723,7 +723,7 @@ General <a href="MIDI.html">MIDI</a> drum channel note names.
723
723
  <tr class="top-aligned-row context-row">
724
724
  <td class="context-item-name">VERSION_TWEAK</td>
725
725
  <td>=</td>
726
- <td class="context-item-value">3</td>
726
+ <td class="context-item-value">4</td>
727
727
  </tr>
728
728
  <tr class="top-aligned-row context-row">
729
729
  <td class="context-item-name">Version</td>
@@ -733,7 +733,7 @@ General <a href="MIDI.html">MIDI</a> drum channel note names.
733
733
  <tr class="top-aligned-row context-row">
734
734
  <td class="context-item-name">Copyright</td>
735
735
  <td>=</td>
736
- <td class="context-item-value">'Copyright (c) 2003-2007 by Jim Menard &lt;jimm@io.com&gt;'</td>
736
+ <td class="context-item-value">'Copyright (c) 2003-2008 by Jim Menard &lt;jimm@io.com&gt;'</td>
737
737
  </tr>
738
738
  </table>
739
739
  </div>
@@ -17,7 +17,7 @@
17
17
  <span class="ruby-identifier">data</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-ivar">@meta_type</span>
18
18
  <span class="ruby-identifier">data</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">2</span>
19
19
  <span class="ruby-identifier">data</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-ivar">@data</span>[<span class="ruby-value">0</span>]
20
- <span class="ruby-identifier">data</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-ivar">@data</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">?</span> <span class="ruby-value">1</span> <span class="ruby-operator">:</span> <span class="ruby-value">0</span>
20
+ <span class="ruby-identifier">data</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-ivar">@data</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">?</span> <span class="ruby-value">1</span> <span class="ruby-operator">:</span> <span class="ruby-value">0</span>)
21
21
  <span class="ruby-keyword kw">end</span></pre>
22
22
  </body>
23
23
  </html>
data/html/created.rid CHANGED
@@ -1 +1 @@
1
- Sat, 06 Dec 2008 18:35:07 -0500
1
+ Sun, 07 Dec 2008 08:58:45 -0500
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Sat Dec 06 18:34:05 -0500 2008</td>
59
+ <td>Sun Dec 07 08:53:53 -0500 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -522,6 +522,13 @@ Copyright (c) 1992 by Jim Menard (jimm@io.com). It may be freely used for
522
522
  non-commercial purposes as long as the author is given credit.
523
523
  </p>
524
524
  <h3>Recent Changes</h3>
525
+ <h4>Changes for 1.1.4:</h4>
526
+ <ul>
527
+ <li>Fixed a bug in KeySig.data_as_bytes. Thanks to Noah Thorp for finding this
528
+ and the bug fixed in 1.1.3.
529
+
530
+ </li>
531
+ </ul>
525
532
  <h4>Changes for 1.1.3:</h4>
526
533
  <ul>
527
534
  <li>Fixed the way midilib detects the behavior of IO.getc.
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Oct 07 08:03:37 -0400 2008</td>
59
+ <td>Sun Dec 07 08:52:03 -0500 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Sat Dec 06 18:33:34 -0500 2008</td>
59
+ <td>Sun Dec 07 08:57:30 -0500 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
data/lib/midilib/event.rb CHANGED
@@ -654,7 +654,7 @@ class KeySig < MetaEvent
654
654
  data << @meta_type
655
655
  data << 2
656
656
  data << @data[0]
657
- data << @data[1] ? 1 : 0
657
+ data << (@data[1] ? 1 : 0)
658
658
  end
659
659
 
660
660
  # Returns true if it's a minor key, false if major key
data/lib/midilib/info.rb CHANGED
@@ -2,8 +2,8 @@ module MIDI
2
2
 
3
3
  VERSION_MAJOR = 1
4
4
  VERSION_MINOR = 1
5
- VERSION_TWEAK = 3
5
+ VERSION_TWEAK = 4
6
6
  Version = "#{VERSION_MAJOR}.#{VERSION_MINOR}.#{VERSION_TWEAK}"
7
- Copyright = 'Copyright (c) 2003-2007 by Jim Menard <jimm@io.com>'
7
+ Copyright = 'Copyright (c) 2003-2008 by Jim Menard <jimm@io.com>'
8
8
 
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: midilib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Menard
@@ -9,7 +9,7 @@ autorequire: midilib
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-06 00:00:00 -05:00
12
+ date: 2008-12-07 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15