durable_rules 0.34.22 → 0.34.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/librb/durable.rb +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90157382972d581a6facead0647bca9f3cd0f4a7
4
- data.tar.gz: 390f67522dbd96de0fe6bfae26eeda84cc7da93b
3
+ metadata.gz: 8768ac62052cef67e35af9093fe01f64f98e12a3
4
+ data.tar.gz: 433d781a3bca977fd38ff976e676c57eb2e775dd
5
5
  SHA512:
6
- metadata.gz: 004ca1ca875a4d5ce7f859dc4d63d828c9d018857f9c27395d81bc3f2eb0d76edf868166f3355a1df8a0f956961a1c96f6d1be4a4e86c6306a6d7c02bdd19d1d
7
- data.tar.gz: b4af38edd65adf8c86e06eb2ee1eae1d5b80a2c9fb9730fb5b6702e76d0552713c4b70aba5c11f749ffac7690d79277299258fb5e94d55a42c4a110125751ac5
6
+ metadata.gz: 4417b48ff669ba7b601b3dcbfdcf50a3e646f7a9808f27bf484068a493bcd919f34288cf9d3d3c727c28ef6ba6c2af3fb59662c9de9596db16fac5b8b18af2c1
7
+ data.tar.gz: 9a28d775c90f4428349d23640e9825f66c73469c10dcfa5a8b040a1d20056d38ea2fac2ecd986ffbd748a7689ba127e43ca7c567daef1ffb975415c41eddaa2d
data/librb/durable.rb CHANGED
@@ -137,6 +137,10 @@ module Durable
137
137
  return Expression.new(@name, @left) & other
138
138
  end
139
139
 
140
+ def matches(other)
141
+ return Expression.new(@name, @left).matches(other)
142
+ end
143
+
140
144
  def ref_id(sid)
141
145
  Arithmetic.new @name, @left, sid
142
146
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: durable_rules
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.22
4
+ version: 0.34.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesus Ruiz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-20 00:00:00.000000000 Z
11
+ date: 2017-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake