lederhosen 1.2.2 → 1.2.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.
data/lederhosen.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "lederhosen"
8
- s.version = "1.2.2"
8
+ s.version = "1.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Austin G. Davis-Richardson"]
@@ -15,17 +15,16 @@ module Lederhosen
15
15
 
16
16
  taxa = Set.new
17
17
 
18
- ohai "getting representative database sequences from #{database} using #{inputs} clusters and saving to #{output}"
18
+ ohai "getting representative database sequences from #{database} using #{inputs.size} cluster file(s) and saving to #{output}"
19
19
 
20
20
  # parse uc file, get list of taxa we need to get
21
21
  # full sequences for from the database
22
- total_bytes = inputs.map { |x| File.size(x) }.inject(:+)
23
- pbar = ProgressBar.new 'reading uc(s)', total_bytes
22
+ pbar = ProgressBar.new 'reading uc(s)', inputs.size
24
23
 
25
24
  inputs.each do |input|
26
25
  File.open(input) do |handle|
27
26
  handle.each do |line|
28
- pbar.inc line.unpack('*C').size
27
+ pbar.inc
29
28
  header = parse_usearch_line(line.strip)
30
29
  taxa << header[:original] rescue nil
31
30
  end
@@ -3,7 +3,7 @@ module Lederhosen
3
3
  MAJOR = 1
4
4
  MINOR = 2
5
5
  CODENAME = 'Regenmantel' # changes for minor versions
6
- PATCH = 2
6
+ PATCH = 4
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH].join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lederhosen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -159,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  segments:
161
161
  - 0
162
- hash: 3469551322698275047
162
+ hash: -2791124555855292647
163
163
  required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  none: false
165
165
  requirements: