formalism 0.3.0 → 0.3.1

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: 88548d0ecdb223bf0758367421978917b3e79e4416d9444fe6fd9543c9ee0cfb
4
- data.tar.gz: 1683f2947e7c6c7c0a02c4c8cb88056b00fa727dfe7ed19f47ded701559b13ee
3
+ metadata.gz: 24580a48dad2796c204cedec9cda52cf4298cf0a1391b92e984e3977e3de0487
4
+ data.tar.gz: f4ae321d2b5dfe955e1341b0dc9f4a26ab208154697488c06d17cc0028be6849
5
5
  SHA512:
6
- metadata.gz: 8fb481b7388afe09e10ee71f3df12564a9600855f90c8a202ead6ba83f007fe475ffde3edf8e14a8f6202ba6b98175b34842bdc0b98b2130cd0b2712081e413a
7
- data.tar.gz: ef87193279b77951488443e089b4375f85f0004e39cfe2ae5efd8692bf84772acf3035ae2ea1fab510f9bb6acfbf183b5bbd5ad55e1ba6c979d5bbbcf9b76070
6
+ metadata.gz: 28c5dd93860cd5f9e9116512dcf335dc5999a69c6bcb8c6c285f9e806cf8f85e0756d6bf92a35cd8eee71b210483ec3464a9d4c3adc1c01e50672221a6961e81
7
+ data.tar.gz: 4afae57920a1b4f0cf1e8ce87ec68e935e644b52b19d14d1de9b8ea4b22074262716ae12308fc8029ecb151ffd408d7a52f308383c27c0ab56345b13d7022059
@@ -2,8 +2,13 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.3.1 (2020-10-02)
6
+
5
7
  ## 0.3.0 (2020-09-28)
6
8
 
9
+ * Add `BigDecimal` coercion.
10
+ * Support `BigDecimal` for `Float` coercion.
11
+
7
12
  ## 0.2.1 (2020-09-25)
8
13
 
9
14
  * Make `Form::Outcome` constant public.
@@ -10,7 +10,7 @@ module Formalism
10
10
  private
11
11
 
12
12
  def send_conversion_method
13
- BigDecimal(@value)
13
+ BigDecimal(@value.to_s)
14
14
  end
15
15
  end
16
16
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Formalism
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formalism
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
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-28 00:00:00.000000000 Z
11
+ date: 2020-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gorilla_patch
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  - !ruby/object:Gem::Version
233
233
  version: '0'
234
234
  requirements: []
235
- rubygems_version: 3.1.2
235
+ rubygems_version: 3.1.4
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: Forms with input data validations and nesting