mascot-dat 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -77,7 +77,7 @@ module Mascot
77
77
  when "index"
78
78
  @index = v.to_i
79
79
  when "rtinseconds"
80
- @rtinseconds = v.to_i
80
+ @rtinseconds = v.to_f
81
81
  when "charge"
82
82
  @charge = v
83
83
  when "mass_min"
@@ -1,6 +1,6 @@
1
1
  module Mascot
2
2
  class DAT
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
6
6
 
@@ -12,7 +12,7 @@ class TestMascotDatQuery < TestMascotDatHelper
12
12
  assert_equal("281.832701459371_513",@query.title)
13
13
  end
14
14
  def test_rtinseconds
15
- assert_equal(513, @query.rtinseconds)
15
+ assert_equal(513.0, @query.rtinseconds)
16
16
  end
17
17
  def test_index
18
18
  assert_equal(30,@query.index)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mascot-dat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70273728840180 !ruby/object:Gem::Requirement
16
+ requirement: &70333996748920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70273728840180
24
+ version_requirements: *70333996748920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: yard
27
- requirement: &70273728839140 !ruby/object:Gem::Requirement
27
+ requirement: &70333996748120 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70273728839140
35
+ version_requirements: *70333996748120
36
36
  description: Mascot DAT file format parser
37
37
  email:
38
38
  - angel@upenn.edu
@@ -88,7 +88,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  segments:
90
90
  - 0
91
- hash: 3863437592712259051
91
+ hash: -770109042875797735
92
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  none: false
94
94
  requirements:
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  segments:
99
99
  - 0
100
- hash: 3863437592712259051
100
+ hash: -770109042875797735
101
101
  requirements: []
102
102
  rubyforge_project:
103
103
  rubygems_version: 1.8.11