bakool 0.2.2 → 0.2.4

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
  SHA256:
3
- metadata.gz: 127bdf48dbb78e9f775ec52c1976afa098824529872f9f2e90fa87b1432474ea
4
- data.tar.gz: 4f0c978e9764c3243184db899df6e0be39aa579ccd6d4f4a3eb4fb13e1702287
3
+ metadata.gz: 6e1be246a95aad19108ab674d27642b979fe7daf66bf165668e18f0c506df818
4
+ data.tar.gz: 9d6a431a8129a24b30aabb349c45bb454b22987d20aa9de1df1787ed3d9f0ac9
5
5
  SHA512:
6
- metadata.gz: 9700e4567c2cd3d2fb86a4053e9e1cf792c61abd33b3eaaa2f6f270c4a2a8ef9462afb4791dce9319b2822b6bc771a8150d9eaa53cd87b1ac53ac3c295a49a4c
7
- data.tar.gz: 0b8648b47653d9ac897b3e0e92f1cd5bfef2dd5e98bab9928cf79be6cf785709ad4521e0cfb998a02536ca26134bdea2be39422c4862de61db9cf427169d1ad1
6
+ metadata.gz: 2d4fb0abd59b8b36c27ac8cc35cee01d63793c417febe4c2b0b9e293d7cd62a98fd82ecee0468f50975014b9f0b7584fa7b4ac60ca8c23b3d0fa92fff7d034ca
7
+ data.tar.gz: f05c3adbe42821b5967cf6a4c541d72bb9b628166197d9ca8c1ebd577d93c6cf2c68408d6070b48d51b27fdd04a4c20a7b613470d1fcd3cca41ad5b710472411
@@ -18,7 +18,7 @@ module Bakool
18
18
 
19
19
  # @param func [Proc] A function that takes an order total in cents and returns the delivery charge in cents
20
20
  def initialize(func = nil)
21
- @func = func || ->(order_total) { 0 }
21
+ @func = func || ->(_order_total) { 0 }
22
22
  end
23
23
 
24
24
  # Returns the delivery charge in cents
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bakool
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bakool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fadhil Luqman
@@ -35,13 +35,13 @@ files:
35
35
  - lib/bakool/product.rb
36
36
  - lib/bakool/version.rb
37
37
  - sig/bakool.rbs
38
- homepage: https://github.com/fadhil-luqman/bakool
38
+ homepage: https://github.com/fadhil/bakool
39
39
  licenses:
40
40
  - MIT
41
41
  metadata:
42
- homepage_uri: https://github.com/fadhil-luqman/bakool
43
- source_code_uri: https://github.com/fadhil-luqman/bakool
44
- changelog_uri: https://github.com/fadhil-luqman/bakool/blob/main/CHANGELOG.md
42
+ homepage_uri: https://github.com/fadhil/bakool
43
+ source_code_uri: https://github.com/fadhil/bakool
44
+ changelog_uri: https://github.com/fadhil/bakool/blob/main/CHANGELOG.md
45
45
  rdoc_options: []
46
46
  require_paths:
47
47
  - lib