dna 0.0.12 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. data/Rakefile +3 -3
  2. data/dna.gemspec +2 -1
  3. data/lib/dna/version.rb +9 -0
  4. data/readme.md +2 -2
  5. metadata +4 -3
data/Rakefile CHANGED
@@ -3,7 +3,7 @@
3
3
  require 'rubygems'
4
4
  require 'bundler'
5
5
 
6
- DNA_VERSION = '0.0.12'
6
+ require './lib/dna/version.rb'
7
7
 
8
8
  begin
9
9
  Bundler.setup(:default, :development)
@@ -23,7 +23,7 @@ Jeweler::Tasks.new do |gem|
23
23
  gem.description = "Simple FASTA/FASTQ/QSEQ parser library for Ruby."
24
24
  gem.email = "harekrishna@gmail.com"
25
25
  gem.authors = ["Austin G. Davis-Richardson"]
26
- gem.version = DNA_VERSION
26
+ gem.version = Dna::Version::STRING
27
27
  end
28
28
  Jeweler::RubygemsDotOrgTasks.new
29
29
 
@@ -39,7 +39,7 @@ task :default => :test
39
39
  require 'rdoc/task'
40
40
  Rake::RDocTask.new do |rdoc|
41
41
 
42
- version = DNA_VERSION
42
+ version = Dna::Version::STRING
43
43
 
44
44
  rdoc.rdoc_dir = 'rdoc'
45
45
  rdoc.title = "test #{version}"
data/dna.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dna"
8
- s.version = "0.0.12"
8
+ s.version = "0.1.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"]
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
26
26
  "lib/dna/parsers/fastq.rb",
27
27
  "lib/dna/parsers/qseq.rb",
28
28
  "lib/dna/record.rb",
29
+ "lib/dna/version.rb",
29
30
  "readme.md",
30
31
  "spec/data/empty.txt",
31
32
  "spec/data/test.fasta",
@@ -0,0 +1,9 @@
1
+ class Dna
2
+ class Version
3
+ MAJOR = 0
4
+ MINOR = 1
5
+ PATCH = 0
6
+
7
+ STRING = [MAJOR, MINOR, PATCH].join('.')
8
+ end
9
+ end
data/readme.md CHANGED
@@ -10,7 +10,7 @@ Supported Formats:
10
10
  - [fastq](http://en.wikipedia.org/wiki/Fastq)
11
11
  - [qseq](http://blog.kokocinski.net/index.php/qseq-files-format?blog=2)
12
12
 
13
- [Request a format](https://github.com/audy/dna/issues/new)
13
+ [Request a format](https://github.com/audy/dna/issues/new?title=request%20for%20new%20format)
14
14
 
15
15
  ## Installation
16
16
 
@@ -82,4 +82,4 @@ File.open('sequences.fasta.gz') do |handle|
82
82
  puts record.length
83
83
  end
84
84
  end
85
- ```
85
+ ```
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dna
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 12
10
- version: 0.0.12
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Austin G. Davis-Richardson
@@ -66,6 +66,7 @@ files:
66
66
  - lib/dna/parsers/fastq.rb
67
67
  - lib/dna/parsers/qseq.rb
68
68
  - lib/dna/record.rb
69
+ - lib/dna/version.rb
69
70
  - readme.md
70
71
  - spec/data/empty.txt
71
72
  - spec/data/test.fasta