formalism-r18n_errors 0.2.0 → 0.3.0

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: dcf5355aaae24c4d6f11fab3b1e12db6bfaf22787e796e86c04b1d55aba23a81
4
- data.tar.gz: 6c1d095c383a63a90199be313376fec2aa181fe22ea3a740d37d69d23e20807d
3
+ metadata.gz: c28ea12eaced4e6df03894db13fd706b4d6a7395c52b4272fb2c349a1f14b789
4
+ data.tar.gz: 99eeb3d59c8acc998f734b0782156c1c75adbb6be81dd8a0fadadf5bf3bc1e5f
5
5
  SHA512:
6
- metadata.gz: 53838438aef5b7d043e828d45b6bd80ef9635aab86d9428afbccb13fb1d2e1d7f8bce096cf50fe818147d741c05f2f9574b25cb68ffe845283ac2c494a8a3e79
7
- data.tar.gz: 12bd780ec37f522802138712980c2e2b93da72ed5ae604dd0d98803832105c56a273dd09744e5378b4b94c3d4f4c4d25cfc45f498abcd0882e4726ccf63dfa18
6
+ metadata.gz: 5b04f0eccf42a0dca1b2717a5b318cb547cdb4783e415816a1e8035ae57fa16c15d684e71254b6a123e5960ec33a59e3d3dc3151082bceb94ebfc9a1bf8a82d3
7
+ data.tar.gz: 4b8477398e3504ecb4b4d877edcfc763dfd5dcf17d5b2a80c0a633c6a647f3dcc46d9d64593eaa1e79f1941ada7856249c6d61b9f8589b923dd2a8b4cf7d827e
@@ -2,8 +2,12 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.3.0 (2020-09-27)
6
+
5
7
  ## 0.2.0 (2020-09-24)
6
8
 
9
+ * Update `formalism` to a fixed version.
10
+
7
11
  ## 0.1.3 (2020-09-23)
8
12
 
9
13
  * Add specs for anything, especially for `ValidationHelpers`.
@@ -57,6 +57,7 @@ module Formalism
57
57
 
58
58
  add_error validation_field, :less_than, args: range.begin if value < range.begin
59
59
 
60
+ return unless range.end
60
61
  return if value.public_send (range.exclude_end? ? :< : :<=), range.end
61
62
 
62
63
  add_error validation_field, :greater_than, args: range.end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Formalism
4
4
  module R18nErrors
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formalism-r18n_errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-23 00:00:00.000000000 Z
11
+ date: 2020-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: formalism
@@ -221,9 +221,9 @@ require_paths:
221
221
  - lib
222
222
  required_ruby_version: !ruby/object:Gem::Requirement
223
223
  requirements:
224
- - - ">="
224
+ - - "~>"
225
225
  - !ruby/object:Gem::Version
226
- version: '2.5'
226
+ version: '2.6'
227
227
  required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  requirements:
229
229
  - - ">="