bel_parser 1.0.0.alpha.36 → 1.0.0.alpha.37

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: 6187ff526a33b8ad9d816257a5142034426900a1
4
- data.tar.gz: 2a6c8271ef21cc76b3e3813c547e57000e249c7f
3
+ metadata.gz: 55df8333bbd12398b1151e81ebc1a3a688d85018
4
+ data.tar.gz: cff11bff145bb0bbc763164df9a3b776bc926110
5
5
  SHA512:
6
- metadata.gz: 5e4adde29aa3c3d3474cb2ffa78bc6899b0bbde1d53d8fcbddb929a02f74109308a73d8ce400dfd723bb0c1f559d4d033b253147af009c8914fa6927106adfb3
7
- data.tar.gz: bb72ee5e809d3018c8ed8ea2c3e7b8fddc4ae7162fe0c0899592f5de1140707d1c20f7e9b795786a7eed917e483e60f8ed1d26a0009567c487cb4ce2447c3389
6
+ metadata.gz: 3278fecf5673cb0c2ada17e2d78bce561dbbe27c635ce6739bebe07c824cb4d3aeaf3b6e25405eb5a839323d97b8b43403e58ae96187691c8a3749b2882e8a61
7
+ data.tar.gz: cfe4a2287ff327df80b9edc79d44f7b9f076efdcfb3e97fb5b0975cdcb3b841ccf889c7ac543d6464f198243f7f1c937c665abb95b1e1d89942a8fc2dd3f2dff
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.alpha.36
1
+ 1.0.0.alpha.37
@@ -1,4 +1,5 @@
1
1
  require 'bel_parser/quoting'
2
+ require 'bel_parser/language/relationship'
2
3
 
3
4
  module BELParser
4
5
  module Expression
@@ -31,14 +32,14 @@ module BELParser
31
32
  unless relationship.nil? || relationship.is_a?(BELParser::Language::Relationship)
32
33
  raise(
33
34
  ArgumentError,
34
- "relationship: expected nil or Relationship, actual #{@relationship.class}")
35
+ "relationship: expected nil or Relationship, actual #{relationship.class}")
35
36
  end
36
37
  @relationship = relationship
37
38
 
38
39
  unless object.nil? || [Term, Statement].any?(&object.method(:is_a?))
39
40
  raise(
40
41
  ArgumentError,
41
- "object: expected nil, Term, or Statement, actual #{@object.class}")
42
+ "object: expected nil, Term, or Statement, actual #{object.class}")
42
43
  end
43
44
  @object = object
44
45
  @comment = comment
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.36
4
+ version: 1.0.0.alpha.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Bargnesi