bio 2.0.5 → 2.0.6

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.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  #
2
3
  # test/unit/bio/test_sequence.rb - Unit test for Bio::Sequencce
3
4
  #
@@ -233,7 +234,7 @@ module Bio
233
234
  end
234
235
 
235
236
  def test_randomize_dna_with_block
236
- appended = ""
237
+ appended = String.new
237
238
  @na.randomize {|x| appended << x}
238
239
  assert_equal(@na.composition, Sequence::NA.new(appended).composition)
239
240
  end
@@ -247,7 +248,7 @@ module Bio
247
248
  end
248
249
 
249
250
  def test_NA_randomize_with_counts_and_block
250
- appended = ""
251
+ appended = String.new
251
252
  counts = {'a'=>10,'c'=>20,'g'=>30,'u'=>40}
252
253
  counts.default = 0
253
254
  Sequence::NA.randomize(counts) {|x| appended << x}
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - BioRuby project
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
10
+ date: 2025-03-07 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: BioRuby is a library for bioinformatics (biology + information science).
14
13
  email: staff@bioruby.org
@@ -55,10 +54,12 @@ files:
55
54
  - doc/RELEASE_NOTES-1.4.2.rdoc
56
55
  - doc/RELEASE_NOTES-1.4.3.rdoc
57
56
  - doc/RELEASE_NOTES-1.5.0.rdoc
57
+ - doc/Tutorial.md
58
58
  - doc/Tutorial.rd
59
59
  - doc/Tutorial.rd.html
60
60
  - doc/Tutorial.rd.ja
61
61
  - doc/Tutorial.rd.ja.html
62
+ - doc/Tutorial_ja.md
62
63
  - doc/bioruby.css
63
64
  - etc/bioinformatics/seqdatabase.ini
64
65
  - lib/bio.rb
@@ -593,7 +594,6 @@ homepage: http://bioruby.org/
593
594
  licenses:
594
595
  - Ruby
595
596
  metadata: {}
596
- post_install_message:
597
597
  rdoc_options:
598
598
  - "--main"
599
599
  - README.rdoc
@@ -616,8 +616,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
616
616
  - !ruby/object:Gem::Version
617
617
  version: '0'
618
618
  requirements: []
619
- rubygems_version: 3.4.10
620
- signing_key:
619
+ rubygems_version: 3.6.2
621
620
  specification_version: 4
622
621
  summary: Bioinformatics library
623
622
  test_files: []