en14960 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80115ea696b28cdfdda43a16f3e7fc049db7a65ad15bfddef771706b92edbe73
4
- data.tar.gz: afffd6182e680c35b983f88a5bf74324e3da7196a2d7f64e93f427a5e06bacf7
3
+ metadata.gz: fedeb5f36f6f2e3f2ac74b39a18ad7ead640a520917d4681abe23403a477de7f
4
+ data.tar.gz: 62b331bcad579a79b39039ba9a4fc8a3f8a15bef7bdf785e4e336434253e0112
5
5
  SHA512:
6
- metadata.gz: 1f50738aa5c9b3038c1b374bdedbe271b4541646d72db69c00c2f6535118241b4499687f5c775618c67a12bd25cbb92fe1573fdc9d3bc36144760bf80ed2f886
7
- data.tar.gz: 07d08e86c3f7f95fc3e0047b0b0371c7445f8ad88057692dc0742fbe734a81e4abb74e9fe784452e7252df2e70b5c2f701b616492e08db21c9254fe06ba1174c
6
+ metadata.gz: c0195422eb49e92201c750a030003620844f798426143b4ed8b58d80fd1ff277ae8e8d735bb2edea76ebf146b24669adf67a0750ebc1f81f7683e5de33cd782a
7
+ data.tar.gz: 8d0892f9d9c7522c43d4bfb8c7b16f80e947e8a36ea75b3126fcdf7e06470b3ecd6d6067a6515eec337fa739a2d98f9b218d3ad23b2ebae17a044494735ce223
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EN14960
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
data/lib/en14960.rb CHANGED
@@ -83,15 +83,21 @@ module EN14960
83
83
 
84
84
  # Validate play area measurements
85
85
  # @param unit_length [Float] Unit length
86
- # @param unit_height [Float] Unit height
86
+ # @param unit_width [Float] Unit width
87
87
  # @param play_area_length [Float] Play area length
88
88
  # @param play_area_width [Float] Play area width
89
89
  # @param negative_adjustment_area [Float] Negative adjustment area
90
90
  # @return [Hash] Validation result with errors and measurements
91
- def validate_play_area(unit_length:, unit_height:, play_area_length:, play_area_width:, negative_adjustment_area:)
91
+ def validate_play_area(
92
+ unit_length:,
93
+ unit_width:,
94
+ play_area_length:,
95
+ play_area_width:,
96
+ negative_adjustment_area:
97
+ )
92
98
  Validators::PlayAreaValidator.validate(
93
99
  unit_length: unit_length,
94
- unit_height: unit_height,
100
+ unit_width: unit_width,
95
101
  play_area_length: play_area_length,
96
102
  play_area_width: play_area_width,
97
103
  negative_adjustment_area: negative_adjustment_area
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: en14960
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chobble.com