bel_parser 1.0.0.alpha.4 → 1.0.0.alpha.5

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: 3ef8ebaf115a02e0b19b7af93039277e7e31ec98
4
- data.tar.gz: 9a34c875fa35ea3926b2c285b7ea031320e39194
3
+ metadata.gz: 6ddb397fcf12e876d078e3a6a239479e0f3913d3
4
+ data.tar.gz: 65b412663bfd2e0d19fe5a3e6224f9776881cb3a
5
5
  SHA512:
6
- metadata.gz: 2c355a19969807bc4d582a62a66f84cdac544efbd2a2a117d18c53c21dcb2dd0ae9043ce18d801f6475e0e40af1d2886518c3249ec77b3951d8e4b178586ed07
7
- data.tar.gz: 0c7e304b87dea0e1b27009d93190a1f862f04e8cc4283f482e3117b55441467f160da8e0925bc05d3b7c4a12119cf6ec71786c2d11084c5a58f4e8bb1147a550
6
+ metadata.gz: d7156e7a60e8bd45615b8f8d8651071b08187c30bfea4c5726600ea277b0d47b8981ef255a023b0f086f4619f4096c622e9b1cc9bedd40e41321e1542f881cc0
7
+ data.tar.gz: d16d66850d29718f589e772ed0a5fbc32221d3ce7157c103ca6e6969a0ffdbc51e559ad7bb1e31c7200a0dcf44160f9346c028760413eaa5a276a2fa32bef274
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.alpha.4
1
+ 1.0.0.alpha.5
@@ -21,7 +21,8 @@ module BELParser
21
21
 
22
22
  namespace_prefix = prefix_identifier.string_literal
23
23
  unless namespaces[namespace_prefix]
24
- syntax_results << UndefinedNamespaceError.new(term_node, node, namespaces)
24
+ syntax_results << UndefinedNamespaceError.new(
25
+ term_node, spec, namespace_prefix, namespaces)
25
26
  end
26
27
  end
27
28
  syntax_results
@@ -37,7 +38,7 @@ module BELParser
37
38
  attr_reader :defined_namespaces
38
39
 
39
40
  def initialize(term_node, spec, invalid_prefix, defined_namespaces)
40
- super(term_node, spec, error_node)
41
+ super(term_node, spec)
41
42
  @invalid_prefix = invalid_prefix
42
43
  @defined_namespaces = defined_namespaces.dup
43
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bel_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha.4
4
+ version: 1.0.0.alpha.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Bargnesi