billing 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd2939dffbecb8dcce371cacb8e74f9c93de0680
4
- data.tar.gz: b9570ea9209a876962642b51a47d28feb347144b
3
+ metadata.gz: 6c58097626f3a3697bd125eb7b19d7be6a3d1c06
4
+ data.tar.gz: ad34a72d3dbfbd5179d0210f2bdaa07d46e18752
5
5
  SHA512:
6
- metadata.gz: 0d769de2fef9330fc1edebe997572ce0c8498ed0bd1c8b27f5361a1f0b49ed59ce6957fd41e09fd5c46e8a608d5139407b0bbad5e6c0390331689e148f1a9262
7
- data.tar.gz: 8d3dae9915e54bc68b1ab37a75b014e00ceb328fcca89c2f7bd9f94c2f80aca0828f1d5d2c1f0fefc1cf4bc8ce734f8a89921122b44407a82cc6f99c8f9fc49f
6
+ metadata.gz: ed302b3a8789794c97b3d94fdd3e0de09a7a62da5df30c810e89d5466b4f7fef4e258e9287073fcc0b135957ea53c5d29a1c0bdd38fe50dcfc2efad2bee53dfa
7
+ data.tar.gz: 992492c8ce61856982c48e9e0e83583c41666c65083220ecdf55bad56d2f1a5fed1fe00c9eb8d391bf48141995bddf56fc009fbca934ebf0f84899c8b454c57b
@@ -22,7 +22,7 @@ module Billing
22
22
  validates_numericality_of :value, greater_than_or_equal_to: 0
23
23
 
24
24
  after_initialize do
25
- self.value = price if self.new_record? #unless modifier.present? #bill validation will update modified value
25
+ self.value = qtyprice if self.new_record? #unless modifier.present? #bill validation will update modified value
26
26
  end
27
27
 
28
28
  def qtyprice
@@ -1,3 +1,3 @@
1
1
  module Billing
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Vangelov