miga-base 1.3.22.3 → 1.3.22.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 177b6d0e858379a861ed2408edde5aab61608a1495e722dbd52fe915d420f998
4
- data.tar.gz: be198793e5b1f1e29a9774eb8fce60bedf4463a4e55e6cba4f095a505250c8ea
3
+ metadata.gz: '0803a84850252deb720baedf853133db041694ea34ed35283ef7cb1422a9ca9a'
4
+ data.tar.gz: 1135b71d690d4b006a060fac711b684b28f4d9b449ea5dd67d325dc042a6babb
5
5
  SHA512:
6
- metadata.gz: 2d532525e0fd80e09acf5bbb00ede931d6565940c6c4496ac6d29711897e2775cb2a73291172746e53c2d460517a67a653944ef676566bcf4404abde7c5724f6
7
- data.tar.gz: 12b205c4794695739c12a75404ddc27105d0790b002594857b2adda55c0773c56d324967ad01af490031e8e905a55dafdf26b0d1fc65b893f4246af028fdbb4a
6
+ metadata.gz: 6beb5b7dea65c654fa9ec96da4c6b10c835c755b86987480f093a822e284a632a5946e557a3ba2fe183854de8449d4d1badc535beb221755416b314e59e09303
7
+ data.tar.gz: 26f3ff92abc9039bbb117ced5db008db4c9a4b6a1087edc9cd133cfbbc9a2a5de088f30b3ec74afece31e07f6e14bf2a7fd7fe21194355df4bc5bad2f43bed95
@@ -113,7 +113,7 @@ class MiGA::RemoteDataset
113
113
  rang = a[pref.size .. -1].to_i .. b[pref.size .. -1].to_i
114
114
  ids = rang.map { |k| "%s%0#{a.size - pref.size}i" % [pref, k] }
115
115
  end
116
- ids.map do |id|
116
+ ids.each_slice(10).map do |id|
117
117
  download_rest(opts.merge(universe: :ncbi, db: :nuccore, ids: [id]))
118
118
  end.join("\n")
119
119
  end
data/lib/miga/version.rb CHANGED
@@ -12,7 +12,7 @@ module MiGA
12
12
  # - String indicating release status:
13
13
  # - rc* release candidate, not released as gem
14
14
  # - [0-9]+ stable release, released as gem
15
- VERSION = [1.3, 22, 3].freeze
15
+ VERSION = [1.3, 22, 4].freeze
16
16
 
17
17
  ##
18
18
  # Nickname for the current major.minor version.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miga-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.22.3
4
+ version: 1.3.22.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R