govuk_design_system_formbuilder 2.5.0 → 2.5.1b1

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: bad17ea5b7fd24f59da43ac8e0348d27c07589bce648172278c7041e95c4a702
4
- data.tar.gz: e8dee08e15dfe0dc4a34de248ef8a2991e789a74ea3452324bbcad81e0ec6612
3
+ metadata.gz: f503a3ef6180ed825ae959e1ae649d0b8e2d3b806e8705e9ec40802b29fef2cb
4
+ data.tar.gz: 0ca7e8d4b36a8f19799bb3a85fd533ebaa820f3baf1591ef421f4d7010d20c42
5
5
  SHA512:
6
- metadata.gz: ea8519f8c72d431fa56feae8d98e21ff90117c58dcd1e91385ed41a4863299cd74b15f959dd4e4118e3281bccd8a048625013dcdc2dd00fa1d873479d5294f57
7
- data.tar.gz: 969f85302cc4c1e898664c04bf1d435d69ed0408fa0bf03890160803c0b6574eabeafc16418cfe8df353e718ff062f6600272d6bccbd596be4fe248c5295dfc5
6
+ metadata.gz: 60a7c79b00eb5e5536509a3c77f688efde68a51764c05a7507bca26c289336d3238d4d5554d2b973fc186ec5f0c8e20f670e912aacac91fafa20e184d3c7eb84
7
+ data.tar.gz: a4a8c1d7ccee0ffc54a8de95450fc0603053f6efb2770963e81fe32c192ee464e402138fae41c5ab72a19c6afbbd8848c2817959008ee1ca1dceb90e4b922566
@@ -72,7 +72,8 @@ module GOVUKDesignSystemFormBuilder
72
72
  localisation_schema_legend: nil,
73
73
  localisation_schema_caption: nil,
74
74
 
75
- enable_logger: true
75
+ enable_logger: true,
76
+ enable_log_on_invalid_date: false
76
77
  }.freeze
77
78
 
78
79
  DEFAULTS.each_key { |k| config_accessor(k) { DEFAULTS[k] } }
@@ -82,6 +82,10 @@ module GOVUKDesignSystemFormBuilder
82
82
 
83
83
  nil
84
84
  end
85
+ elsif config.enable_log_on_invalid_date
86
+ warn("invalid Date-like object: should be a Date, Time, DateTime or Hash in MULTIPARAMETER_KEY format")
87
+
88
+ nil
85
89
  else
86
90
  fail(ArgumentError, "invalid Date-like object: must be a Date, Time, DateTime or Hash in MULTIPARAMETER_KEY format")
87
91
  end
@@ -1,3 +1,3 @@
1
1
  module GOVUKDesignSystemFormBuilder
2
- VERSION = '2.5.0'.freeze
2
+ VERSION = '2.5.1b1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_design_system_formbuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1b1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Yates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-13 00:00:00.000000000 Z
11
+ date: 2021-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deep_merge
@@ -268,6 +268,20 @@ dependencies:
268
268
  - - "~>"
269
269
  - !ruby/object:Gem::Version
270
270
  version: 1.7.0
271
+ - !ruby/object:Gem::Dependency
272
+ name: slim_lint
273
+ requirement: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - "~>"
276
+ - !ruby/object:Gem::Version
277
+ version: 0.20.2
278
+ type: :development
279
+ prerelease: false
280
+ version_requirements: !ruby/object:Gem::Requirement
281
+ requirements:
282
+ - - "~>"
283
+ - !ruby/object:Gem::Version
284
+ version: 0.20.2
271
285
  description: A Rails form builder that generates form inputs adhering to the GOV.UK
272
286
  Design System
273
287
  email:
@@ -349,9 +363,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
349
363
  version: '0'
350
364
  required_rubygems_version: !ruby/object:Gem::Requirement
351
365
  requirements:
352
- - - ">="
366
+ - - ">"
353
367
  - !ruby/object:Gem::Version
354
- version: '0'
368
+ version: 1.3.1
355
369
  requirements: []
356
370
  rubygems_version: 3.1.6
357
371
  signing_key: