mascot-dat 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -9,4 +9,6 @@ test.rb
9
9
  gh.yml
10
10
  doc/*
11
11
  .yardoc
12
- scratch.rb
12
+ scratch.rb
13
+ *.sublime-project
14
+ *.sublime-workspace
@@ -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.2.0"
3
+ VERSION = "0.2.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.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-09 00:00:00.000000000 Z
12
+ date: 2012-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70340237935320 !ruby/object:Gem::Requirement
16
+ requirement: &70341777412840 !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: *70340237935320
24
+ version_requirements: *70341777412840
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: yard
27
- requirement: &70340237934880 !ruby/object:Gem::Requirement
27
+ requirement: &70341777410100 !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: *70340237934880
35
+ version_requirements: *70341777410100
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: -3741896018441832167
91
+ hash: 4478337334591189647
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: -3741896018441832167
100
+ hash: 4478337334591189647
101
101
  requirements: []
102
102
  rubyforge_project:
103
103
  rubygems_version: 1.8.11