lucadeal 0.2.15 → 0.2.16

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: 9d81788d16b07f572c9d07bf998cdaa5a8e55db76ea5b1b513eebaae3c783c61
4
- data.tar.gz: d148d1079305e88354c47c3ce5699e2c656a40099228b9c1653488b451a41afb
3
+ metadata.gz: 5f17d75af6f101c60eced0ecfb770e39ac66b0f35725a6976f135216a0c75099
4
+ data.tar.gz: d3e60d51908e78ab72e177f29affc26864744afb584d1c5dadd507b18ff888f6
5
5
  SHA512:
6
- metadata.gz: 1f41b4156fb05131e969b0490937c766076e1795a9a6c725e657e1f533333532436b34bb362f42aa9600dcb67e25f080a7a9f6b3bf8ce4a9c2f276990c69e478
7
- data.tar.gz: ae87eae9ca9af5459e3082bf517feb98ec4a98e0af87bb52e625e4067212dd9d6743644a57383c092555d1e90fef4009871a13b6eefc17d1c0f8d5806e76f58d
6
+ metadata.gz: bd534c31a33405478cdeba88777481f5c17af6337cf743e2d16a8e5027209a65d1efb8329cf7f6e72318dfea8c3daa1965d9cf1e833ce93b85d24925c17638f6
7
+ data.tar.gz: f1d809de08ce94cf7da913c5bc733515f95bba596dc155596880cb4776837113c36f93ee4247c35fe34990f2a45fd758df1bddec3d2e587d182062cdb5893c60
@@ -0,0 +1,11 @@
1
+ ## LucaDeal 0.2.14
2
+
3
+ * Introduce Product for selling items template.
4
+
5
+ ## LucaDeal 0.2.12
6
+
7
+ * Introduce Sales fee calculation.
8
+
9
+ ## LucaDeal 0.2.10
10
+
11
+ * items can have one time cost at initial month of contract.
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # LucaDeal
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/lucadeal.svg)](https://badge.fury.io/rb/lucadeal)
4
+
3
5
  LucaDeal is Sales contract management application.
4
6
 
5
7
  ## Installation
@@ -60,7 +60,7 @@ module LucaDeal
60
60
 
61
61
  def gen_fee!(fee)
62
62
  id = fee.dig('invoice', 'contract_id')
63
- self.class.create_record!(fee, @date, Array(id))
63
+ self.class.create(fee, date: @date, codes: Array(id))
64
64
  end
65
65
 
66
66
  private
@@ -166,7 +166,7 @@ module LucaDeal
166
166
 
167
167
  def gen_invoice!(invoice)
168
168
  id = invoice.dig('contract_id')
169
- self.class.create_record!(invoice, @date, Array(id))
169
+ self.class.create(invoice, date: @date, codes: Array(id))
170
170
  end
171
171
 
172
172
  def issue_date(date)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LucaDeal
4
- VERSION = '0.2.15'
4
+ VERSION = '0.2.16'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucadeal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.15
4
+ version: 0.2.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chuma Takahiro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-07 00:00:00.000000000 Z
11
+ date: 2020-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lucarecord