riif 0.7.0 → 0.8.0
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 +5 -5
- data/.github/FUNDING.yml +4 -0
- data/.tool-versions +1 -1
- data/CHANGELOG.md +34 -28
- data/README.md +1 -1
- data/lib/riif/rails/template_handler.rb +4 -2
- data/lib/riif/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f7b71c29ce897c5400b64b0216cc2e0c774b71cbe91cc04736365aa9e029a001
|
4
|
+
data.tar.gz: 7586e41a421dce76cdd122ad22b6712dddab32b95ce4e5f73f1d2cfdc48e3b0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fb2f175ad86af5dab984299e68953877b28b63ce508150fd39122251cf88a41fe14a756bfc0d6a2f012bc5e17c20b17f2102ffe7104aa13327fd180fe5c93b2
|
7
|
+
data.tar.gz: 7c80c439340540b06d8edf5f345b29d87030578f12f4050b85373df1e7f7c8ea26759c514299017287dce4efba9dd171c6544d1e2bfb0a8b025cc1b8839eee6e
|
data/.github/FUNDING.yml
ADDED
data/.tool-versions
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby 2.
|
1
|
+
ruby 2.6.0
|
data/CHANGELOG.md
CHANGED
@@ -2,52 +2,58 @@
|
|
2
2
|
|
3
3
|
## NEXT (unreleased)
|
4
4
|
|
5
|
+
## 0.8.0
|
6
|
+
|
7
|
+
- #38 Deprecation warning on Rails 6.0.0.rc1. [@jaredmoody](https://github.com/jaredmoody)
|
8
|
+
|
5
9
|
## 0.7.0
|
6
10
|
|
7
|
-
|
8
|
-
|
11
|
+
- #34 Resolved issues on Rails 2. [@newmedio](https://github.com/newmedio)
|
12
|
+
- #34 Fixes class & 1099 issues. [@newmedio](https://github.com/newmedio)
|
9
13
|
|
10
14
|
## 0.6.0
|
11
15
|
|
12
|
-
|
16
|
+
- #10 Add option to pass an argument to `Riif.new`. [@ghiculescu](https://github.com/ghiculescu)
|
13
17
|
|
14
18
|
## 0.5.0
|
15
19
|
|
16
|
-
|
20
|
+
- #9 Implement TIMERHDR. [@ghiculescu](https://github.com/ghiculescu)
|
17
21
|
|
18
22
|
## 0.4.0
|
19
23
|
|
20
|
-
|
24
|
+
- #7 Add missing paymeth to transaction type. [@jphpsf](https://github.com/jphpsf)
|
21
25
|
|
22
26
|
## 0.3.0
|
23
27
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
28
|
+
- #6 by [@jphpsf](https://github.com/jphpsf)
|
29
|
+
- Shipping address (SADDR1 to SADDR5)
|
30
|
+
- Sales rep (rep)
|
31
|
+
- Invoice title and memo (INVTITLE and INVMEMO)
|
32
|
+
- Purchase order number (PONUM)
|
29
33
|
|
30
34
|
## 0.2.0
|
31
|
-
|
32
|
-
|
35
|
+
|
36
|
+
- #4 - Add support to customize filename
|
37
|
+
- #5 - Separate different lists into groups
|
33
38
|
|
34
39
|
## 0.1.0
|
35
|
-
|
40
|
+
|
41
|
+
- #2 - Implement Mixed document in one IIF file. (DSL had been changed)
|
36
42
|
|
37
43
|
## 0.0.1
|
38
|
-
* Implement OTHERNAME
|
39
|
-
* Implement TIMEACT
|
40
|
-
* Implement TERMS
|
41
|
-
* Implement VEND
|
42
|
-
* Implement VTYPE
|
43
|
-
* Implement SHIPMETH
|
44
|
-
* Implement PAYMETH
|
45
|
-
* Implement INVMEMO
|
46
|
-
* Implement INVITEM
|
47
|
-
* Implement CTYPE
|
48
|
-
* Implement CLASS
|
49
|
-
* Implement ACCNT
|
50
|
-
* Implement EMP
|
51
|
-
* Implement CUST
|
52
|
-
* Implement TRNS and SPL
|
53
44
|
|
45
|
+
- Implement OTHERNAME
|
46
|
+
- Implement TIMEACT
|
47
|
+
- Implement TERMS
|
48
|
+
- Implement VEND
|
49
|
+
- Implement VTYPE
|
50
|
+
- Implement SHIPMETH
|
51
|
+
- Implement PAYMETH
|
52
|
+
- Implement INVMEMO
|
53
|
+
- Implement INVITEM
|
54
|
+
- Implement CTYPE
|
55
|
+
- Implement CLASS
|
56
|
+
- Implement ACCNT
|
57
|
+
- Implement EMP
|
58
|
+
- Implement CUST
|
59
|
+
- Implement TRNS and SPL
|
data/README.md
CHANGED
@@ -167,7 +167,7 @@ au BufWinEnter,BufRead,BufNewFile *.riif set filetype=ruby
|
|
167
167
|
|
168
168
|
## Resources
|
169
169
|
|
170
|
-
[
|
170
|
+
[Export or import Intuit Interchange Format (.IIF) files](https://quickbooks.intuit.com/community/Reports-and-accounting/Export-or-import-Intuit-Interchange-Format-IIF-files/m-p/203229)
|
171
171
|
|
172
172
|
## Contributing
|
173
173
|
|
@@ -4,11 +4,13 @@ module Riif
|
|
4
4
|
cattr_accessor :default_format
|
5
5
|
self.default_format = Mime[:iif]
|
6
6
|
|
7
|
-
def self.call(template)
|
7
|
+
def self.call(template, source = nil)
|
8
|
+
source ||= template.source
|
9
|
+
|
8
10
|
<<-RUBY
|
9
11
|
iif = ::Riif::IIF.new
|
10
12
|
|
11
|
-
#{
|
13
|
+
#{source}
|
12
14
|
|
13
15
|
iif.output
|
14
16
|
RUBY
|
data/lib/riif/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riif
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jun Lin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -145,6 +145,7 @@ extensions: []
|
|
145
145
|
extra_rdoc_files: []
|
146
146
|
files:
|
147
147
|
- ".coveralls.yml"
|
148
|
+
- ".github/FUNDING.yml"
|
148
149
|
- ".gitignore"
|
149
150
|
- ".rspec"
|
150
151
|
- ".tool-versions"
|
@@ -244,8 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
245
|
- !ruby/object:Gem::Version
|
245
246
|
version: '0'
|
246
247
|
requirements: []
|
247
|
-
|
248
|
-
rubygems_version: 2.6.14
|
248
|
+
rubygems_version: 3.0.1
|
249
249
|
signing_key:
|
250
250
|
specification_version: 4
|
251
251
|
summary: A simple DSL to generate QuickBooks IIF file
|