ms-sequest 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/History CHANGED
@@ -1,3 +1,8 @@
1
+
2
+ == 0.0.8 / 2009-06-29
3
+
4
+ * bugfix - only applies to windows: fixes an error on windows opening srf files and searching for the internal sequest.params file. File.open(<srf>) -> File.open(<srf>, 'rb').
5
+
1
6
  == 0.0.7 / 2009-06-26
2
7
 
3
8
  * minor bug fix in srf to sqt output in compatibility with current ms-core ms/mass tables
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Ms
3
3
  module Sequest
4
- VERSION = '0.0.7'
4
+ VERSION = '0.0.8'
5
5
  end
6
6
  end
@@ -48,7 +48,7 @@ class Ms::Sequest::Srf
48
48
  def self.get_sequest_params(filename)
49
49
  # split the file in half and only read the second half (since we can be
50
50
  # confident that the params file will be there!)
51
- File.open(filename) do |handle|
51
+ File.open(filename, 'rb') do |handle|
52
52
  halfway = handle.stat.size / 2
53
53
  handle.seek halfway
54
54
  last_half = handle.read
@@ -172,7 +172,7 @@ END
172
172
  warn "no params file found in srf, could be truncated file!"
173
173
  end
174
174
 
175
- File.open(filename, "rb") do |fh|
175
+ File.open(filename, 'rb') do |fh|
176
176
  @header = Ms::Sequest::Srf::Header.new.from_io(fh)
177
177
  @version = @header.version
178
178
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ms-sequest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Prince
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-26 00:00:00 -06:00
12
+ date: 2009-06-29 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency