ravensat 1.0.7 → 1.0.8

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
  SHA256:
3
- metadata.gz: ceabe3e3d03de374a38f92df583ab84bc69cbdfd80bc842d722bf8730a60c69e
4
- data.tar.gz: 1973d2e270011520d59ec8ab32296f4589a4511901b4701bb58c74f066535a57
3
+ metadata.gz: d64d337bf293ce23f27a118bc1896ecf7c35709f3d0a0a7c217fa3bef2e495a6
4
+ data.tar.gz: 38c00c661b514dff04fd0fdcc2854ae9c37104598fb6dc2f8235eac0178595dd
5
5
  SHA512:
6
- metadata.gz: b6e2aa1f4f21111d07f8e586876293fe2569190eeb4875cfef4bf35d1bc23c755475d0470b15f24dd6e640d6f7d3a4ec927b6102f8401c3dc7a46527f1b5d2fd
7
- data.tar.gz: 6f69d190d6fe8546035a59ba4643c33322210716a295a3b6c556d4f063d1a187e54afd507d0b4c0a10d65bc3db3766f23f2b58cc522f6ad67d0955ed78b77ca7
6
+ metadata.gz: 853077cca8f5220f9ecfbcec4c14323678b5f6d36f197892a3b49646ca6cff39a032fbcdf2199e524ab46f3d5806cf86a9f45152a71bd968d4d0388dcf0cacb7
7
+ data.tar.gz: 10de270cfe07b3c1041dd0e398b8c1e8c1bd58d103917b8e116fb3f84caa8235747e5cb775ca9601a2b3be63b673efac5d0b6dade9451e0c121f8dcc9872594b
@@ -1,10 +1,12 @@
1
1
  module Ravensat
2
2
  class InitialNode < Node
3
3
  def &(object)
4
+ raise TypeError.new("#{object.class} can't be coerced into Ravensat::Node") unless object.is_a? Node
4
5
  object
5
6
  end
6
7
 
7
8
  def |(object)
9
+ raise TypeError.new("#{object.class} can't be coerced into Ravensat::Node") unless object.is_a? Node
8
10
  object
9
11
  end
10
12
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ravensat
4
- VERSION = "1.0.7"
4
+ VERSION = "1.0.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ravensat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - rikuto matsuda