discount_calculator 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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/discount_calculator.rb +1 -1
  3. metadata +2 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d82af556c79f8dfeb20f68e85570282eca33e25f
4
- data.tar.gz: 56662fe08c09f5589d30be9f81dcee7d1bc0f58b
3
+ metadata.gz: 51ccfa6305facba344de07b42de6ee4b93279ee5
4
+ data.tar.gz: 7df58a711f9aacb1589775061457fa27be360dc6
5
5
  SHA512:
6
- metadata.gz: 4e772ef5e5ef11d33996daef1ed5bbdbc05b26b03febf8387e9bbaaf3a1004641602aae77205314e9907bf3375c7a62c63ad20e29b2906983b8b9b5a45aa4936
7
- data.tar.gz: 795e4959ae60b4597e72f7d13c8ebc0d3d080544765e5955f610801a919d46cd7873e5db88bf4c71735a96015b613911f6604be2d526343e1162757982af4f7a
6
+ metadata.gz: 805b29e33356d28570ff03ca1fc0eada58abb6505eabd0f545aeff10cacbb12f36b19d638827e9c6c14263200e373c65cd14e0b25890be4f2419904e27ab99c5
7
+ data.tar.gz: 0835d6b2f0ec51f33481c24055c0d27ca2e04f1aa724e101288f18eea2fcbc4a05f3af21176c874dd5dc795da6b6e932c1883a355afa929eaa1fdc52f77474af
@@ -1,6 +1,6 @@
1
1
  class Calculate
2
2
  # Your code goes here...
3
- def self.calc (amount, discount)
3
+ def self.calc(amount, discount)
4
4
  disc = amount - (0.01 * discount * amount)
5
5
  return disc
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discount_calculator
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
  - Martin Upelnieks
@@ -18,8 +18,7 @@ extra_rdoc_files: []
18
18
  files:
19
19
  - lib/discount_calculator.rb
20
20
  homepage: http://rubygems.org/gems/discount_calculator
21
- licenses:
22
- - MIT
21
+ licenses: []
23
22
  metadata: {}
24
23
  post_install_message:
25
24
  rdoc_options: []