discounter 0.0.2 → 0.0.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
  !binary "U0hBMQ==":
3
- metadata.gz: 5849c701150419b978cdd6fef7fd9648118c5629
4
- data.tar.gz: 629a57c35222092975414096194ff22a52a75488
3
+ metadata.gz: 701bc455a0eacac9b4bc0d27abcd0cb860e98e52
4
+ data.tar.gz: b3ddd6288f47ccd8e401e4c4d93a30faa0ea0314
5
5
  !binary "U0hBNTEy":
6
- metadata.gz: c7015c5ae00266cbd43115aabc76f61c3ff4d19c52ba896a97e51cc9405c4771cfa6f7a0c8b297b9b8660d6da7cd5587745165bdcb3889f4c65babb95c22bf61
7
- data.tar.gz: 37aa7da010436101c92e4dabae6bc74e1bd35ef71ef5cb7807255f5979d5356997538bf7adf64229cff492568195b03456c47f91a66df4dacc1534f3b9b17810
6
+ metadata.gz: 14fe5d064a76069c4c09157a10de1d3e5de12b41a6dbf6e4f4b7593fa2f7c9229f8bbc523914dc84fb17806c0b9eb18747a47012d0c455ac1ea3c9706099a11e
7
+ data.tar.gz: 19e3efe0b5bd84d673459b06bdee5551851d5e50aac41ed6070f4f0ae5c75547393caad5538a1640f7da1c2e1927f0cc18ab0f629322e51d60b13ced47a8ea30
@@ -9,15 +9,15 @@ class Discounts
9
9
  # Make this dynamic, allow users to pass in as many
10
10
  # discount percentages as they want. Increment by one.
11
11
  DISCOUNTS = {
12
- 'pretty_discounts': {
13
- 'Tier 1': @tier_1,
14
- 'Tier 2': @tier_2,
15
- 'Tier 3': @tier_3
12
+ 'pretty_discounts' => {
13
+ 'Tier 1' => @tier_1,
14
+ 'Tier 2' => @tier_2,
15
+ 'Tier 3' => @tier_3
16
16
  },
17
17
 
18
- 'tier_1': (@tier_1 * 0.01),
19
- 'tier_2': (@tier_2 * 0.01),
20
- 'tier_3': (@tier_3 * 0.01)
18
+ 'tier_1' => (@tier_1 * 0.01),
19
+ 'tier_2' => (@tier_2 * 0.01),
20
+ 'tier_3' => (@tier_3 * 0.01)
21
21
  }
22
22
 
23
23
  # Instance based query method.
@@ -1,3 +1,3 @@
1
1
  module Discounter
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discounter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dain Miller