cel 0.1.1 → 0.1.2

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: 288ce099928eb32ac8c45875c0d0219d9f61f29bb81c8a44f4bc52d8e821da69
4
- data.tar.gz: 64d61f4d2934e7ff455cb47472a2b5d6dc87a2d6ad73380ed34401be5ae58a20
3
+ metadata.gz: d81d1083943f4f6d5bc415963b01c2f9be140074ae63493601b1613422fe29dd
4
+ data.tar.gz: 4ea24204656323c4bc8313293e64186973f28f84c4878b94804c5cb32b0cc047
5
5
  SHA512:
6
- metadata.gz: 180607d29b2dac71d3a73ff3f25fb406809918c354994089a9bfa02ea5a7c97ec68487b59d054a7aa576bf6268a5c486e35a41694a55e19e67f59e2595401021
7
- data.tar.gz: 7d3555dedbf3021e1d81ece6f22581058378c8edfe716913f088f73a25aeb2baadb908a02f0aef428291377e9d97425dd25e64668312d80e928e86c3c362c90a
6
+ metadata.gz: 22d25e42ca7b497e2dccbaf239a649a1a66af83001d9580faabf511cc71d8db76eca1d9ededd0fbfb3ba9bde25834750809022983364b6591bf8da1c99c6673c
7
+ data.tar.gz: 4526e92a70b428e512654fccc94adbe9dd4a0a32534aa1792b5633a72e55cc95e67c4ef99b5ab5b272cf822e7a7175ef28e73ada9f2e61ca5613699d715a78ca
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.2] - 2022-11-10
4
+
5
+ point release to update links in rubygems.
6
+
3
7
  ## [0.1.1] - 2022-08-11
4
8
 
5
9
  * fixed handling of comparison of primmitive types with Cel types.
data/README.md CHANGED
@@ -109,4 +109,4 @@ Changes in the parser are therefore accomplished by modifying the `parser.ry` fi
109
109
 
110
110
  ## Contributing
111
111
 
112
- Bug reports and pull requests are welcome on Gitlab at https://gitlab.com/honeyryderchuck/cel-ruby.
112
+ Bug reports and pull requests are welcome on Gitlab at https://gitlab.com/os85/cel-ruby.
data/lib/cel/program.rb CHANGED
@@ -62,9 +62,9 @@ module Cel
62
62
  # unary operations
63
63
  values.first.__send__(:"#{op}@")
64
64
  elsif op == "&&"
65
- Bool.new(values.all? { |x| x == true })
65
+ Bool.new(values.all? { |x| true == x }) # rubocop:disable Style/YodaCondition
66
66
  elsif op == "||"
67
- Bool.new(values.any? { |x| x == true })
67
+ Bool.new(values.any? { |x| true == x }) # rubocop:disable Style/YodaCondition
68
68
  elsif op == "in"
69
69
  element, collection = values
70
70
  Bool.new(collection.include?(element))
data/lib/cel/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cel
4
4
  module Ruby
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Cardoso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-11 00:00:00.000000000 Z
11
+ date: 2022-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -53,10 +53,10 @@ homepage:
53
53
  licenses:
54
54
  - Apache 2.0
55
55
  metadata:
56
- bug_tracker_uri: https://gitlab.com/honeyryderchuck/cel-ruby/issues
57
- changelog_uri: https://gitlab.com/honeyryderchuck/cel-ruby/-/blob/master/CHANGELOG.md
58
- source_code_uri: https://gitlab.com/honeyryderchuck/cel-ruby
59
- homepage_uri: https://gitlab.com/honeyryderchuck/cel-ruby
56
+ bug_tracker_uri: https://gitlab.com/os85/cel-ruby/issues
57
+ changelog_uri: https://gitlab.com/os85/cel-ruby/-/blob/master/CHANGELOG.md
58
+ source_code_uri: https://gitlab.com/os85/cel-ruby
59
+ homepage_uri: https://gitlab.com/os85/cel-ruby
60
60
  rubygems_mfa_required: 'true'
61
61
  post_install_message:
62
62
  rdoc_options: []