bio-samtools 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bio-samtools.gemspec +2 -2
  3. data/lib/bio/db/sam.rb +3 -4
  4. metadata +21 -21
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bio-samtools"
8
- s.version = "0.5.0"
8
+ s.version = "0.5.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ricardo Ramirez-Gonzalez", "Dan MacLean", "Raoul J.P. Bonnal"]
12
- s.date = "2012-01-13"
12
+ s.date = "2012-02-17"
13
13
  s.description = "Binder of samtools for ruby, on the top of FFI. \n\n This project was born from the need to add support of BAM files to \n the gee_fu genome browser (http://github.com/danmaclean/gee_fu)."
14
14
  s.email = "ilpuccio.febo@gmail.com"
15
15
  s.extensions = ["ext/mkrf_conf.rb"]
@@ -538,10 +538,9 @@ module Bio
538
538
  class Tag
539
539
  attr_accessor :tag, :type, :value
540
540
  def set(str)
541
- v = str.split(":")
542
- @tag = v[0]
543
- @type = v[1]
544
- @value = v[2]
541
+ @tag = str[0..1]
542
+ @type = str[3]
543
+ @value = str[5..-1]
545
544
  end
546
545
  end
547
546
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bio-samtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-01-13 00:00:00.000000000 Z
14
+ date: 2012-02-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: ffi
18
- requirement: &2153534240 !ruby/object:Gem::Requirement
18
+ requirement: &2165171740 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2153534240
26
+ version_requirements: *2165171740
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bio
29
- requirement: &2153533620 !ruby/object:Gem::Requirement
29
+ requirement: &2165171260 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.4.2
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *2153533620
37
+ version_requirements: *2165171260
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: shoulda
40
- requirement: &2153531760 !ruby/object:Gem::Requirement
40
+ requirement: &2165170760 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: '0'
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *2153531760
48
+ version_requirements: *2165170760
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: bundler
51
- requirement: &2153529440 !ruby/object:Gem::Requirement
51
+ requirement: &2165170260 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ~>
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 1.0.0
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *2153529440
59
+ version_requirements: *2165170260
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: jeweler
62
- requirement: &2153526840 !ruby/object:Gem::Requirement
62
+ requirement: &2165169660 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *2153526840
70
+ version_requirements: *2165169660
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: rcov
73
- requirement: &2153524760 !ruby/object:Gem::Requirement
73
+ requirement: &2165169020 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: '0'
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *2153524760
81
+ version_requirements: *2165169020
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: bio
84
- requirement: &2153522840 !ruby/object:Gem::Requirement
84
+ requirement: &2165193600 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: 1.4.2
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *2153522840
92
+ version_requirements: *2165193600
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: ffi
95
- requirement: &2153483000 !ruby/object:Gem::Requirement
95
+ requirement: &2165193020 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ! '>='
@@ -100,10 +100,10 @@ dependencies:
100
100
  version: '0'
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *2153483000
103
+ version_requirements: *2165193020
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rdoc
106
- requirement: &2153482380 !ruby/object:Gem::Requirement
106
+ requirement: &2165192540 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ! '>='
@@ -111,7 +111,7 @@ dependencies:
111
111
  version: '0'
112
112
  type: :development
113
113
  prerelease: false
114
- version_requirements: *2153482380
114
+ version_requirements: *2165192540
115
115
  description: ! "Binder of samtools for ruby, on the top of FFI. \n\n This project
116
116
  was born from the need to add support of BAM files to \n the gee_fu genome browser
117
117
  (http://github.com/danmaclean/gee_fu)."
@@ -310,7 +310,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
310
310
  version: '0'
311
311
  segments:
312
312
  - 0
313
- hash: 2724404510118255875
313
+ hash: 1379127832013866857
314
314
  required_rubygems_version: !ruby/object:Gem::Requirement
315
315
  none: false
316
316
  requirements: