en14960 0.1.7 → 0.1.8
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 +4 -4
- data/README.md +3 -3
- data/lib/en14960/calculators/anchor_calculator.rb +1 -1
- data/lib/en14960/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a499cbd58c45486a20fa936b0b24993b8b3a8725ddf887ba5cc6c60f1acde44
|
4
|
+
data.tar.gz: 0f43ff3d54951b01bbb9bf129886c5075e1ff89948b28daf7184b44eb319dc18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceabc28647ef710885f3782080b965d6ac84f8b2e2acccdd099a5b59f1c62945d23ddad5aa99ada254cf6cb973d9a0a235beba1adb8e502d5200eabf7fa56620
|
7
|
+
data.tar.gz: 30d7d252d232df2ecd9d878608a810d9568389781ffd00a24d5ed73449c585ad3213746de17dac741e1b37a72ada20d655e15aa34ecc7d53c026be9270ea8dc0
|
data/README.md
CHANGED
@@ -63,7 +63,7 @@ puts result.breakdown
|
|
63
63
|
# ["Sides area", "5m (L) × 3m (H) = 15m²"],
|
64
64
|
# ["Front & back anchor counts", "((12.0 × 114.0 * 1.5) ÷ 1600.0 = 2"],
|
65
65
|
# ["Left & right anchor counts", "((15.0 × 114.0 * 1.5) ÷ 1600.0 = 2"],
|
66
|
-
# ["
|
66
|
+
# ["Calculated total anchors", "(2 + 2) × 2 = 8"]
|
67
67
|
# ]
|
68
68
|
```
|
69
69
|
|
@@ -140,8 +140,8 @@ You can also use the calculator modules directly:
|
|
140
140
|
```ruby
|
141
141
|
# Using AnchorCalculator directly
|
142
142
|
result = EN14960::Calculators::AnchorCalculator.calculate(
|
143
|
-
length: 10,
|
144
|
-
width: 8,
|
143
|
+
length: 10,
|
144
|
+
width: 8,
|
145
145
|
height: 4
|
146
146
|
)
|
147
147
|
|
@@ -52,7 +52,7 @@ module EN14960
|
|
52
52
|
["Sides area", "#{length}m (L) × #{height}m (H) = #{sides_area}m²"],
|
53
53
|
["Front & back anchor counts", formula_front],
|
54
54
|
["Left & right anchor counts", formula_sides],
|
55
|
-
["
|
55
|
+
["Calculated total anchors", "(#{required_front} + #{required_sides}) × 2 = #{calculated_total}"]
|
56
56
|
]
|
57
57
|
|
58
58
|
# Add minimum requirement note if applicable
|
data/lib/en14960/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: en14960
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chobble.com
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|