nexus_parser 1.1.4 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/nexus_parser.gemspec CHANGED
@@ -1,60 +1,59 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{nexus_parser}
8
- s.version = "1.1.4"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["mjy"]
12
- s.date = %q{2011-04-12}
13
- s.description = %q{A full featured and extensible Nexus file parser in Ruby. }
14
- s.email = %q{diapriid@gmail.com}
15
- s.extra_rdoc_files = [
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/nexus_parser/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "nexus_parser"
7
+ spec.version = NexusParser::VERSION
8
+ spec.authors = ["mjy", "kleintom"]
9
+ spec.email = ["diapriid@gmail.com"]
10
+
11
+ spec.summary = "A Nexus file format (phylogenetic inference) parser in Ruby."
12
+ spec.description = "A full featured and extensible Nexus file parser in Ruby."
13
+ spec.homepage = "http://github.com/mjy/nexus_parser"
14
+
15
+ spec.metadata["homepage_uri"] = spec.homepage
16
+ spec.metadata["source_code_uri"] = spec.homepage
17
+
18
+ spec.extra_rdoc_files = [
16
19
  "LICENSE",
17
- "README",
18
- "README.rdoc"
20
+ "README.md"
19
21
  ]
20
- s.files = [
22
+ spec.files = [
21
23
  ".document",
22
- ".gitignore",
23
- "LICENSE",
24
- "MIT-LICENSE",
25
- "README",
26
- "README.rdoc",
27
- "Rakefile",
28
- "VERSION",
29
- "init.rb",
30
- "install.rb",
31
- "lib/lexer.rb",
32
- "lib/nexus_parser.rb",
33
- "lib/parser.rb",
34
- "lib/tokens.rb",
35
- "nexus_parser.gemspec",
36
- "tasks/nexus_parser_tasks.rake",
37
- "test/MX_test_03.nex",
38
- "test/test.nex",
39
- "test/test_nexus_parser.rb",
40
- "uninstall.rb"
24
+ ".gitignore",
25
+ "LICENSE",
26
+ "README.md",
27
+ "Rakefile",
28
+ "install.rb",
29
+ "lib/nexus_parser.rb",
30
+ "lib/nexus_parser/lexer.rb",
31
+ "lib/nexus_parser/parser.rb",
32
+ "lib/nexus_parser/tokens.rb",
33
+ "lib/nexus_parser/version.rb",
34
+ "nexus_parser.gemspec",
35
+ "tasks/nexus_parser_tasks.rake",
36
+ "test/MX_test_03.nex",
37
+ "test/test.nex",
38
+ "test/test_nexus_parser.rb",
39
+ "uninstall.rb"
41
40
  ]
42
- s.homepage = %q{http://github.com/mjy/nexus_parser}
43
- s.rdoc_options = ["--charset=UTF-8"]
44
- s.require_paths = ["lib"]
45
- s.rubygems_version = %q{1.5.3}
46
- s.summary = %q{A Nexus file format (phylogenetic inference) parser in Ruby.}
47
- s.test_files = [
41
+
42
+ spec.bindir = "exe"
43
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
44
+ spec.rdoc_options = ["--charset=UTF-8"]
45
+ spec.require_paths = ["lib"]
46
+
47
+ spec.test_files = [
48
48
  "test/test_nexus_parser.rb"
49
49
  ]
50
50
 
51
- if s.respond_to? :specification_version then
52
- s.specification_version = 3
51
+ spec.required_ruby_version = '>= 3.3.0'
53
52
 
54
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
55
- else
56
- end
57
- else
58
- end
53
+ spec.add_development_dependency 'bundler', '~> 2.0'
54
+ spec.add_development_dependency 'rake', '~> 13.0'
55
+ spec.add_development_dependency 'rdoc', '~> 6.6.2'
56
+ spec.add_development_dependency 'byebug', '~> 11.1'
57
+ spec.add_development_dependency 'test-unit'
59
58
  end
60
59
 
data/test/MX_test_03.nex CHANGED
@@ -9,7 +9,7 @@ BEGIN TAXA;
9
9
  TITLE 'Scharff&Coddington_1997_Araneidae';
10
10
  DIMENSIONS NTAX=10;
11
11
  TAXLABELS
12
- Dictyna Uloborus Deinopis Nephila&Herennia 'Nephilengys_cruentata' Meta Leucauge_venusta Pachygnatha 'Theridiosoma_01' Tetragnatha
12
+ Dictyna Uloborus Deinopis Nephila&Herennia 'Nephilengys_cruentata' Meta Leucauge_venusta Pachygnatha 'Theridiosoma_01' Tetragnatha
13
13
  ;
14
14
  IDS JC1191fcddc2b128 JC1191fcddc2b129 JC1191fcddc2b130 JC1191fcddc2b131 JC1191fcddc2b132 JC1191fcddc2b133 JC1191fcddc2b134 JC1191fcddc2b135 JC1191fcddc2b137 JC1191fcddc2b136 ;
15
15
  BLOCKID JC1191fcddc0c4;
@@ -21,8 +21,8 @@ BEGIN CHARACTERS;
21
21
  TITLE 'Scharff&Coddington_1997_Araneidae';
22
22
  DIMENSIONS NCHAR=10;
23
23
  FORMAT DATATYPE = STANDARD GAP = - MISSING = ? SYMBOLS = " 0 1 2 3 4 5 6 7 8 9 A";
24
- CHARSTATELABELS
25
- 1 Tibia_II / norm modified, 2 TII_macrosetae / '= TI' stronger, 3 Femoral_tuber / abs pres 'm-setae', 5 Cymbium / dorsal mesal lateral, 6 Paracymbium / abs pres, 7 Globular_tegulum / abs pres, 8 / entire w_lobe, 9 Conductor_wraps_embolus, 10 Median_apophysis / pres abs ;
24
+ CHARSTATELABELS
25
+ 1 Tibia_II / norm modified, 2 TII_macrosetae / '= TI' stronger, 3 Femoral_tuber / abs pres 'm-setae', 5 Cymbium / dorsal mesal lateral, 6 Paracymbium / abs pres, 7 Globular_tegulum / abs pres, 8 / entire w_lobe, 9 Conductor_wraps_embolus, 10 Median_apophysis / pres abs ;
26
26
  MATRIX
27
27
  Dictyna 0?00201001
28
28
  Uloborus 0?11000000