tippy_mun 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 677e6298c34a612696e023e3afc2362bbdf8b68b
4
- data.tar.gz: a666afded2a9dcbc8e7ac8498ca77ea6a7a5ec36
3
+ metadata.gz: 2be61ca133c53a687bd0740713422008373c809d
4
+ data.tar.gz: e5e6b4bbe90aa4e968f5c9fd941f3329f1eb82ac
5
5
  SHA512:
6
- metadata.gz: ede11523240bcb4a2c1b9d01da8f724063dda26e4372d73eb857dc8aeac85d09ec7ab772af75bb353405dd9dba686457bb79a9c4bf01b48f52202c5b7b65ffbf
7
- data.tar.gz: 23debb03e935f8a6eb90dd32c3f626b9d876e2e374afd787c0445d67e206d067f215b426e1f47a267a5624926084c6eff797101884c1b1340280a9b49c88bdf6
6
+ metadata.gz: 1f94aa480b6657734e00058b74b1957aeff8a1fd89c56c3b32d023d2260910ff5e35585c388578341ee02bcf764a33af24e90732da683c95039cbda6a21882bb
7
+ data.tar.gz: f0acc65ee44eb15112cc4d83005eda5a1a0e8cc7e8313dce02f7d9e71d091728f30dc236ffda3c009dafbb63d448e83d6f1bb69513868a8a3644b616d27e973f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tippy_mun (0.1.1)
4
+ tippy_mun (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -6,7 +6,7 @@ end
6
6
 
7
7
  module TippyMun
8
8
  class Builder
9
- def initialize :total, :quantity
9
+ def initialize :total, :gratuity
10
10
  @total = total
11
11
  @gratuity = gratuity
12
12
  end
@@ -29,7 +29,7 @@ module TippyMun
29
29
  end
30
30
 
31
31
  def calculation gratuity = @gratuity
32
- @total += @total * (@quantity.to_f / 100)
32
+ @total += @total * (@gratuity.to_f / 100)
33
33
  end
34
34
  end
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module TippyMun
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tippy_mun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Munir