dna 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc CHANGED
@@ -1 +1 @@
1
- rvm use --create 1.8.7@dna
1
+ rvm use --create 1.9.3@dna
@@ -1,4 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
- - 1.8.7
4
+ script: bundle exec rspec
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source :rubygems
1
+ source "https://rubygems.org"
2
2
 
3
3
  group :test do
4
4
  gem 'rspec', '~> 2.11.0'
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dna"
8
- s.version = "0.2.1"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Austin G. Davis-Richardson"]
12
- s.date = "2012-12-19"
12
+ s.date = "2013-08-02"
13
13
  s.description = "Simple FASTA/FASTQ/QSEQ parser library for Ruby."
14
14
  s.email = "harekrishna@gmail.com"
15
15
  s.executables = ["dna"]
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
43
43
  s.homepage = "http://audy.github.com/dna"
44
44
  s.licenses = ["MIT"]
45
45
  s.require_paths = ["lib"]
46
- s.rubygems_version = "1.8.23"
46
+ s.rubygems_version = "1.8.25"
47
47
  s.summary = "Simple FASTA/FASTQ/QSEQ parser library for Ruby"
48
48
 
49
49
  if s.respond_to? :specification_version then
data/lib/dna.rb CHANGED
@@ -1,3 +1,6 @@
1
1
  require 'zlib'
2
2
 
3
- Dir.glob(File.join(File.dirname(__FILE__), 'dna', '*.rb')).each { |f| require f }
3
+ [ 'version.rb', 'dna.rb', 'phred.rb', 'record.rb'].each do |f|
4
+ fp = File.join(File.dirname(__FILE__), 'dna', f)
5
+ require fp
6
+ end
@@ -1,8 +1,8 @@
1
1
  class Dna
2
2
  class Version
3
3
  MAJOR = 0
4
- MINOR = 2
5
- PATCH = 1
4
+ MINOR = 3
5
+ PATCH = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].join('.')
8
8
  end
data/readme.md CHANGED
@@ -18,7 +18,7 @@ Features
18
18
 
19
19
  ## Installation
20
20
 
21
- With Ruby 1.8.7 or better:
21
+ Tested on Ruby 1.9.3 and 2.0.0
22
22
 
23
23
  ```
24
24
  $ (sudo) gem install dna
@@ -1,3 +1,5 @@
1
+ require 'spec_helper'
2
+
1
3
  # XXX should probably use the actual record objects
2
4
  class TestRecord
3
5
  include Phred
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dna
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-19 00:00:00.000000000 Z
12
+ date: 2013-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jeweler
@@ -74,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
74
  version: '0'
75
75
  segments:
76
76
  - 0
77
- hash: 1149140625798689145
77
+ hash: -3491596072416341887
78
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  none: false
80
80
  requirements:
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  version: '0'
84
84
  requirements: []
85
85
  rubyforge_project:
86
- rubygems_version: 1.8.23
86
+ rubygems_version: 1.8.25
87
87
  signing_key:
88
88
  specification_version: 3
89
89
  summary: Simple FASTA/FASTQ/QSEQ parser library for Ruby