tracksperanto 1.2.3 → 1.2.4

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.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.2.4 / 2009-09-21
2
+
3
+ * Write to files in binary mode
4
+
1
5
  === 1.2.3 / 2009-09-21
2
6
 
3
7
  * Support both PFTrack 4 and 5
data/lib/pipeline/base.rb CHANGED
@@ -44,7 +44,7 @@ class Tracksperanto::Pipeline::Base
44
44
  @converted_keyframes, @converted_points = 0, 0
45
45
 
46
46
  # Grab the input
47
- read_data = File.open(from_input_file_path)
47
+ read_data = File.open(from_input_file_path, "rb")
48
48
 
49
49
  # Assign the parser
50
50
  importer = parser_class.new(:width => pix_w, :height => pix_h)
@@ -152,7 +152,7 @@ class Tracksperanto::Pipeline::Base
152
152
  # Open the file for writing and register it to be closed automatically
153
153
  def open_owned_export_file(path_to_file)
154
154
  @ios ||= []
155
- handle = File.open(path_to_file, "w")
155
+ handle = File.open(path_to_file, "wb")
156
156
  @ios << handle
157
157
  handle
158
158
  end
data/lib/tracksperanto.rb CHANGED
@@ -4,7 +4,7 @@ require 'delegate'
4
4
 
5
5
  module Tracksperanto
6
6
  PATH = File.expand_path(File.dirname(__FILE__))
7
- VERSION = '1.2.3'
7
+ VERSION = '1.2.4'
8
8
 
9
9
  module Import; end
10
10
  module Export; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tracksperanto
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julik Tarkhanov