ncbi-blast-dbs 0.0.1 → 0.0.2

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: 4548901d7963958b9ee98e4a45b558d1654f6151
4
- data.tar.gz: 79d2503e82646c94aa04ff30f0b25e99646e0f55
3
+ metadata.gz: 5e0cc1d52b816514b98df36ded99c565d83f7f16
4
+ data.tar.gz: a42179ad695241c4774e44e891ec90ad9d657218
5
5
  SHA512:
6
- metadata.gz: 5ecb01abb31c1b41e6301a4dcda923a27c44b4175ce06f00293795dd801a2247eb3ba6d760e3ee0457f9b41b207251b8b251b216db9789b6ebba8c24f107cbfe
7
- data.tar.gz: 33d2aee65c3baf1fce7adf020e1efd40ed927fa7898cff14bc4de104c080091f7520149d614ece5ff6976f3704e9dc920eec59b9d8c50fb93072747d636540c6
6
+ metadata.gz: 2038176b3f4a2f4f1407116465a104247ed0c51b221533a9ac3767e7addcbce854f5368894921d91b0d4e5848cb72d8ac8a986b124ce4f0d9351dcfd678e1726
7
+ data.tar.gz: d1b713b964f1f9ab68d757252a3f3400f89772665a6e36658dcc42e04c76994fd781c51aeebf5a209c9317b89e35228ee16f37ed90baf2ce044e04a13c12421b
@@ -3,7 +3,8 @@ require 'net/ftp'
3
3
  def download(url)
4
4
  file = File.basename(url)
5
5
  sh "wget -Nc #{url} && wget -Nc #{url}.md5 &&"\
6
- " md5sum -c #{file}.md5 && tar xvf #{file}"
6
+ " md5sum -c #{file}.md5 && tar xvf #{file}"\
7
+ " || rm #{file} #{file}.md5"
7
8
  end
8
9
 
9
10
  def databases
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
2
2
  s.authors = ['Anurag Priyam']
3
3
  s.email = ['anurag08priyam@gmail.com']
4
4
  s.name = 'ncbi-blast-dbs'
5
- s.version = '0.0.1'
5
+ s.version = '0.0.2'
6
6
  s.summary = 'Fast download BLAST databases from NCBI.'
7
7
  s.description = <<DESC
8
8
  Downloads BLAST databases from NCBI. Database files (volumes) are downloaded in
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ncbi-blast-dbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anurag Priyam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-02 00:00:00.000000000 Z
11
+ date: 2016-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake