nyros_form 0.1.1 → 0.1.2
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/Gemfile.lock +1 -1
- data/lib/nyros_form/builder.rb +3 -3
- data/lib/nyros_form/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f2b36ea974febbdb64ea2054328cd63e8792ba495376e798beb91764f5fa1aa
|
|
4
|
+
data.tar.gz: f02772b3bd9511ab53e700a2e826fc1c0f5a5bd6625460d755b7c9457dad297f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c269ffbf3f80264df9ecf84bd17d856933285ed02c7975cab239abfd5df28ce45e2f6affb32bc7f0ccfa7a493ab16e4db1a11bad533f6bdd03d9235ca5a6d230
|
|
7
|
+
data.tar.gz: ceeb91154aec3c9b832be5e54ee7463e2a725f05aa6da8f8841f8b8387a7b996f3b9c1f58ab7f5ababa03f13db9350b92f916b025b621bd9064743e8d7cf85fd
|
data/Gemfile.lock
CHANGED
data/lib/nyros_form/builder.rb
CHANGED
|
@@ -25,9 +25,9 @@ module NyrosForm
|
|
|
25
25
|
|
|
26
26
|
def string_based
|
|
27
27
|
case @gratuity.downcase
|
|
28
|
-
when 'high' then calculation
|
|
29
|
-
when 'standard' then calculation
|
|
30
|
-
when 'low' then calculation
|
|
28
|
+
when 'high' then calculation 100
|
|
29
|
+
when 'standard' then calculation 50
|
|
30
|
+
when 'low' then calculation 25
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
data/lib/nyros_form/version.rb
CHANGED