wrnap 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/wrnap/package/base.rb +1 -1
- data/lib/wrnap/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19594d33f5f8086ed132ca61f15a19f52ba113e6
|
4
|
+
data.tar.gz: e218e0786860d8d258bd5d51020d93699d40fe16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d13b35f417c04c16bfae879d5a574fc67e075b4787388483c214c48c1f4e9c297a8efd827e852d561d75f2f2f2608eb8535b99cfee8ec2c17babfc13e654ff4
|
7
|
+
data.tar.gz: d0a62548f57e21423a95394e59f607b52b4c1b61f895c3b209d68e86e63914a1d3d96df5316c2852e107e7ab53f3d1787e4231de03bbabb1463203a65c07e238
|
data/README.md
CHANGED
data/lib/wrnap/package/base.rb
CHANGED
@@ -39,7 +39,7 @@ module Wrnap
|
|
39
39
|
data = [data] unless data.is_a?(Array)
|
40
40
|
|
41
41
|
@data = case data.map(&:class)
|
42
|
-
when [Wrnap::Global::Rna]
|
42
|
+
when [Wrnap::Global::Rna] then data.first
|
43
43
|
when *(1..3).map { |i| [String] * i } then RNA.from_string(*data)
|
44
44
|
when [Hash] then RNA.from_hash(*data)
|
45
45
|
when [Array] then RNA.from_array(*data)
|
data/lib/wrnap/version.rb
CHANGED