constrain 0.3.2 → 0.3.3

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: 8ec4473a304dbeea511cd266bf86ff8fef76ec741e8468e11cdd4e2edeef4e14
4
- data.tar.gz: e2480805e2ec20618f6481b3d2ad93403c32fd8f24fa13235ea78a6c0988b2b1
3
+ metadata.gz: 04e9db24a4fdaf9e637bbebb861344d3e63b9a4f2e6923f05cf69387459470de
4
+ data.tar.gz: fd26404b3458bb5fd8fb63b5cb73e83bce681a9920f6aee70ed7b2f86ea9275d
5
5
  SHA512:
6
- metadata.gz: '008a22edd572ca9055f8dc6867f1e189e0ad86556aa0ab40307a801fd7e40ec9b085f85acb9dbd03c458035271afea3759bddf5b7c82bfd15ce1d8c7f555a39e'
7
- data.tar.gz: 0fc82f5bc744e45d0e972a77639a24731a94498c490cfae3e6baf525ee321ce52496d10c88f50e0ae0621c63b64fd8c3fe7b80e2abb5c0b536de83b0146b292f
6
+ metadata.gz: cfda3b10415cb633b4c6aecb9819984d4ead39490e3acf2bb6e727b6f87e44c9b4f16fbcd48c6538c9167366b6b0eccf900a9bca4eeb399c07759a73e706b223
7
+ data.tar.gz: f297b0b6c61ea48c94c314c204a4d9904e0b744fb6fb00fbe9523af93a2c61a31b985ac0b408d3b02c13c9c382c6afb5fb9353bdd03d3a9d4875ee0368c383d4
@@ -1,3 +1,3 @@
1
1
  module Constrain
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
data/lib/constrain.rb CHANGED
@@ -126,7 +126,7 @@ module Constrain
126
126
  when Hash; "{" + expr.map { |k,v| "#{fmt_expr(k)} => #{fmt_expr(v)}" }.join(", ") + "}"
127
127
  when Proc; "Proc@#{expr.source_location.first}:#{expr.source_location.last}"
128
128
  else
129
- raise Error, "Illegal expression: #{expr.inspect}"
129
+ expr.inspect
130
130
  end
131
131
  end
132
132
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constrain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-24 00:00:00.000000000 Z
11
+ date: 2022-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov