qb_iif 0.1.1 → 0.1.2

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: 3c21d3e7bf0ce16d4029b99d9710affbb8910611
4
- data.tar.gz: 54f80b039098c2973eb22d4836f0e7cead3b8eb8
3
+ metadata.gz: f6900351091a246506e89c4865c6cdce46018569
4
+ data.tar.gz: 33ebe4c5c0de4518cd6e858566c315c5c3c77b3b
5
5
  SHA512:
6
- metadata.gz: dbada754db515d83ee805ae1061c83804bfd423fe7c3368f7914159eb98e65caa08dd3e1c09d06c247997d08216e91ad3757b8fedda0a383e246baf6907e665d
7
- data.tar.gz: ec6dd1c216c688acf2bda5cc8da08e7363af4537765a5715d650a93a1ce890bcd4ff78ec6d195cdf4f9c3ce0aea506143476472d8f17a5d97ab0261521fc7a8f
6
+ metadata.gz: a263a896f44f2050631b0b49e2c9482dc59ec916ba08d170ec8f4bca90663699bac88515e012734f414ca2b1033b0c85a577d9f2ed8c2ed1ab1a0534afa8f87a
7
+ data.tar.gz: c659baa140434304b67d624064c6fc5543842d610887ef07597507616bb2c00e9c26e13a425160d3ebf5f71032e0920a8c7dd85a6e01ec8062b19396fcfc58bd
@@ -1,5 +1,9 @@
1
+ ## 0.1.2
2
+ Add the extra new line into the end of exported data.
3
+
1
4
  ## 0.1.1
2
- * Removed the dependence upon the CSV library in order to fix a bug about duplicate double quote characters.
5
+ Removed the dependence upon the CSV library in order to fix a bug about duplicate double quote characters.
6
+
3
7
  ## 0.1.0
4
8
  * Implement OTHERNAME
5
9
  * Implement TIMEACT
@@ -42,6 +42,7 @@ module QbIif
42
42
  values[:headers].uniq.each{|header| lines << header.join(COL_SEP) }
43
43
  values[:rows].each{|row| lines << row.join(COL_SEP) }
44
44
  end
45
+ lines << ''
45
46
  lines.join("\n")
46
47
  end
47
48
 
@@ -1,3 +1,3 @@
1
1
  module QbIif
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -1,2 +1,2 @@
1
1
  !ACCNT NAME ACCNTTYPE OBAMOUNT DESC SCD ACCNUM EXTRA
2
- ACCNT Jun Lin AR 47
2
+ ACCNT Jun Lin AR 47
@@ -1,2 +1,2 @@
1
1
  !BUD ACCNT PERIOD AMOUNT STARTDATE CLASS CUSTOMER
2
- BUD Accounts Receivable MONTH foo 3/14/12
2
+ BUD Accounts Receivable MONTH foo 3/14/12
@@ -1,2 +1,2 @@
1
1
  !CLASS NAME
2
- CLASS Foo
2
+ CLASS Foo
@@ -1,2 +1,2 @@
1
1
  !CTYPE NAME
2
- CTYPE Bar
2
+ CTYPE Bar
@@ -1,2 +1,2 @@
1
1
  !CUST NAME BADDR1 BADDR2 BADDR3 BADDR4 BADDR5 SADDR1 SADDR2 SADDR3 SADDR4 SADDR5 PHONE1 PHONE2 FAXNUM CONT1 CONT2 CTYPE TERMS TAXABLE LIMIT RESALENUM REP TAXITEM NOTEPAD SALUTATION COMPANYNAME FIRSTNAME MIDINIT LASTNAME CUSTFLD1 CUSTFLD2 CUSTFLD3 CUSTFLD4 CUSTFLD5 CUSTFLD6 CUSTFLD7 JOBDESC JOBTYPE JOBSTATUS JOBSTART JOBPROJEND JOBEND NOTE
2
- CUST Jun Lin 12312323242
2
+ CUST Jun Lin 12312323242
@@ -1,2 +1,2 @@
1
1
  !EMP NAME INIT ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 SSNO PHONE1 PHONE2 NOTEPAD FIRSTNAME MIDINIT LASTNAME SALUTATION CUSTFLD1 CUSTFLD2 CUSTFLD3 CUSTFLD4 CUSTFLD5 CUSTFLD6 CUSTFLD7 NOTE
2
- EMP Alfred Master Backer 37 Doctor
2
+ EMP Alfred Master Backer 37 Doctor
@@ -1,2 +1,2 @@
1
1
  !INVITEM NAME INVITEMTYPE DESC PURCHASEDESC ACCNT ASSETACCNT COGSACCNT PRICE COST TAXABLE PAYMETH TAXVEND TAXDIST TOPRINT PREFVEND REORDERPOINT EXTRA CUSTFLD1 CUSTFLD2 CUSTFLD3 CUSTFLD4 CUSTFLD5 DEP_TYPE ISPASSEDTHRU
2
- INVITEM invitem 1 INVENTORY 1
2
+ INVITEM invitem 1 INVENTORY 1
@@ -1,2 +1,2 @@
1
1
  !INVMEMO NAME
2
- INVMEMO invmemo 1
2
+ INVMEMO invmemo 1
@@ -10,4 +10,4 @@ BUD Accounts Payable MONTH 123 3/15/12
10
10
  TRNS foo
11
11
  SPL joker
12
12
  SPL foobar
13
- ENDTRNS
13
+ ENDTRNS
@@ -1,2 +1,2 @@
1
1
  !OTHERNAME NAME BADDR1 BADDR2 BADDR3 BADDR4 BADDR5 PHONE1 PHONE2 FAXNUM CONT1 NOTEPAD SALUTATION COMPANYNAME FIRSTNAME MIDINIT LASTNAME NOTE
2
- OTHERNAME Alfred Backer 37 123
2
+ OTHERNAME Alfred Backer 37 123
@@ -1,2 +1,2 @@
1
1
  !PAYMETH NAME
2
- PAYMETH paymeth 1
2
+ PAYMETH paymeth 1
@@ -3,4 +3,4 @@
3
3
  !ENDTRNS
4
4
  TRNS 12345 BILL 3/14/1984 Accounts Payable EZ -300 12345 N
5
5
  SPL 1 BILL 3/14/1984 Payable CMA 300 foo 3 150 Base Rate
6
- ENDTRNS
6
+ ENDTRNS
@@ -1,2 +1,2 @@
1
1
  !SHIPMETH NAME
2
- SHIPMETH shipmeth 1
2
+ SHIPMETH shipmeth 1
@@ -1,2 +1,2 @@
1
1
  !TERMS NAME DUEDAYS DISCPER DISCDAYS TERMSTYPE
2
- TERMS terms 1 10 0.3 1 0
2
+ TERMS terms 1 10 0.3 1 0
@@ -1,4 +1,4 @@
1
1
  !TIMERHDR VER REL COMPANYNAME IMPORTEDBEFORE FROMTIMER COMPANYCREATETIME
2
2
  TIMERHDR 8 0 Import Test Company N Y 1208544781
3
3
  !TIMEACT DATE JOB EMP ITEM PITEM DURATION PROJ NOTE BILLINGSTATUS
4
- TIMEACT 06/21/97 job 1 Jun item 1 13:40 klass 1 0
4
+ TIMEACT 06/21/97 job 1 Jun item 1 13:40 klass 1 0
@@ -1,2 +1,2 @@
1
1
  !TODO REFNUM ISDONE DATE DESC
2
- TODO 1234234 Y 7/11/2013 Pickup
2
+ TODO 1234234 Y 7/11/2013 Pickup
@@ -4,4 +4,4 @@
4
4
  TRNS 123 INVOICE 8/31/1988 Accounts Receivable Customer "HSBC" tires:deeptread 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
- ENDTRNS
7
+ ENDTRNS
@@ -1,2 +1,2 @@
1
1
  !VEND NAME PRINTAS ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 VTYPE CONT1 PHONE1 PHONE2 FAXNUM NOTE TAXID LIMIT TERMS NOTEPAD SALUTATION COMPANYNAME FIRSTNAME MIDINIT LASTNAME CUSTFLD1 CUSTFLD2 CUSTFLD3 CUSTFLD4 CUSTFLD5 CUSTFLD6 CUSTFLD7 1099 NOTE
2
- VEND Jun Lin 12312323242 Y
2
+ VEND Jun Lin 12312323242 Y
@@ -1,2 +1,2 @@
1
1
  !VTYPE NAME
2
- VTYPE vtype 1
2
+ VTYPE vtype 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qb_iif
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pracstrat