nexus_parser 1.1.0 → 1.1.1

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/README.rdoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = nexus_parser
2
2
 
3
- Description goes here.
3
+ See the test files for usage for now, lots of examples there.
4
4
 
5
5
  == Note on Patches/Pull Requests
6
6
 
@@ -14,4 +14,4 @@ Description goes here.
14
14
 
15
15
  == Copyright
16
16
 
17
- Copyright (c) 2010 mjy. See LICENSE for details.
17
+ Copyright (c) 2010 Matt Yoder. See LICENSE for details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
data/lib/lexer.rb CHANGED
@@ -21,7 +21,7 @@ class NexusParser::Lexer
21
21
  token = read_next_token(token_class)
22
22
  @next_token = nil
23
23
  if token.class != token_class
24
- raise(NexusParser::ParseError,"expected #{token_class.to_s} but received #{token.class.to_s} at #{@input[0..10]}...", caller)
24
+ raise(NexusParser::ParseError,"expected #{token_class.to_s} but received #{token.class.to_s} at #{@input[0..40]}...", caller)
25
25
  else
26
26
  return token
27
27
  end
data/lib/nexus_parser.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # NexusParser
2
2
 
3
- # version 0.3 by Matt Yoder
4
3
  # uses the PhyloTree parser/lexer engine by Krishna Dole which in turn was based on
5
4
  # Thomas Mailund's <mailund@birc.dk> 'newick-1.0.5' Python library
6
5
 
data/nexus_parser.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{nexus_parser}
8
- s.version = "1.1.0"
8
+ s.version = "1.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mjy"]
12
- s.date = %q{2010-03-18}
12
+ s.date = %q{2010-04-09}
13
13
  s.description = %q{A full featured and extensible Nexus file parser in Ruby. }
14
14
  s.email = %q{diapriid@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 0
9
- version: 1.1.0
8
+ - 1
9
+ version: 1.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - mjy
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-18 00:00:00 -04:00
17
+ date: 2010-04-09 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20