vienna_rna 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ef71ef14f8aa6b6cfd87e922a9ee3cf615d0803
4
- data.tar.gz: 57eaf84d7035c682f590c59f89b7979642dad4a5
3
+ metadata.gz: 1b931c7540df1fe667e698d358ad5f362bb9099c
4
+ data.tar.gz: dcf9b4f4f050e4ca03f152385f663d8e6add6d66
5
5
  SHA512:
6
- metadata.gz: b3e3802edc175094efd45e4f1c041f16e0889c9ef8e5bf29c1cc67f0c8ef7207546efd69efe2eaf491b1a39a065e537867d7545d60816e2c025ee4a09cd07cf9
7
- data.tar.gz: 5917e44780720e383bf7f97a9bfbe0f382cc62c35a03523ab71b4b9a35d13706af0f4b544ee2d517d0f23b2eed41024a4e1d5dbb5a5c975bfcf4cdf587655de3
6
+ metadata.gz: 7ba749544f0b4b8443beb65f3b97b02d2021d0a0d319e95e050924316bc3537fd8a3a61e5d3f396e4c20a70eda94654fc6b5d6b27e32c8529b1fa7365782d021
7
+ data.tar.gz: fec7d1ad0a7407c70f73d1ea1dc3f38e66e6e6e0f6ee21574e4d0b6d53f80544aea175444b47a75d1d59ed0eb298411589789b17d2e7f7136dc797670845f232
@@ -42,7 +42,7 @@ module ViennaRna
42
42
 
43
43
 
44
44
  def inspect
45
- case [sequence.present?, structure.present?]
45
+ case [!(seq || "").empty?, !(str || "").empty?]
46
46
  when [true, true] then
47
47
  "#<#{self.class.name} #{seq[0, 20] + (seq.length > 20 ? '...' : '')} #{str[0, 20] + (str.length > 20 ? ' [truncated]' : '')}>"
48
48
  when [true, false] then
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vienna_rna
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Senter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-27 00:00:00.000000000 Z
11
+ date: 2013-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bio