riif 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/riif/dsl/trns.rb +1 -0
- data/lib/riif/version.rb +1 -1
- data/spec/fixtures/mixed.iif +1 -1
- data/spec/fixtures/rails/invoices.iif +1 -1
- data/spec/fixtures/trns.iif +2 -2
- metadata +29 -29
data/CHANGELOG.md
CHANGED
data/lib/riif/dsl/trns.rb
CHANGED
data/lib/riif/version.rb
CHANGED
data/spec/fixtures/mixed.iif
CHANGED
@@ -4,7 +4,7 @@ CUST Joker Amoy
|
|
4
4
|
!BUD ACCNT PERIOD AMOUNT STARTDATE CLASS CUSTOMER
|
5
5
|
BUD Accounts Receivable MONTH foo 3/14/12
|
6
6
|
BUD Accounts Payable MONTH 123 3/15/12
|
7
|
-
!TRNS TRNSID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR TOPRINT ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 SADDR1 SADDR2 SADDR3 SADDR4 SADDR5 DUEDATE TERMS PAID SHIPDATE REP PONUM INVTITLE INVMEMO
|
7
|
+
!TRNS TRNSID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR TOPRINT ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 SADDR1 SADDR2 SADDR3 SADDR4 SADDR5 DUEDATE TERMS PAID PAYMETH SHIPDATE REP PONUM INVTITLE INVMEMO
|
8
8
|
!SPL SPLID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR QNTY PRICE INVITEM PAYMETH TAXABLE REIMBEXP EXTRA
|
9
9
|
!ENDTRNS
|
10
10
|
TRNS foo
|
@@ -1,4 +1,4 @@
|
|
1
|
-
!TRNS TRNSID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR TOPRINT ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 SADDR1 SADDR2 SADDR3 SADDR4 SADDR5 DUEDATE TERMS PAID SHIPDATE REP PONUM INVTITLE INVMEMO
|
1
|
+
!TRNS TRNSID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR TOPRINT ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 SADDR1 SADDR2 SADDR3 SADDR4 SADDR5 DUEDATE TERMS PAID PAYMETH SHIPDATE REP PONUM INVTITLE INVMEMO
|
2
2
|
!SPL SPLID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR QNTY PRICE INVITEM PAYMETH TAXABLE REIMBEXP EXTRA
|
3
3
|
!ENDTRNS
|
4
4
|
TRNS 12345 BILL 3/14/1984 Accounts Payable EZ -300 12345 N
|
data/spec/fixtures/trns.iif
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
!TRNS TRNSID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR TOPRINT ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 SADDR1 SADDR2 SADDR3 SADDR4 SADDR5 DUEDATE TERMS PAID SHIPDATE REP PONUM INVTITLE INVMEMO
|
1
|
+
!TRNS TRNSID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR TOPRINT ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 SADDR1 SADDR2 SADDR3 SADDR4 SADDR5 DUEDATE TERMS PAID PAYMETH SHIPDATE REP PONUM INVTITLE INVMEMO
|
2
2
|
!SPL SPLID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR QNTY PRICE INVITEM PAYMETH TAXABLE REIMBEXP EXTRA
|
3
3
|
!ENDTRNS
|
4
|
-
TRNS 123 INVOICE 8/31/1988 Accounts Receivable Customer 20 1 N N Baker Customer Watson Recipient
|
4
|
+
TRNS 123 INVOICE 8/31/1988 Accounts Receivable Customer 20 1 N N Baker Customer Watson Recipient BOB
|
5
5
|
SPL 777 INVOICE 8/31/1988 Income Account -20 N -2 10 Sales Item N
|
6
6
|
SPL 888
|
7
7
|
ENDTRNS
|
metadata
CHANGED
@@ -1,123 +1,123 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riif
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.0
|
4
5
|
prerelease:
|
5
|
-
version: 0.3.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jun Lin
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
type: :development
|
16
|
-
version_requirements: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
15
|
name: pry
|
23
|
-
prerelease: false
|
24
16
|
requirement: !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
18
|
requirements:
|
27
19
|
- - ! '>='
|
28
20
|
- !ruby/object:Gem::Version
|
29
21
|
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
22
|
type: :development
|
23
|
+
prerelease: false
|
32
24
|
version_requirements: !ruby/object:Gem::Requirement
|
33
25
|
none: false
|
34
26
|
requirements:
|
35
27
|
- - ! '>='
|
36
28
|
- !ruby/object:Gem::Version
|
37
29
|
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
38
31
|
name: rails
|
39
|
-
prerelease: false
|
40
32
|
requirement: !ruby/object:Gem::Requirement
|
41
33
|
none: false
|
42
34
|
requirements:
|
43
35
|
- - ! '>='
|
44
36
|
- !ruby/object:Gem::Version
|
45
37
|
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
38
|
type: :development
|
39
|
+
prerelease: false
|
48
40
|
version_requirements: !ruby/object:Gem::Requirement
|
49
41
|
none: false
|
50
42
|
requirements:
|
51
43
|
- - ! '>='
|
52
44
|
- !ruby/object:Gem::Version
|
53
45
|
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
54
47
|
name: rspec
|
55
|
-
prerelease: false
|
56
48
|
requirement: !ruby/object:Gem::Requirement
|
57
49
|
none: false
|
58
50
|
requirements:
|
59
51
|
- - ! '>='
|
60
52
|
- !ruby/object:Gem::Version
|
61
53
|
version: '0'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
54
|
type: :development
|
55
|
+
prerelease: false
|
64
56
|
version_requirements: !ruby/object:Gem::Requirement
|
65
57
|
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
70
63
|
name: rspec-rails
|
71
|
-
prerelease: false
|
72
64
|
requirement: !ruby/object:Gem::Requirement
|
73
65
|
none: false
|
74
66
|
requirements:
|
75
67
|
- - ! '>='
|
76
68
|
- !ruby/object:Gem::Version
|
77
69
|
version: '0'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
70
|
type: :development
|
71
|
+
prerelease: false
|
80
72
|
version_requirements: !ruby/object:Gem::Requirement
|
81
73
|
none: false
|
82
74
|
requirements:
|
83
75
|
- - ! '>='
|
84
76
|
- !ruby/object:Gem::Version
|
85
77
|
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
86
79
|
name: awesome_print
|
87
|
-
prerelease: false
|
88
80
|
requirement: !ruby/object:Gem::Requirement
|
89
81
|
none: false
|
90
82
|
requirements:
|
91
83
|
- - ! '>='
|
92
84
|
- !ruby/object:Gem::Version
|
93
85
|
version: '0'
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
86
|
type: :development
|
87
|
+
prerelease: false
|
96
88
|
version_requirements: !ruby/object:Gem::Requirement
|
97
89
|
none: false
|
98
90
|
requirements:
|
99
|
-
- -
|
91
|
+
- - ! '>='
|
100
92
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
102
95
|
name: combustion
|
103
|
-
prerelease: false
|
104
96
|
requirement: !ruby/object:Gem::Requirement
|
105
97
|
none: false
|
106
98
|
requirements:
|
107
99
|
- - ~>
|
108
100
|
- !ruby/object:Gem::Version
|
109
101
|
version: 0.3.1
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
102
|
type: :development
|
103
|
+
prerelease: false
|
112
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.3.1
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: fuubar
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
113
|
none: false
|
114
114
|
requirements:
|
115
115
|
- - ! '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
|
-
|
118
|
+
type: :development
|
119
119
|
prerelease: false
|
120
|
-
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
none: false
|
122
122
|
requirements:
|
123
123
|
- - ! '>='
|
@@ -219,19 +219,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
219
219
|
requirements:
|
220
220
|
- - ! '>='
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
222
223
|
segments:
|
223
224
|
- 0
|
224
|
-
hash:
|
225
|
-
version: '0'
|
225
|
+
hash: -1928803554965971745
|
226
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
227
|
none: false
|
228
228
|
requirements:
|
229
229
|
- - ! '>='
|
230
230
|
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
231
232
|
segments:
|
232
233
|
- 0
|
233
|
-
hash:
|
234
|
-
version: '0'
|
234
|
+
hash: -1928803554965971745
|
235
235
|
requirements: []
|
236
236
|
rubyforge_project:
|
237
237
|
rubygems_version: 1.8.23
|