bioinform 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/bioinform.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Bioinform::VERSION
17
17
 
18
- gem.add_dependency('active_support', '~> 3.0.0')
18
+ gem.add_dependency('activesupport', '>= 3.0.0')
19
19
 
20
- gem.add_development_dependency "rspec", "~> 2.0"
20
+ gem.add_development_dependency "rspec", ">= 2.0"
21
21
  end
@@ -2,7 +2,7 @@ require 'bioinform/support'
2
2
 
3
3
  module Bioinform
4
4
  class PM
5
- attr_reader :matrix
5
+ attr_reader :matrix, :background
6
6
  attr_accessor :name
7
7
 
8
8
  def initialize(input = nil, parser = nil)
@@ -14,6 +14,10 @@ module Bioinform
14
14
  matrix_init
15
15
  end
16
16
 
17
+ def ==(other)
18
+ @matrix == other.matrix && @background == other.background
19
+ end
20
+
17
21
  def parser_init
18
22
  if @parser
19
23
  raise ArgumentError, 'Input cannot be parsed by specified parser' unless @parser.new(@input).can_parse?
@@ -1,3 +1,3 @@
1
1
  module Bioinform
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bioinform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,14 +9,14 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-20 00:00:00.000000000 Z
12
+ date: 2012-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: active_support
15
+ name: activesupport
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: 3.0.0
22
22
  type: :runtime
@@ -24,7 +24,7 @@ dependencies:
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 3.0.0
30
30
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ~>
35
+ - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
37
  version: '2.0'
38
38
  type: :development
@@ -40,7 +40,7 @@ dependencies:
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ~>
43
+ - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '2.0'
46
46
  description: A bunch of useful classes for bioinformatics